firefox-ios icon indicating copy to clipboard operation
firefox-ios copied to clipboard

[Telemetry Audit] Move enhanced tracking protection probes to their own tracking_protection_menu.yaml file

Open data-sync-user opened this issue 6 months ago • 0 comments

The Task

This task is to move the tracking protection probes out of the monolithic metrics.yaml file and into their own YAML file with a TrackingProtection tag.

You can use the FirefoxTelemetryUtility.sh script to create a new tracking_protection.yaml file.

More instructions on using the script can be found in our wiki: https://github.com/mozilla-mobile/firefox-ios/wiki/Adding-Glean-Telemetry-Events-and-Metrics#a-update-the-telemetry-specification-yaml-files

You can look up these probes in the Glean dictionary as well: https://dictionary.telemetry.mozilla.org/apps/firefox_ios

Probes to Move

  • tracking_protection.dismiss_etp_panel
  • tracking_protection.enabled
  • tracking_protection.etp_setting_changed
  • tracking_protection.show_certificates
  • tracking_protection.show_clear_cookies_alert
  • tracking_protection.show_etp_blocked_trackers_details
  • tracking_protection.show_etp_details
  • tracking_protection.show_etp_settings
  • tracking_protection.strength
  • tracking_protection.tapped_clear_cookies

Note: The TrackingProtection tag will be automatically applied at the top of your new tracking_protection.yaml file created with the FirefoxTelemetryUtility.sh script.

You will need to add the TrackingProtection tag to the tags.yaml file. Please preserve alphabetical ordering. The description you can use is as follows: Corresponds to the enhanced tracking protection bottom sheet which can be displayed over a webpage.

Example

You can see an example of this type of work in the following PR: https://github.com/mozilla-mobile/firefox-ios/pull/27083

:information_source: Reference Person

@ih-codes

┆Issue is synchronized with this Jira Task

data-sync-user avatar Jun 13 '25 18:06 data-sync-user