diff --git a/browser/components/attribution/AttributionCode.jsm b/browser/components/attribution/AttributionCode.jsm index a5241d8af481..59fe86920f09 100644 --- a/browser/components/attribution/AttributionCode.jsm +++ b/browser/components/attribution/AttributionCode.jsm @@ -50,6 +50,7 @@ const ATTR_CODE_KEYS = [ "experiment", "variation", "ua", + "dltoken", ]; let gCachedAttrData = null; diff --git a/browser/components/attribution/test/xpcshell/head.js b/browser/components/attribution/test/xpcshell/head.js index d8545756aaf3..2e6c46e72266 100644 --- a/browser/components/attribution/test/xpcshell/head.js +++ b/browser/components/attribution/test/xpcshell/head.js @@ -48,6 +48,10 @@ let validAttrCodes = [ code: "ua%3DGoogle%20Chrome%20123", parsed: { ua: "Google%20Chrome%20123" }, }, + { + code: "dltoken%3Dc18f86a3-f228-4d98-91bb-f90135c0aa9c", + parsed: { dltoken: "c18f86a3-f228-4d98-91bb-f90135c0aa9c" }, + }, ]; let invalidAttrCodes = [ diff --git a/browser/components/newtab/content-src/components/ASRouterAdmin/ASRouterAdmin.jsx b/browser/components/newtab/content-src/components/ASRouterAdmin/ASRouterAdmin.jsx index 8ca459c56a5b..e0d8e45cc0b1 100644 --- a/browser/components/newtab/content-src/components/ASRouterAdmin/ASRouterAdmin.jsx +++ b/browser/components/newtab/content-src/components/ASRouterAdmin/ASRouterAdmin.jsx @@ -527,6 +527,7 @@ export class ASRouterAdminInner extends React.PureComponent { experiment: "ua-onboarding", variation: "chrome", ua: "Google Chrome 123", + dltoken: "00000000-0000-0000-0000-000000000000", }, }; } @@ -1565,6 +1566,21 @@ export class ASRouterAdminInner extends React.PureComponent { />{" "} + + + Download Token + + + {" "} + {" "} + + {" "} diff --git a/toolkit/components/telemetry/docs/data/environment.rst b/toolkit/components/telemetry/docs/data/environment.rst index 0f032530119f..7827582f7eed 100644 --- a/toolkit/components/telemetry/docs/data/environment.rst +++ b/toolkit/components/telemetry/docs/data/environment.rst @@ -83,6 +83,7 @@ Structure: variation: , // name/id of the variation cohort used in the enrolled funnel experiment experiment: , // name/id of the enrolled funnel experiment ua: , // identifier derived from the user agent downloading the installer, e.g., chrome, Google Chrome 123 + dltoken: , // Unique token created at Firefox download time. ex: c18f86a3-f228-4d98-91bb-f90135c0aa9c }, sandbox: { effectiveContentProcessLevel: ,