Use excludePartnerCodeFromTelemetry from search config in BrowserSearchTelemetry for sap.counts
Categories
(Firefox :: Search, task, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox143 | --- | fixed |
People
(Reporter: adw, Assigned: adw)
References
Details
(Whiteboard: [sng])
Attachments
(1 external file)
In bug 1980474 we added an excludePartnerCodeFromTelemetry property to the URL config. We need to update the sap.counts logic in BrowserSearchTelemetry so that it checks it and excludes the partner code when it's true.
Updated•1 year ago
|
| Assignee | ||
Comment 1•1 year ago
|
||
This modifies the recording of sap.counts so that the partner code is excluded
when excludePartnerCodeFromTelemetryForURL is true. The update to legacy
SEARCH_COUNTS is still skipped when the source is contextmenu_visual, as
disucussed in https://phabricator.services.mozilla.com/D258653#inline-1422651
This doesn't change the reportPartnerCode logic if an unsupported
searchUrlType is passed in for the engine, i.e., if
engine.wrappedJSObject.getURLOfType returns nothing. It might make sense to
exclude the partner code then too, but I'm not sure it matters in practice?
Comment 3•1 year ago
|
||
| bugherder | ||
Description
•