Data Collection
Firefox sends various data back to Mozilla. This data keeps the browser up to date, powers various features, provides user support, and helps improve the product itself. This page documents the policy for how and why we add new data collection metrics. The owner and peers of the Firefox Data Collection policy module are responsible for making decisions about data collection systems and measurements.
Owner: Benjamin Smedberg (:bsmedberg) Peers: Ally Naagktgeboren
Data Collection Properties
When proposing a new measurement or data system, please consider your requirements and the necessary data properties:
Function:
- Is the data collection necessary for Firefox to function properly? For example, the automatic update check must be sent in order to keep Firefox up to date.
- Is there a specific user-visible function planned for the data?
- Population: Is it necessary to take a measurement from all users? Or is it sufficient to measure only prerelease users?
- Sampling: is it necessary to get data from all users, or is it sufficient to collect data from a smaller sample?
- Will data submission be automatic, or will there be opt-in UI?
Analysis and Reporting:
- Who will be analyzing the data?
- Will the data that's being collected answer the questions we have?
- Will it be a single or periodic report?
- Is it desirable to track data changes over time? With what frequency? With what latency?
- Will the data reporting be private or public?
- Will the raw data being collected be private or public?
- Is it necessary to keep the measurement forever, or is it sufficient to run a short-term experiment/single report?
Privacy (and Legal):
- Does the data contain sensitive or personal information?
- Can the data be used in combination with other measurements to identify a particular person?
- What kind of users controls will be exposed to control data submission?
- Will users be able to see their own data before or after it has been submitted, either within Firefox or from the server?
- Does the data conform to the existing Mozilla privacy principles, the Mozilla Privacy Policy, and the Firefox privacy notice?
- Does this data collection represent any unusual privacy or legal risk to users or Mozilla?
Requirements
- Data collection details must be documented using the in-tree histogram definitions or the in-tree documentation system (.rst files).
- New data collection or changes to data collection must be approved by the data collection module owner or peers by requesting review on the patch which updates the in-tree documentation.
Requesting Approval
It is our intention to review every new data collection within Firefox, but to do so quickly and with minimal overhead. For every new measurement, even a simple new Telemetry probe, please request approval by setting the feedback flag for the data collection module owner or a peer. Simple requests should be handled within a day.
More complex requests, and especially requests which add a new kind of data collection mechanism or require changes to the privacy notice, will require more extensive review. Please consider pinging the team about these as they are being designed! Additional discussions/review may include:
- Privacy analysis: This may involve requesting feedback from the mozilla.dev.privacy mailing list and/or privacy experts within and outside of Mozilla to discuss the feature and its privacy impact.
- Data compliance review: a review with the Mozilla data compliance team to ensure that changes match the Mozilla data compliance policies and documents.
- Legal review: If necessary, the module owner will request a legal review from Mozilla's legal team. A legal review will be necessary for any changes to the privacy policies/notices.
- Data quality/statistical review: In cases where data analysis and quality is uncertain, the module owner will request additional feedback from the Mozilla metrics team and other experts to validate data analysis plans.
- UX review: We may request/require feedback from the Firefox UX team on any proposed privacy/data-control UI.
Other Practices
Every year, the data collection owner and peers will survey all of the existing data collection systems with Firefox. This survey has the following goals:
- To ensure that it is still necessary and useful to collect a piece of data.
- To re-identify who is responsible for the collection, monitoring, and reporting of collected data.
Approval for new Telemetry probes
These are the standard questions for any new Telemetry probes:
- What are the questions that these probes are designed to address? Is this the minimum amount of data necessary to answer those questions?
- Who is responsible for monitoring the data? How often will they do it? Do the necessary monitoring dashboards already exist or who is going to create them?
- What's the user value?
The requirements are more stringent for opt-out probes on the Release channel and probes that never expire.