Differential D293953
Bug 2031308: Add a country field to the pageload domain event that is filled in for some countries on release. r=denispal ClosedPublic Authored by bas on Apr 13 2026, 6:05 PM. Tags
Referenced Files
Details
Summary This adds country data to our pageload events with domain information. Since this information can be highly fingerprintable for situations with few users in a country/channel combination, we only collect this on release, for users in specific countries where we know we have a good amount of users. This should bring the majority of the value with no risk of accidentally collecting user data.
Diff Detail
Event Timelinebas created this revision.Apr 13 2026, 6:05 PM phab-bot published this revision for review.Apr 13 2026, 6:05 PM phab-bot changed the visibility from "Custom Policy" to "Public (No Login Required)". phab-bot changed the edit policy from "Custom Policy" to "Restricted Project (Project)". phab-bot removed a project: secure-revision. Comment Actions This revision changes how Firefox collects data, so it needs a #data-classification tag. If you (the patch author) are adding new or modifying existing data collection, you and your reviewer(s) should judge how sensitive this data is, using the data collection categories Mozilla uses. If the data you are collecting fits in either the Category 1 “technical data” or Category 2 “interaction data” described there, please add the #data-classification-low tag. If it’s any other category, or you and your reviewer(s) disagree, please add the #data-classification-high tag, and go through the sensitive data collection review process. If you think that the data in question fits in “technical” or “interaction” data but would benefit from additional review, you can also explicitly choose to use the #data-classification-high tag and thereby opt in to the sensitive data collection review process. When using Glean for the data collection, the data classification of the new or expanded data collections should match the property in the metric definitions. If you are removing data collection, or are making mechanical changes to these files that do not add or modify what data is collected, change when or how it is collected, please add the data-classification-unnecessary tag. If you are unsure or feel uncomfortable making this assessment yourself, please ask the data-stewards group for help. Whichever tag is used, please leave a comment explaining this choice. Note that Lando will not be able to land this revision until the revision has one of these tags and you remove the #needs-data-classification tag. Finally, you as a patch author are encouraged to add the right tags yourself, but your reviewers are responsible for making sure the right tag is used. bas retitled this revision from Bug 2030147: Add a country field to the pageload domain event that is filled in for some countries on release. r=denispal to Bug 2031308: Add a country field to the pageload domain event that is filled in for some countries on release. r=denispal. This comment was removed by jfkthame. Comment Actions Code analysis found 1 defect in diff 1247840:
WARNING: Found 1 defect (warning level) that can be dismissed.
You can run this analysis locally with: If you see a problem in this automated review, please report it here. You can view these defects in the Diff Detail section of Phabricator diff 1247840. Comment Actions This revision is now going through the sensitive data review process. As a patch author, please follow the steps described in that process by:
More details on the rest of the process are on the wiki. Someone from the data-stewards group should approve this revision for landing if/when the review process is complete and approval is given. denispal accepted this revision.Apr 13 2026, 11:08 PM Comment Actionsbas added inline comments.Apr 14 2026, 1:15 AM
denispal added inline comments.Apr 14 2026, 7:06 PM
reviewbot added a comment.Apr 20 2026, 2:08 PM Comment ActionsCode analysis found 1 defect in diff 1253231:
WARNING: Found 1 defect (warning level) that can be dismissed.
You can run this analysis locally with: If you see a problem in this automated review, please report it here. You can view these defects in the Diff Detail section of Phabricator diff 1253231. Roger accepted this revision.Apr 29 2026, 1:33 PM Comment ActionsAccept data classification high as data steward. This collection has been approved through the sensitive data collection review process. This revision is now accepted and ready to land.Apr 29 2026, 1:33 PM Comment Actions This revision requires a Testing Policy Project Tag to be set before landing. Please apply one of , , , , . Tip: this Firefox add-on makes it easy! bas edited projects, added testing-exception-unchanged (Doesn't change behavior for users); removed needs-testing-tag.Apr 29 2026, 1:48 PM bas marked 2 inline comments as done. bas marked an inline comment as done. Closed by commit rFIREFOXAUTOLAND0e2912585082: Bug 2031308: Add a country field to the pageload domain event that is filled in… (authored by bas, committed by bschouten@mozilla.com <bschouten@mozilla.com>). · Explain WhyApr 29 2026, 2:24 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 1261666 | ||||||||||||||||||||||||||||||||||||||||||||||||||||
