After clicking certain Sponsored link results the "target": "non_ads_link" is registered in the serp glean telemetry
Categories
(Firefox :: Address Bar, defect, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox116 | --- | unaffected |
| firefox117 | --- | unaffected |
| firefox118 | --- | wontfix |
| firefox119 | --- | verified |
People
(Reporter: IoanaAlexandra.Berar, Assigned: jteow)
References
(Blocks 1 open bug)
Details
(Whiteboard: [sng])
Attachments
(2 files)
[Notes]:
- We didn't manage to reproduce this issue on the latest Firefox Release 116.0.3 and on the latest Firefox Beta 117.0b9 build. But we managed to reproduce the issue on Nightly 116.0a1 build from June 7th. Considering this we didn't manage to search for a regression range. Probably the issue is only reproducible on the Nightly builds.
- The issue is reproducible with Sponsored links from ad_carousel or normal Sponsored links results.
[Affected versions]:
- Firefox Nightly 116.0a1 build from June 7th
- Firefox Nightly 118.0a1 - Build ID: 20230821213322
[Affected Platforms]:
- Windows 10 x64
- macOS 13.4.1
- Ubuntu 22.04 LTS
[Prerequisites]:
- Have Firefox Nightly 118.0a1 installed.
[Steps to reproduce]:
- Open the browser from the prerequisites.
- Navigate to “about:glean” and create a debug tag.
- Select from the drop-down list “events” and click on “Apply settings and submit ping.”
- Open a new tab and search in urlbar for “hotels”
- Click on the sponsored link for “http://www.booking.com”
- Go to “https://debug-ping-preview.firebaseapp.com/” and select the previous debug tag.
- Click on “Details” from the previous ping event.
- Notice the target.
[Expected result]:
- A target “ad_link” is registered in the serp glean telemetry.
[Actual result]:
- The "target": "non_ads_link" is registered in the serp glean telemetry.
[Additional Notes]:
- Attached is a screen recording of the issue.
| Assignee | ||
Comment 1•2 years ago
|
||
I think it’s because query parameter striping (preference: privacy.query_stripping.enabled) is enabled only on Nightly. Strange that we didn't encounter this bug earlier during testing when we were adding the telemetry.
What the aforementioned pref does is remove certain query parameters from being contained in the link after a user clicks on a link to avoid tracking. This unfortunately currently affects our heuristic of matching a clicked link to the list of links with ad types.
What we can do is add more resiliency in the similarity check of links by not being reliant on the ordering of query parameters.
| Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
| Assignee | ||
Comment 2•2 years ago
|
||
Updated•2 years ago
|
Comment 3•2 years ago
|
||
The following patch is waiting for review from an inactive reviewer:
| ID | Title | Author | Reviewer Status |
|---|---|---|---|
| D186681 | Bug 1849728 - Compare URLs in page to the URL being visited in the network process - r?standard8 | jteow | Standard8: Back Sep 4, 2023 |
:jteow, could you please find another reviewer?
For more information, please visit BugBot documentation.
| Assignee | ||
Comment 4•2 years ago
|
||
I'd prefer to keep :standard8 as the reviewer and wait.
| Assignee | ||
Comment 6•2 years ago
•
|
||
Cristian, since this bug affects the new SERP telemetry (specifically, in Nightly but the fix would eventually also affect Release), would you (or someone on your team) be able to verify the fix? Thank you.
Comment 7•2 years ago
|
||
| bugherder | ||
Comment 8•2 years ago
|
||
The issue is verified fixed using the latest Fx 119.0a1 on Windows 10, Ubuntu 20 and macOS. Ad links are no longer treated as 'non_ads_link' regardless of the section clicked (carousel, ad_link, sidebar).
Comment 9•2 years ago
|
||
The patch landed in nightly and beta is affected.
:jteow, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox118towontfix.
For more information, please visit BugBot documentation.
| Assignee | ||
Comment 10•2 years ago
|
||
I don't think this requires an uplift as the issue is specific to Nightly.
Description
•