Bug 1875483 - Remove locale and change app version to only report its major app version - r=scunnane

Differential Revision: https://phabricator.services.mozilla.com/D199103
This commit is contained in:
James Teow
2024-01-23 14:02:57 +00:00
parent 61332bd880
commit 08822f7135
10 changed files with 50 additions and 80 deletions

View File

@@ -546,9 +546,8 @@ class TelemetryHandler {
count: 1,
source,
newtabSessionId,
appVersion: Services.appinfo.version,
majorVersion: parseInt(Services.appinfo.version),
channel: lazy.SearchUtils.MODIFIED_APP_CHANNEL,
locale: Services.locale.appLocaleAsBCP47,
region: lazy.Region.home,
});
}
@@ -1578,9 +1577,8 @@ class ContentHandler {
let impressionInfo = telemetryState.impressionInfo;
SERPCategorizationRecorder.recordCategorizationTelemetry({
...telemetryState.categorizationInfo,
app_version: item.appVersion,
app_version: item.majorVersion,
channel: item.channel,
locale: item.locale,
region: item.region,
partner_code: impressionInfo.partnerCode,
provider: impressionInfo.provider,