1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this
3 # file, You can obtain one at https://mozilla.org/MPL/2.0/.
5 # Adding a new metric? We have docs for that!
6 # https://firefox-source-docs.mozilla.org/toolkit/components/glean/user/new_definitions_file.html
8 $schema: moz://mozilla.org/schemas/glean/metrics/2-0-0
10 - "Core :: Privacy: Anti-Tracking"
12 # Puzzle = Type of captcha that asks the user to solve a challenge, like selecting all images with traffic lights.
13 # Challange = Any type of captcha that is not a puzzle. Captchas that depend on browser fingerprint, IP address trust score and etc. are considered challenges.
14 # Captcha = A generic term for puzzles and challenges.
15 # Do note that many puzzle based captchas are also challenges, as they also factor in the user's browser fingerprint, IP address trust score and etc.
17 # We use some abbreviations in some metric names.
18 # Puzzle related: pc = puzzle completed, pf = puzzle failed, ac = auto completed, ps = puzzle shown
19 # Challenge related: cc = challenge completed, cf = challenge failed
20 # General: PBM = Private Browsing Mode, bl = blocked
23 # Captcha states in normal browsing
24 google_recaptcha_v2_ps:
27 Number of times the user has seen a Google reCAPTCHA v2 puzzle since last ping submission.
29 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
31 - https://phabricator.services.mozilla.com/D226021#7994299
40 google_recaptcha_v2_pc:
43 Number of times the user completed a Google reCAPTCHA v2 puzzle since last ping submission.
45 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
47 - https://phabricator.services.mozilla.com/D226021#7994299
56 google_recaptcha_v2_ac:
59 Number of times the user completed a Google reCAPTCHA v2 challenge automatically since last ping submission.
61 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
63 - https://phabricator.services.mozilla.com/D226021#7994299
72 cloudflare_turnstile_cc:
75 Number of times the Cloudflare Turnstile challenge was successfully completed since last ping submission.
77 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
79 - https://phabricator.services.mozilla.com/D226021#7994299
88 cloudflare_turnstile_cf:
91 Number of times the Cloudflare Turnstile challenge was failed since last ping submission.
93 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
95 - https://phabricator.services.mozilla.com/D226021#7994299
104 # Datadome uses interstitials to block access to the website.
105 # So it is enough to count the number of times the puzzle was shown.
109 The number of times the Datadome puzzle was shown.
111 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
113 - https://phabricator.services.mozilla.com/D226021#7994299
115 - tritter@mozilla.com
125 How many times the Datadome blocked a user.
127 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
129 - https://phabricator.services.mozilla.com/D226021#7994299
131 - tritter@mozilla.com
141 How many times the user passed a Datadome puzzle.
143 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
145 - https://phabricator.services.mozilla.com/D226021#7994299
147 - tritter@mozilla.com
157 Number of times the hCaptcha puzzle was shown.
159 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
161 - https://phabricator.services.mozilla.com/D226021#7994299
163 - tritter@mozilla.com
173 Number of times the user completed an hCaptcha puzzle.
175 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
177 - https://phabricator.services.mozilla.com/D226021#7994299
179 - tritter@mozilla.com
189 Number of times the user completed an hCaptcha challenge automatically.
191 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
193 - https://phabricator.services.mozilla.com/D226021#7994299
195 - tritter@mozilla.com
205 How many times the AWS WAF challenge was shown.
207 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
209 - https://phabricator.services.mozilla.com/D226021#7994299
211 - tritter@mozilla.com
221 How many times the AWS WAF challenge was successfully completed.
223 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
225 - https://phabricator.services.mozilla.com/D226021#7994299
227 - tritter@mozilla.com
237 How many times the AWS WAF challenge was failed.
239 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
241 - https://phabricator.services.mozilla.com/D226021#7994299
243 - tritter@mozilla.com
250 awswaf_solutions_required:
251 type: custom_distribution
253 range_max: 25 # I really hope AWS WAF doesn't require more than 25 solutions or no one tries to solve it
255 histogram_type: linear
257 The number of solutions required to complete the AWS WAF challenge.
259 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
261 - https://phabricator.services.mozilla.com/D226021#7994299
263 - tritter@mozilla.com
273 How many times the ArkoseLabs challenge was shown.
275 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
277 - https://phabricator.services.mozilla.com/D226021#7994299
279 - tritter@mozilla.com
289 How many times the ArkoseLabs challenge was successfully completed.
291 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
293 - https://phabricator.services.mozilla.com/D226021#7994299
295 - tritter@mozilla.com
305 How many times the ArkoseLabs challenge was failed.
307 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
309 - https://phabricator.services.mozilla.com/D226021#7994299
311 - tritter@mozilla.com
318 arkoselabs_solutions_required:
319 type: custom_distribution
321 range_max: 25 # I really hope it doesn't require more than 25 solutions or no one tries to solve it
323 histogram_type: linear
325 The number of solutions required to complete the ArkoseLabs challenge.
327 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
329 - https://phabricator.services.mozilla.com/D226021#7994299
331 - tritter@mozilla.com
338 # Captcha states in private browsing
339 google_recaptcha_v2_ps_pbm:
342 Number of times the user has seen a Google reCAPTCHA v2 puzzle since last ping submission.
344 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
346 - https://phabricator.services.mozilla.com/D226021#7994299
348 - tritter@mozilla.com
355 google_recaptcha_v2_pc_pbm:
358 Number of times the user completed a Google reCAPTCHA v2 puzzle since last ping submission.
360 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
362 - https://phabricator.services.mozilla.com/D226021#7994299
364 - tritter@mozilla.com
371 google_recaptcha_v2_ac_pbm:
374 Number of times the user completed a Google reCAPTCHA v2 challenge automatically since last ping submission.
376 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
378 - https://phabricator.services.mozilla.com/D226021#7994299
380 - tritter@mozilla.com
387 cloudflare_turnstile_cc_pbm:
390 Number of times the Cloudflare Turnstile challenge was successfully completed since last ping submission.
392 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
394 - https://phabricator.services.mozilla.com/D226021#7994299
396 - tritter@mozilla.com
403 cloudflare_turnstile_cf_pbm:
406 Number of times the Cloudflare Turnstile challenge was failed since last ping submission.
408 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
410 - https://phabricator.services.mozilla.com/D226021#7994299
412 - tritter@mozilla.com
422 The number of times the Datadome puzzle was shown.
424 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
426 - https://phabricator.services.mozilla.com/D226021#7994299
428 - tritter@mozilla.com
438 How many times the Datadome blocked a user.
440 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
442 - https://phabricator.services.mozilla.com/D226021#7994299
444 - tritter@mozilla.com
454 How many times the user completed a Datadome puzzle.
456 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
458 - https://phabricator.services.mozilla.com/D226021#7994299
460 - tritter@mozilla.com
470 Number of times the hCaptcha puzzle was shown.
472 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
474 - https://phabricator.services.mozilla.com/D226021#7994299
476 - tritter@mozilla.com
486 Number of times the user completed an hCaptcha puzzle.
488 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
490 - https://phabricator.services.mozilla.com/D226021#7994299
492 - tritter@mozilla.com
502 Number of times the user completed an hCaptcha challenge automatically.
504 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
506 - https://phabricator.services.mozilla.com/D226021#7994299
508 - tritter@mozilla.com
518 How many times the AWS WAF challenge was shown.
520 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
522 - https://phabricator.services.mozilla.com/D226021#7994299
524 - tritter@mozilla.com
534 How many times the AWS WAF challenge was successfully completed.
536 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
538 - https://phabricator.services.mozilla.com/D226021#7994299
540 - tritter@mozilla.com
550 How many times the AWS WAF challenge was failed.
552 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
554 - https://phabricator.services.mozilla.com/D226021#7994299
556 - tritter@mozilla.com
563 awswaf_solutions_required_pbm:
564 type: custom_distribution
566 range_max: 25 # I really hope AWS WAF doesn't require more than 25 solutions or no one tries to solve it
568 histogram_type: linear
570 The number of solutions required to complete the AWS WAF challenge.
572 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
574 - https://phabricator.services.mozilla.com/D226021#7994299
576 - tritter@mozilla.com
586 How many times the ArkoseLabs challenge was shown.
588 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
590 - https://phabricator.services.mozilla.com/D226021#7994299
592 - tritter@mozilla.com
602 How many times the ArkoseLabs challenge was successfully completed.
604 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
606 - https://phabricator.services.mozilla.com/D226021#7994299
608 - tritter@mozilla.com
618 How many times the ArkoseLabs challenge was failed.
620 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
622 - https://phabricator.services.mozilla.com/D226021#7994299
624 - tritter@mozilla.com
631 arkoselabs_solutions_required_pbm:
632 type: custom_distribution
634 range_max: 25 # I really hope it doesn't require more than 25 solutions or no one tries to solve it
636 histogram_type: linear
638 The number of solutions required to complete the ArkoseLabs challenge.
640 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
642 - https://phabricator.services.mozilla.com/D226021#7994299
644 - tritter@mozilla.com
651 # Privacy settings in normal browsing at the time of the ping
652 network_cookie_cookiebehavior:
655 The user's cookie behavior setting at the time of data collection.
657 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
659 - https://phabricator.services.mozilla.com/D226021#7994299
661 - tritter@mozilla.com
668 privacy_trackingprotection_enabled:
671 Whether the user has enabled tracking protection at the time of data collection.
673 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
675 - https://phabricator.services.mozilla.com/D226021#7994299
677 - tritter@mozilla.com
684 privacy_trackingprotection_cryptomining_enabled:
687 Whether the user has enabled cryptomining protection at the time of data collection.
689 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
691 - https://phabricator.services.mozilla.com/D226021#7994299
693 - tritter@mozilla.com
700 privacy_trackingprotection_fingerprinting_enabled:
703 Whether the user has enabled known fingerprinters protection at the time of data collection.
705 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
707 - https://phabricator.services.mozilla.com/D226021#7994299
709 - tritter@mozilla.com
716 privacy_fingerprintingprotection:
719 Whether the user has enabled suspected fingerprinters protection at the time of data collection.
721 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
723 - https://phabricator.services.mozilla.com/D226021#7994299
725 - tritter@mozilla.com
732 network_cookie_cookiebehavior_optinpartitioning:
735 Whether the user has enabled cookie partitioning at the time of data collection.
737 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
739 - https://phabricator.services.mozilla.com/D226021#7994299
741 - tritter@mozilla.com
748 privacy_resistfingerprinting:
751 Whether the user has enabled resist fingerprinting at the time of data collection.
753 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
755 - https://phabricator.services.mozilla.com/D226021#7994299
757 - tritter@mozilla.com
764 # Privacy settings in private browsing at the time of the ping
765 privacy_trackingprotection_pbm_enabled:
768 Whether the user has enabled tracking protection in PBM at the time of data collection.
770 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
772 - https://phabricator.services.mozilla.com/D226021#7994299
774 - tritter@mozilla.com
781 privacy_fingerprintingprotection_pbm:
784 Whether the user has enabled suspected fingerprinters protection in PBM at the time of data collection.
786 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
788 - https://phabricator.services.mozilla.com/D226021#7994299
790 - tritter@mozilla.com
797 network_cookie_cookiebehavior_optinpartitioning_pbm:
800 Whether the user has enabled cookie partioning in PBM at the time of data collection.
802 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
804 - https://phabricator.services.mozilla.com/D226021#7994299
806 - tritter@mozilla.com
813 privacy_resistfingerprinting_pbmode:
816 Whether the user has enabled resist fingerprinting in PBM at the time of data collection.
818 - https://bugzilla.mozilla.org/show_bug.cgi?id=1913421
820 - https://phabricator.services.mozilla.com/D226021#7994299
822 - tritter@mozilla.com