Newtab popular topics telemetry event fix
Categories
(Firefox :: New Tab Page, defect)
Tracking
()
People
(Reporter: thecount, Assigned: thecount)
Details
Attachments
(1 file)
47 bytes,
text/x-phabricator-request
|
jcristau
:
approval-mozilla-beta+
|
Details | Review |
Right now the helper function we're using for telemetry for the popular topics clicks is wrong, which is causing the event to not work correctly.
Assignee | ||
Comment 1•4 years ago
|
||
To test:
- Set browser.ping-centre.log to true
- Set browser.newtabpage.activity-stream.telemetry to true
- Set browser.newtabpage.activity-stream.discoverystream.config to {"api_key_pref": "extensions.pocket.oAuthConsumerKey", "collapsible": true, "enabled": true, "show_spocs": true, "hardcoded_layout": false, "personalized": true, "layout_endpoint": "https://getpocket.cdn.mozilla.net/v3/newtab/layout?version=1&consumer_key=$apiKey&layout_variant=topics-improved-layout", "unused_key": "unused_3"}
- Open a newtab
- Open the multi process debugger
- Click a popular topic.
Expected: Should still navigate to the popular topic on the pocket page. Should also see a similar log in the multi processes debugger that looks like this:
TELEMETRY PING (activity-stream): {"experiments":{},"locale":"en-US","version":"81.0a1","release_channel":"default","addon_version":"111","user_prefs":255,"session_id":"{111}","page":"about:newtab","event":"CLICK","source":"POPULAR_TOPICS","action_position":0,"value":"{"topic":"business"}","client_id":"111","browser_session_id":"111"}
Assignee | ||
Comment 2•4 years ago
|
||
Updated•4 years ago
|
Assignee | ||
Comment 3•4 years ago
|
||
[Tracking Requested - why for this release]: Broken telemetry fix impacting an experiment.
Pushed by sdowne@getpocket.com: https://hg.mozilla.org/integration/autoland/rev/867cc25b2db6 Fix telemetry event for newtab popular topics. r=nanj
Comment 5•4 years ago
|
||
bugherder |
Comment 6•4 years ago
|
||
The patch landed in nightly and beta is affected.
:thecount, is this bug important enough to require an uplift?
If not please set status_beta
to wontfix
.
For more information, please visit auto_nag documentation.
Assignee | ||
Comment 7•4 years ago
|
||
Comment on attachment 9168657 [details]
Bug 1657666 - Fix telemetry event for newtab popular topics.
Beta/Release Uplift Approval Request
- User impact if declined: Impacts to an experiment
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: To test:
- Set browser.ping-centre.log to true
- Set browser.newtabpage.activity-stream.telemetry to true
- Set browser.newtabpage.activity-stream.discoverystream.config to {"api_key_pref": "extensions.pocket.oAuthConsumerKey", "collapsible": true, "enabled": true, "show_spocs": true, "hardcoded_layout": false, "personalized": true, "layout_endpoint": "https://getpocket.cdn.mozilla.net/v3/newtab/layout?version=1&consumer_key=$apiKey&layout_variant=topics-improved-layout", "unused_key": "unused_3"}
- Open a newtab
- Open the multi process debugger
- Click a popular topic.
Expected: Should still navigate to the popular topic on the pocket page. Should also see a similar log in the multi processes debugger that looks like this:
TELEMETRY PING (activity-stream): {"experiments":{},"locale":"en-US","version":"81.0a1","release_channel":"default","addon_version":"111","user_prefs":255,"session_id":"{111}","page":"about:newtab","event":"CLICK","source":"POPULAR_TOPICS","action_position":0,"value":"{"topic":"business"}","client_id":"111","browser_session_id":"111"}
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): The code it so small, just changing two lines on a telemetry call.
- String changes made/needed: none
Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Comment 8•4 years ago
|
||
I have verified this enhancement, using the steps provided in comment 1 and I can confirm that the telemetry ping displayed in the "Multi Processes Debugger" is similar to the one from the testing instructions.
Verified using the latest Firefox Nightly (81.0a1 Build ID - 20200810213634) installed on Windows 10 x64, Mac 10.15, and Ubuntu 18.04 x64.
Updated•4 years ago
|
Comment 9•4 years ago
|
||
Comment on attachment 9168657 [details]
Bug 1657666 - Fix telemetry event for newtab popular topics.
approved for 80.0b7
Comment 10•4 years ago
|
||
bugherder uplift |
Updated•4 years ago
|
Comment 11•4 years ago
|
||
I have verified this enhancement, using the steps provided in comment 1 and I can confirm that the telemetry ping displayed in the "Multi Processes Debugger" is similar to the one from the testing instructions.
Verified using the latest Firefox Beta (80.0b7 Build ID - 20200811133449) installed on Windows 10 x64, Mac 10.15, and Ubuntu 18.04 x64.
Description
•