Closed Bug 1490670 Opened 7 years ago Closed 7 years ago

Add telemetry for launching a PWA

Categories

(Firefox for Android Graveyard :: Web Apps (PWAs), enhancement)

Firefox 63
Unspecified
Android
enhancement
Not set
normal

Tracking

(firefox63 fixed, firefox64 fixed)

RESOLVED FIXED
Firefox 64
Tracking Status
firefox63 --- fixed
firefox64 --- fixed

People

(Reporter: petru, Assigned: petru)

Details

Attachments

(2 files)

Currently, regarding PWAs we only track user actions in regards to the dialog for adding a PWA [1]. This ticket is for adding telemetry tracking for "launching web apps from the Home Screen". [1] https://dxr.mozilla.org/mozilla-central/search?q=%22%3D+%22pwa_confirm_%22&redirect=false
Assignee: nobody → petru.lingurar
Status: NEW → ASSIGNED
Request for data collection review 1) What questions will you answer with this data? When the user opens a previously saved Progressive Web Application from the homescreen. 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? Provide Product with insights about usages of the Progressive Web Application. 3) What alternative methods did you consider to answer these questions? Why were they not sufficient? The proposed implementation is the only way to get the needed info. 4) Can current instrumentation answer these questions? There already exists telemetry for some events regarding PWAs but none that would offer this newly needed data. 5) List all proposed measurements and indicate the category of data collection for each measurement, using the Firefox data collection categories on the Mozilla wiki. - Measurement Description: We only need to know when a PWA is launched from the homescreen<br /> - Data Collection Category: Category 2 “Interaction data” - Tracking Bug #1490670 6) How long will this data be collected? I want to permanently monitor this data. (Andreas Bovens) 7) What populations will you measure? Firefox for Android users which have added a PWA to the homescreen and have telemetry enabled. - Which release channels?: All - Which countries?: All - Which locales?: All 8) If this data collection is default on, what is the opt-out mechanism for users? Data collection is by default on for Nightly and Beta users and by default off (Telemetry is by default disabled) for the Release applications. Users can opt-out by turning off telemetry from Settings -> Privacy. 9) Please provide a general description of how you will analyze this data. Data will be used to better understand the usage of Progressive Web Applications. 10) Where do you intend to share the results of your analysis? Data will be available only to specific persons within Mozilla.
Attachment #9008674 - Flags: review?(liuche)
Comment on attachment 9008426 [details] Bug 1490670 - Add telemetry for launching a PWA; r?sdaswani :sdaswani only needinfo has approved the revision.
Attachment #9008426 - Flags: review+
Comment on attachment 9008674 [details] Bug 1490670 - data review request.txt :petru, can you also update the telemetry docs with this? Please update this file in-tree: https://searchfox.org/mozilla-central/source/mobile/android/docs/uitelemetry.rst and then flag me for re-review.
Attachment #9008674 - Flags: review?(liuche) → review-
Updated uitelemetry.rst Can you re-review it Chenxia?
Flags: needinfo?(liuche)
Thank you, :petru! 1) Is there or will there be **documentation** that describes the schema for the ultimate data set available publicly, complete and accurate? Yes, added in uitelemetry.rst 2) Is there a control mechanism that allows the user to turn the data collection on and off? (Note, for data collection not needed for security purposes, Mozilla provides such a control mechanism) Provide details as to the control mechanism available. Yes, Firefox for Android telemetry controls 3) If the request is for permanent data collection, is there someone who will monitor the data over time?** Andreas Bovens 4) Using the **[category system of data types](https://wiki.mozilla.org/Firefox/Data_Collection)** on the Mozilla wiki, what collection type of data do the requested measurements fall under? ** Type 2, user interaction 5) Is the data collection request for default-on or default-off? Default off for release, on for beta/nightly 6) Does the instrumentation include the addition of **any *new* identifiers** (whether anonymous or otherwise; e.g., username, random IDs, etc. See the appendix for more details)? No 7) Is the data collection covered by the existing Firefox privacy notice? **If unsure: escalate to legal if:** Yes 8) Does there need to be a check-in in the future to determine whether to renew the data? (Yes/No) (If yes, set a todo reminder or file a bug if appropriate)** No, collecting basic usage information for a feature
Flags: needinfo?(liuche)
Comment on attachment 9008674 [details] Bug 1490670 - data review request.txt data-review only r+
Attachment #9008674 - Flags: review- → review+
Keywords: checkin-needed
Comment on attachment 9008426 [details] Bug 1490670 - Add telemetry for launching a PWA; r?sdaswani Approval Request Comment [Feature/Bug causing the regression]: -- [User impact if declined]: -- [Is this code covered by automated tests?]: No [Has the fix been verified in Nightly?]: No [Needs manual test from QE? If yes, steps to reproduce]: No [List of other uplifts needed for the feature/fix]: -- [Is the change risky?]: No [Why is the change risky/not risky?]: It just adds a new telemetry probe. [String changes made/needed]: --
Attachment #9008426 - Flags: approval-mozilla-beta?
Pushed by sledru@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e48187f4283e Add telemetry for launching a PWA; r=sdaswani
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 64
Comment on attachment 9008426 [details] Bug 1490670 - Add telemetry for launching a PWA; r?sdaswani Low risk, approved for 63 Beta, thanks.
Attachment #9008426 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: