Source code

Revision control

Copy as Markdown

Other Tools

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# Adding a new metric? We have docs for that!
---
$schema: moz://mozilla.org/schemas/glean/metrics/2-0-0
$tags:
- 'Core :: DOM: Credential Management'
- 'Firefox :: Site Identity'
trustpanel:
opened:
type: event
description: |
Event to record opens of the Trust Panel.
bugs: &trustpanel_bugs
- https://bugzil.la/2024187
data_reviews: &trustpanel_data_reviews
- https://bugzil.la/2024187
notification_emails: &trustpanel_emails
- tcinotto@mozilla.com
- monitor-ops@mozilla.com
expires: never
extra_keys:
trackers_blocked:
description: >
Whether any trackers were blocked on the page the Trust Panel was opened on.
(Which implies that the number of blocked trackers was shown next to the shield icon.)
type: boolean
breach_status:
description: >
Whether and what type of breach alert was shown.
type: string
breach_alert_dismissed:
type: event
description: |
Event to record when a breach alert is dismissed.
bugs: *trustpanel_bugs
data_reviews: *trustpanel_data_reviews
notification_emails: *trustpanel_emails
expires: never
extra_keys:
breach_status:
description: >
What type of breach alert was dismissed.
type: string
breach_alert_discovered_monitor:
type: event
description: |
Event to record when a user who does not use Monitor yet, nor uses the Credential Manager, decides to open Monitor.
bugs: *trustpanel_bugs
data_reviews: *trustpanel_data_reviews
notification_emails: *trustpanel_emails
expires: never
tracker_count_shown:
type: event
description: |
Event recorded each time the tracker count becomes visible in the URL bar (once per navigation to another hostname).
bugs: *trustpanel_bugs
data_reviews: *trustpanel_data_reviews
notification_emails: *trustpanel_emails
expires: never
extra_keys:
first_site_load_in_tab:
description: >
Whether this is the first page of a site that the user's visiting
(triggering the full longform animation), vs. a subsequent navigation
showing only the shortform count animation.
type: boolean
first_visit:
description: >
Whether this is the user's first visit to the site vs. a return visit.
This used to be the trigger for the full longform animation, and is
preserved to be able to compare historically.
type: boolean
breach_alert_shield_animated:
type: event
description: |
Event to record when the shield icon animates to indicate a breach alert.
bugs: *trustpanel_bugs
data_reviews: *trustpanel_data_reviews
notification_emails: *trustpanel_emails
expires: never
extra_keys:
breach_status:
description: >
What type of breach alert triggered the animation.
type: string