[Nimbus] Studies should be toggled back on after re-enabling Telemetry
Categories
(Firefox for Android :: Experimentation and Telemetry, defect)
Tracking
()
People
(Reporter: cmuresan, Assigned: royang)
References
Details
(Whiteboard: [fxdroid][group3])
Attachments
(2 files)
7.99 MB,
video/mp4
|
Details | |
48 bytes,
text/x-phabricator-request
|
dmeehan
:
approval-mozilla-beta+
RyanVM
:
approval-mozilla-release+
|
Details | Review |
[Affected versions]:
- Firefox Nightly 134.0a1 (Build #2016055623), hg-4e75481ca263+, GV: 134.0a1-20241111213954, AS: 134.20241109050310
- Firefox Beta 133.0b7 (Build #2016055535), hg-5aff34e4e12c+, GV: 133.0-20241111092015, AS: 133.0
- Firefox Release 132.0 (Build #2016051567), hg-0e15e2edd460+, GV: 132.0-20241021175835, AS: 132.0.1
[Affected Platforms]:
- Android 13 - Samsung Galaxy A32
- Android 14 - OnePlus 9 Pro
[Prerequisites]:
- Have the Firefox app installed.
[Steps to reproduce]:
- Open Firefox and tap the menu button.
- Tap the
Settings
option and scroll down to thePrivacy and security
section. - Tap the
Data collection
option. - Untoggle the
Usage and technical data
option. - Reopen the app and navigate to the same menu.
- Toggle the
Usage and technical data
option and observe the Studies option.
[Expected result]:
- The Studies option is toggled back on.
[Actual result]:
- The Studies option remains toggled off.
[Notes]:
- Due to this behavior we risk never gaining those users back and diminishing our experimental reach.
- The Studies option should always revert to its initial state.
- Attached a screen recording of the issue.
Assignee | ||
Updated•8 months ago
|
Assignee | ||
Comment 1•8 months ago
|
||
There's a few combinations here
User have studies turned on: Yes to turn on studies when telemetry is turned back on.
User have studies turned off: No to turn on studies when telemetry is turned back on.
The problem here is by us turning off studies, we have to set the shared preference (so we show the correct value in settings) and also calls the Nimbus SDK (to turn off participation to experimentation). We have no value that remembers what the users original preference is.
Assignee | ||
Comment 2•8 months ago
•
|
||
The simple fix without causing confusing is to always turn studies back to on when user turn telemetry back on.
Pro: Handles the corner case of user turning telemetry back on (low percentage) without creating complicated implementation trying to store user's past preference on studies.
Con: For the user who turned studies off first before turning telemetry off, then proceeds to turn telemetry back on (very low percentage), they might not notice studies is turned back on as well.
I think for future maintenance, this is a good solution. Since turning telemetry back on is a low percentage use case. Also turning telemetry back on signals to us that the user does want to contribute to Mozilla's experimentation.
Assignee | ||
Comment 3•8 months ago
•
|
||
I'll also have to update the probe related to user's telemetry preference. Currently we report when user updates when user makes a choice for telemetry but we don't record how many turns it on vs off. Once updated, we can revisit later to see if there is a high amount of user turning telemetry back on after turning it off.
Assignee | ||
Comment 4•8 months ago
|
||
Assignee | ||
Updated•8 months ago
|
Updated•8 months ago
|
Comment 6•8 months ago
|
||
bugherder |
Updated•8 months ago
|
Assignee | ||
Comment 7•8 months ago
|
||
Comment on attachment 9463801 [details]
Bug 1930868 - Turn on studies when user turns on telemetry collection.
Beta/Release Uplift Approval Request
- User impact if declined/Reason for urgency: Without this fix, users who turns back on technical and interaction data will not automatically turn on studies. We will unfortunately lose users to experiments.
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): This is only affecting the studies preference when turning on and off the technical and interaction data preference.
- String changes made/needed: N/A
- Is Android affected?: Yes
Updated•8 months ago
|
Comment 8•8 months ago
|
||
Comment on attachment 9463801 [details]
Bug 1930868 - Turn on studies when user turns on telemetry collection.
Approved for 136.0b4
Updated•8 months ago
|
Reporter | ||
Comment 10•7 months ago
|
||
I have verified that the issue is no longer reproducible on Firefox Nightly 137.0a1 (Build #2016073178), hg-321052fb2ab5+, GV: 137.0a1-20250211090130, AS: 137.20250208050325 and Firefox Beta 136.0b4 (Build #2016073002), hg-87338c725e7a+, GV: 136.0-20250210091604, AS: 136.0. The studies toggle is now always togged on when Data Collection is turned back on.
Comment 11•7 months ago
|
||
Comment on attachment 9463801 [details]
Bug 1930868 - Turn on studies when user turns on telemetry collection.
Approved for 135.0.1
Updated•7 months ago
|
Comment 12•7 months ago
|
||
uplift |
Reporter | ||
Comment 13•7 months ago
|
||
I have verified that the issue is no longer reproducible on Firefox Release 135.0.1 (Build #2016074234), hg-7c2ff1aa3394+, GV: 135.0.1-20250216192613, AS: 135.0.1.
Description
•