Intent to Ship: Attribution Reporting API Features (Trigger Data Customization and Aggregatable Value Filters)

1,043 views
Skip to first unread message

Akash Nadan

unread,
Feb 12, 2024, 1:12:22 PMFeb 12
to blink-dev
Contact emails

akash...@google.com, lin...@chromium.org, john...@chromium.org


Explainer

Attribution Reporting with event-level reports

Attribution Reporting API with Aggregatable Reports

Aggregation Service for the Attribution Reporting API


Specification

https://wicg.github.io/attribution-reporting-api/


Blink component

Internals > AttributionReporting


Summary

We plan on landing the following changes to the Attribution Reporting API focused on:

  • additional API configurability for event-level reporting by supporting customization for trigger data cardinality and values

  • additional API configurability for summary reports by supporting filters in aggregatable values


Explainer/Spec changes
Risks
Interoperability and Compatibility

Both features are fully backwards compatible changes and are optional features.

              

Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?

All except Android WebView


Is this feature fully tested by web-platform-tests?

Yes


Estimated milestones

Chrome 123


Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5170344510095360


Links to previous Intent discussions

Previous I2S: 

Intent to Ship: Attribution Reporting API

Intent to Ship: Attribution Reporting features M117

Intent to Ship: Attribution Reporting features M118

Intent to Ship: Attribution Reporting features M119

Intent to Ship: Attribution Reporting features M120

Intent to Ship: Attribution Reporting features M121


Domenic Denicola

unread,
Feb 21, 2024, 12:02:29 AMFeb 21
to blink-dev, Akash Nadan
LGTM1. I appreciate the detailed explainers and well-reviewed spec updates.

I noticed the TAG review field was missing, but it seems the TAG review for the base feature is still ongoing since 2022-03-24, so I agree with the decision to not derailing that ongoing review by requesting additional review for small additions like this.

Yoav Weiss (@Shopify)

unread,
Feb 21, 2024, 1:56:21 AMFeb 21
to blink-dev, Domenic Denicola, Akash Nadan
LGTM2

Alex Russell

unread,
Feb 21, 2024, 11:57:48 AMFeb 21
to blink-dev, Yoav Weiss, Domenic Denicola, Akash Nadan
Hey folks,

I also appreciate the quality of the design work here, but we need developer interest to be able to launch features out ahead of other engines. Was an OT done? What other signals do we have to go on?

Best,

Alex

Akash Nadan

unread,
Feb 22, 2024, 3:32:09 PMFeb 22
to blink-dev, Alex Russell, Yoav Weiss, Domenic Denicola, Akash Nadan
Hi All,

We did not do an OT for these features. But we have discussed and collected feedback regarding these features with multiple ad-techs and have shared these features during the WICG (web platform incubator community group) weekly calls.

Thanks,
Akash

Peter Beverloo

unread,
Feb 23, 2024, 5:45:11 AMFeb 23
to Akash Nadan, blink-dev, Alex Russell, Yoav Weiss, Domenic Denicola
Hi Akash - the Attribution Reporting API is supported in Android WebView, why won't these extensions be?

Thanks,
Peter

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/cb63f3a9-0856-4387-8e5b-1a2281d60409n%40chromium.org.

Akash Nadan

unread,
Feb 23, 2024, 1:38:22 PMFeb 23
to blink-dev, Peter Beverloo, blink-dev, Alex Russell, Yoav Weiss, Domenic Denicola, Akash Nadan
Hi Peter,

The Attribution Reporting Web API is currently not supported in Android WebView, but events can be delegated to Android. These extensions are only for the web API.

Thanks,
Akash

Mike Taylor

unread,
Feb 26, 2024, 1:53:08 PMFeb 26
to Akash Nadan, blink-dev, Peter Beverloo, Alex Russell, Yoav Weiss, Domenic Denicola

Hi Akash,

Could you please clarify: if WebView supports the web API (which it does, IIUC?), these new features also be supported in the WebView context, correct?

I'm not able to find where the Attribution Reporting API is _disabled_ for WebView (assuming it would be in https://source.chromium.org/chromium/chromium/src/+/main:android_webview/browser/aw_field_trials.cc;l=72-73).

Nan Lin

unread,
Feb 26, 2024, 2:00:22 PMFeb 26
to Mike Taylor, Akash Nadan, Alex Russell, Domenic Denicola, Peter Beverloo, Yoav Weiss, blink-dev
Hi Mike,

The web API is not supported for WebView (
https://source.chromium.org/chromium/chromium/src/+/main:android_webview/browser/aw_content_browser_client.cc;l=1217?q=aw_content_browser_client&ss=chromium), and therefore these features in the web API are not supported for WebView, but may be supported when these features are supported in the Android API.

Thanks,
Nan

Mike Taylor

unread,
Feb 28, 2024, 9:56:51 PMFeb 28
to Nan Lin, Akash Nadan, Alex Russell, Domenic Denicola, Peter Beverloo, Yoav Weiss, blink-dev

Thank you for the code pointer (and education). LGTM3

Akash Nadan

unread,
Feb 29, 2024, 12:25:18 PMFeb 29
to blink-dev, Mike Taylor, Akash Nadan, Alex Russell, Domenic Denicola, Peter Beverloo, Yoav Weiss, blink-dev, Nan Lin
Thanks all. Just adding the following Github Issue with additional context regarding the need for these features: https://github.com/WICG/attribution-reporting-api/issues/733

Thanks,
Akash

Reply all
Reply to author
Forward
0 new messages