commit 2881e98f06bd41f39e31714fbaa3ee0aedc5feb6
parent 5b8d02671b260e7002a1904432c588a67533c9b9
Author: Maxx Crawford <mcrawford@mozilla.com>
Date: Mon, 8 Dec 2025 17:27:29 +0000
Bug 2004472 - Update runtime metrics for Firefox 146 train-hop r=home-newtab-reviewers,mconley
Differential Revision: https://phabricator.services.mozilla.com/D275489
Diffstat:
3 files changed, 72 insertions(+), 14 deletions(-)
diff --git a/browser/extensions/newtab/webext-glue/metrics/runtime-metrics-145.json b/browser/extensions/newtab/webext-glue/metrics/runtime-metrics-145.json
@@ -1,14 +0,0 @@
-{
- "metrics": {
- "newtab": {
- "highlights_enabled": {
- "description": "Whether \"highlights\" is enabled on the newtab. AKA the \"Recent Activity\" section. Corresponds to the value of the `browser.newtabpage.activity-stream.feeds.section.highlights` pref.\n",
- "disabled": false,
- "lifetime": "application",
- "pings": ["newtab"],
- "type": "boolean"
- }
- }
- },
- "pings": {}
-}
diff --git a/browser/extensions/newtab/webext-glue/metrics/runtime-metrics-146.json b/browser/extensions/newtab/webext-glue/metrics/runtime-metrics-146.json
@@ -0,0 +1,68 @@
+{
+ "metrics": {
+ "newtab_content": {
+ "top_sites_click": {
+ "description": "Recorded when a top sites tile is clicked.\n",
+ "disabled": false,
+ "extraArgs": {
+ "allowed_extra_keys": [
+ "advertiser_name",
+ "frecency_boosted",
+ "frecency_boosted_has_exposure",
+ "is_sponsored",
+ "position",
+ "tile_id",
+ "visible_topsites"
+ ]
+ },
+ "lifetime": "ping",
+ "pings": ["newtab-content"],
+ "type": "event"
+ },
+ "top_sites_dismiss": {
+ "description": "Recorded when the \"Dismiss\" menu item in the three-dots menu of a topsite is clicked.\n",
+ "disabled": false,
+ "extraArgs": {
+ "allowed_extra_keys": [
+ "advertiser_name",
+ "is_sponsored",
+ "position",
+ "tile_id"
+ ]
+ },
+ "lifetime": "ping",
+ "pings": ["newtab-content"],
+ "type": "event"
+ },
+ "top_sites_impression": {
+ "description": "Recorded when a top sites tile is visible to the user.\n",
+ "disabled": false,
+ "extraArgs": {
+ "allowed_extra_keys": [
+ "advertiser_name",
+ "frecency_boosted",
+ "frecency_boosted_has_exposure",
+ "is_sponsored",
+ "position",
+ "tile_id",
+ "visible_topsites"
+ ]
+ },
+ "lifetime": "ping",
+ "pings": ["newtab-content"],
+ "type": "event"
+ },
+ "top_sites_show_privacy_click": {
+ "description": "Recorded when the \"Our sponsors & your privacy\" menu item in the three-dots menu of a topsite is clicked.\n",
+ "disabled": false,
+ "extraArgs": {
+ "allowed_extra_keys": ["advertiser_name", "position", "tile_id"]
+ },
+ "lifetime": "ping",
+ "pings": ["newtab-content"],
+ "type": "event"
+ }
+ }
+ },
+ "pings": {}
+}
diff --git a/browser/extensions/newtab/webext-glue/metrics/runtime-metrics-147.json b/browser/extensions/newtab/webext-glue/metrics/runtime-metrics-147.json
@@ -0,0 +1,4 @@
+{
+ "metrics": {},
+ "pings": {}
+}