Closed Bug 1849371 Opened 9 months ago Closed 2 months ago

Add cookie banner as a possible serp.ad_impression component and the user choice as one of the serp.engagement targets

Categories

(Firefox :: Search, task, P2)

task

Tracking

()

RESOLVED FIXED
125 Branch
Tracking Status
firefox125 --- fixed

People

(Reporter: jteow, Assigned: klubana)

References

Details

(Whiteboard: [sng])

User Story

As a PM, I want to understand frequency of display of cookie banners on SERP pages as well as user choice on the banner, so that I can:
- Interpret user engagement data on SERP correctly (assuming a SERP with a banner drives different user engagement)
- Understand user choice on Google GDPR banner
- Break these insights down per window type (private or not)

Attachments

(2 files)

We have received a request to detect when cookie modal dialog appear on SERPs.

Modals may discourage users from continuing their search.

Part of this effort will require considering how to detect if a banner was visible or not and if that heuristic remains consistent across all (most?) locales.

Blocks: 1849372
Blocks: 1849373
User Story: (updated)
User Story: (updated)

Hi, thanks for helping with the review

Attachment #9372984 - Flags: data-review?(chutten)
See Also: → 1874741

For context there are 2 separate telemetry requests around cookie banners on google domain:

Comment on attachment 9372984 [details]
Request for data collection review form

PRELIMINARY NOTES:

Please remember to fill in the data collection category in your answer to Q5 in future review requests.

DATA COLLECTION REVIEW RESPONSE:

Is there or will there be documentation that describes the schema for the ultimate data set available publicly, complete and accurate?

Yes.

Is there a control mechanism that allows the user to turn the data collection on and off?

Yes. This collection can be controlled through Firefox's Preferences.

If the request is for permanent data collection, is there someone who will monitor the data over time?

Yes, Romain Testard is responsible.

Using the category system of data types on the Mozilla wiki, what collection type of data do the requested measurements fall under?

Category 2, Interaction.

Is the data collection request for default-on or default-off?

Default on for all channels.

Does the instrumentation include the addition of any new identifiers?

No.

Is the data collection covered by the existing Firefox privacy notice?

Yes.

Does the data collection use a third-party collection tool?

No.


Result: datareview+

Attachment #9372984 - Flags: data-review?(chutten) → data-review+

Romain, would it be acceptable if we added cookie_banner to the list of possible ad_impression components instead of attaching it to the Impression? I asked Data Science and they're fine adding another non-monetized component to the list (sidenote: We're likely to rename the event to something more generic since not everything has to do with an ad).

https://dictionary.telemetry.mozilla.org/apps/firefox_desktop/metrics/serp_ad_impression

These are connected back to the SERP impression via impression_id.

The reason why I'm suggesting this is in recording an impression, we do a quick scan of the page before its fully loaded to look for elements that we know aren't going to need Javascript to show up. For the cookie banner, it's possible for it not to be visible at this step. In practice, I found Google and Bing work fine but Ecosia shows it slightly after we run this first scan and so I am not able to accurately record its existence without adding a delay.

In contrast, when we scan for components, we wait till the page is fully loaded and 1 second elapses. In this scenario, we should have confidence is capturing Ecosia's cookie banner and being a bit future proof should something change with other providers.

Flags: needinfo?(rtestard)

Thanks, it sounds like it would work since the following is possible:

  • Count over a period of time the banner displays and break it down per user choice
  • For a single user count banner displays
  • Correlate user choice with ad display and ad click rates

Do I interpret it right that we would add cookie_banner to the list and that its value will reflect the user choice?

Flags: needinfo?(rtestard)

If we'd like to capture user choice, it would need to be reflected in a serp.engagement event. The ad_impression event only captures the number of instances of an element on a page.

Changing the title of the bug to ad_impression as we'll record the telemetry there, and it can be re-connected to the SERP impression via the impression_id.

Summary: Add whether a cookie banner appeared on a SERP to the SERP Impression Event → Add whether a cookie banner appeared on a SERP to the SERP Ad Impression Event
Depends on: 1878736
Summary: Add whether a cookie banner appeared on a SERP to the SERP Ad Impression Event → Add whether a cookie banner appeared on a SERP to the Ad Impression Event and the click choice on the Engagement event
Summary: Add whether a cookie banner appeared on a SERP to the Ad Impression Event and the click choice on the Engagement event → Add cookie banner as a possible serp.ad_impression component and the user choice as one of the serp.engagement targets
Assignee: nobody → klubana
Pushed by jteow@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b7cc85b852b9
Add cookie banner as a possible serp.ad_impression component and the user choice as one of the serp.engagement targets. r=jteow
Depends on: 1879714
No longer depends on: 1878736
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch

Does this telemetry also work on android? Do we need new telemetry for Fenix?

As I understand, this bug helps us correlate user banner choice to the ad link frequency. My confusion is if this also applies to desktop.

(In reply to cboozarjomehri@mozilla.com from comment #10)

Does this telemetry also work on android? Do we need new telemetry for Fenix?

This is a part of SERP event telemetry that has not been implemented on mobile. It is possible that SERP event telemetry will be implemented on mobile later, but we're still developing it on desktop, and I don't know if there are plans for it currently.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: