-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add FXIOS-10617 [ToS] Add Glean usage profile id #23254
Conversation
Client.app: Coverage: 31.64
Generated by 🚫 Danger Swift against 5ab7ffc |
…lean-usage-profile-id
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple of things inline.
I don't know the Focus iOS codebase, but can I assume the implementation there would look similar then?
firefox-ios/Client/Frontend/Settings/Main/Support/SendAnonymousUsageDataSetting.swift
Outdated
Show resolved
Hide resolved
Co-authored-by: Jan-Erik Rediger <[email protected]>
Co-authored-by: Jan-Erik Rediger <[email protected]>
…sUsageDataSetting.swift Co-authored-by: Jan-Erik Rediger <[email protected]>
Yes, it should look similar (I am not super familiar with the Focus code either). The dev that will handle Focus is back next week and will open a PR. |
This pull request has conflicts when rebasing. Could you fix it @thatswinnie? 🙏 |
…lean-usage-profile-id
Request for data collection review formAll questions are mandatory. You must receive review from a data steward peer on your responses to these questions before shipping new data collection.
Note that the data steward reviewing your request will characterize your data collection based on the highest (and most sensitive) category.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Request for data collection review form
All questions are mandatory. You must receive review from a data steward peer on your responses to these questions before shipping new data collection.
1. What questions will you answer with this data? _It will give us the ability to count profiles._ 2. Why does Mozilla need to answer these questions? Are there benefits for users? Do we need this information to address product or business requirements? _Understand usage of Firefox iOS. This change allows us to offer Firefox users more granular choices in data collection._ 3. What alternative methods did you consider to answer these questions? Why were they not sufficient? _There are no other methods_ 4. Can current instrumentation answer these questions? _No._ 5. List all proposed measurements and indicate the category of data collection for each measurement, using the [Firefox data collection categories](https://wiki.mozilla.org/Data_Collection) found on the Mozilla wiki.
Note that the data steward reviewing your request will characterize your data collection based on the highest (and most sensitive) category.
Measurement Description Data Collection Category Tracking Bug #
usage.profile_id
Records a UUID uniquely identifying the profile 1 + 4 FXIOS-106176. Please provide a link to the documentation for this data collection which describes the ultimate data set in a public, complete, and accurate way. [Firefox iOS Telemetry Dictionary](https://dictionary.telemetry.mozilla.org/apps/firefox_ios) 7. How long will this data be collected? Choose one of the following: _Set to never expire_ 8. What populations will you measure? * Which release channels? _All_ * Which countries? _All_ * Which locales? _All_ * Any other filters? Please describe in detail below. 9. If this data collection is default on, what is the opt-out mechanism for users? _The user can opt out_ 10. Please provide a general description of how you will analyze this data. _The data will be analyzed using Glean._ 11. Where do you intend to share the results of your analysis? _The results will be shared internally through Glean and with advertising partners._ 12. Is there a third-party tool (i.e. not Glean or Telemetry) that you are proposing to use for this data collection? If so: _No third-party tools are proposed for this data collection._
This has been approved by Mozilla Trust & Legal, I'm providing the data-review+ here as covered by their review and approval.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one last nit, but then good to go!
Co-authored-by: Jan-Erik Rediger <[email protected]>
self?.prefs?.removeObjectForKey(PrefsKeys.Usage.profileId) | ||
|
||
// set dummy uuid to make sure the previous one is deleted | ||
if let uuid = UUID(uuidString: "beefbeef-beef-beef-beef-beeefbeefbee") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LOL amazing!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't knew Winnie liked beef that much
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
c0ffee (and decaf) were already taken and I couldn't come up with other fun stuff.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LOL. I like beef and I cannot lie 😇
But seriously, that string actually came from @badboy
📜 Tickets
Jira ticket
Github issue
💡 Description
Adds the Glean usage profile id.
📝 Checklist
You have to check all boxes before merging
@Mergifyio backport release/v120
)