lin...@chromium.org, john...@chromium.org
Cross App and Web Attribution Measurement
https://wicg.github.io/attribution-reporting-api/#cross-app-and-web
This is an extension to the Attribution Reporting API that has already shipped.
Currently, the Attribution Reporting API supports attributing events within a single browser instance. This proposal expands the scope of attribution to allow attributing conversions that happen on the web to events that happen off the browser on the same device, within other applications such as mobile applications, or vice-versa.
The proposal here leverages OS-level support for attribution. In particular, it gives the developer an option to allow events on the mobile web to be delegated to Android’s Privacy Sandbox, although support for other platforms could also be implemented in the future.
Note that with this proposal new features shipped by the OS may be implicitly supported without web API changes. For example, Android may ship support for new registration fields not supported in the existing Attribution Reporting API. Once a developer elects to delegate events to the OS, there is no way web-visible to introspect this.
Internals > AttributionReporting
https://github.com/w3ctag/design-reviews/issues/724#issuecomment-1908353938
Pending
Interoperability and Compatibility
See the Attribution Reporting API I2S for information on the other general measurement proposals in this space.
Private Click Measurement in Safari supports app to web measurement (https://webkit.org/blog/11529/introducing-private-click-measurement-pcm/#:~:text=App%2Dto%2DWeb%20Click%20Measurement). On iOS, some web to app measurement is supported via SKAdNetwork (https://developer.apple.com/documentation/skadnetworkforwebads). There is currently no interop between these proposals and the cross app web API for Attribution Reporting.
Gecko: No official position (https://github.com/mozilla/standards-positions/issues/791#issuecomment-1908359889)
WebKit: No official position (https://github.com/WebKit/standards-positions/issues/307)
Web developers: Positive. Some testers are currently implementing and providing feedback and more usage expected in 2024. Developers have requested expansion of coverage of this feature (example: https://github.com/WICG/attribution-reporting-api/issues/1125).
Debuggability
The Attribution Reporting API utilizes DevTools and an internal page (chrome://attribution-internals) to facilitate testing and integration. The debugging information for OS registrations from Chrome will be displayed in DevTools and the internal page as well.
Additionally, debug reports are supported for OS registrations. The Attribution Reporting API for Android also implements a similar debugging reports framework to facilitate cross app and web testing.
The Attribution-Reporting-Support header is supported on all platforms. Today, only Android offers a native Attribution Reporting API, so the ability to register with the OS is only supported on those platforms (Android and Android WebView).
The Attribution-Reporting-Support header is tested by web platform tests, but the integration with OS is not as web platform tests are not supported for Android.
Requires code in //chrome?
False
Chrome 123
https://launch.corp.google.com/launch/4238495
https://chromestatus.com/feature/4994430156668928
Cross App and Web Attribution Measurement Intent to Experiment
Cross App and Web Attribution Measurement Intent to Extend Experiment
Hi Nan,
Contact emails
lin...@chromium.org, john...@chromium.org
Explainer
Cross App and Web Attribution Measurement
Specification
https://wicg.github.io/attribution-reporting-api/#cross-app-and-web
Summary
This is an extension to the Attribution Reporting API that has already shipped.
Currently, the Attribution Reporting API supports attributing events within a single browser instance. This proposal expands the scope of attribution to allow attributing conversions that happen on the web to events that happen off the browser on the same device, within other applications such as mobile applications, or vice-versa.
The proposal here leverages OS-level support for attribution. In particular, it gives the developer an option to allow events on the mobile web to be delegated to Android’s Privacy Sandbox, although support for other platforms could also be implemented in the future.
Note that with this proposal new features shipped by the OS may be implicitly supported without web API changes. For example, Android may ship support for new registration fields not supported in the existing Attribution Reporting API. Once a developer elects to delegate events to the OS, there is no way web-visible to introspect this.
Blink component
Internals > AttributionReporting
TAG review
https://github.com/w3ctag/design-reviews/issues/724#issuecomment-1908353938
TAG review status
Pending
Risks
Interoperability and Compatibility
See the Attribution Reporting API I2S for information on the other general measurement proposals in this space.
Private Click Measurement in Safari supports app to web measurement (https://webkit.org/blog/11529/introducing-private-click-measurement-pcm/#:~:text=App%2Dto%2DWeb%20Click%20Measurement). On iOS, some web to app measurement is supported via SKAdNetwork (https://developer.apple.com/documentation/skadnetworkforwebads). There is currently no interop between these proposals and the cross app web API for Attribution Reporting.
Gecko: No official position (https://github.com/mozilla/standards-positions/issues/791#issuecomment-1908359889)
WebKit: No official position (https://github.com/WebKit/standards-positions/issues/307)
Web developers: Positive. Some testers are currently implementing and providing feedback and more usage expected in 2024. Developers have requested expansion of coverage of this feature (example: https://github.com/WICG/attribution-reporting-api/issues/1125).
Debuggability
The Attribution Reporting API utilizes DevTools and an internal page (chrome://attribution-internals) to facilitate testing and integration. The debugging information for OS registrations from Chrome will be displayed in DevTools and the internal page as well.
Additionally, debug reports are supported for OS registrations. The Attribution Reporting API for Android also implements a similar debugging reports framework to facilitate cross app and web testing.
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
The Attribution-Reporting-Support header is supported on all platforms. Today, only Android offers a native Attribution Reporting API, so the ability to register with the OS is only supported on those platforms (Android and Android WebView).
Is this feature fully tested by web-platform-tests?
The Attribution-Reporting-Support header is tested by web platform tests, but the integration with OS is not as web platform tests are not supported for Android.
Requires code in //chrome?
False
Estimated milestones
Chrome 123
Launch bug
https://launch.corp.google.com/launch/4238495
Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/4994430156668928
Links to previous Intent discussions
Cross App and Web Attribution Measurement Intent to Experiment
Cross App and Web Attribution Measurement Intent to Extend Experiment
--
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/CA%2BVrgP%3DZDhgDguTkPXBnPOk8CpOVkxKHyBoeUR9%3D43c7p6wZuw%40mail.gmail.com.
Hi Nan,
On 2/2/24 5:00 AM, Nan Lin wrote:
Could you help me better understand the implications of this? Does it just mean that debugging becomes challenging for new fields, or are there other possible implications depending on new OS features? Or possibly the web API lags behind what is possible via the platform, until the web API catches up formally?Contact emails
lin...@chromium.org, john...@chromium.org
Explainer
Cross App and Web Attribution Measurement
Specification
https://wicg.github.io/attribution-reporting-api/#cross-app-and-web
Summary
This is an extension to the Attribution Reporting API that has already shipped.
Currently, the Attribution Reporting API supports attributing events within a single browser instance. This proposal expands the scope of attribution to allow attributing conversions that happen on the web to events that happen off the browser on the same device, within other applications such as mobile applications, or vice-versa.
The proposal here leverages OS-level support for attribution. In particular, it gives the developer an option to allow events on the mobile web to be delegated to Android’s Privacy Sandbox, although support for other platforms could also be implemented in the future.
Note that with this proposal new features shipped by the OS may be implicitly supported without web API changes. For example, Android may ship support for new registration fields not supported in the existing Attribution Reporting API. Once a developer elects to delegate events to the OS, there is no way web-visible to introspect this.
If Blink ever ships on iOS (at least in the EU, given recent announcements by Apple), would it be possible to expect interop between iOS and Android?Blink component
Internals > AttributionReporting
TAG review
https://github.com/w3ctag/design-reviews/issues/724#issuecomment-1908353938
TAG review status
Pending
Risks
Interoperability and Compatibility
See the Attribution Reporting API I2S for information on the other general measurement proposals in this space.
Private Click Measurement in Safari supports app to web measurement (https://webkit.org/blog/11529/introducing-private-click-measurement-pcm/#:~:text=App%2Dto%2DWeb%20Click%20Measurement). On iOS, some web to app measurement is supported via SKAdNetwork (https://developer.apple.com/documentation/skadnetworkforwebads). There is currently no interop between these proposals and the cross app web API for Attribution Reporting.
Any reason we didn't file a new issue w/ Mozilla (or TAG...), but we did with WebKit?
Gecko: No official position (https://github.com/mozilla/standards-positions/issues/791#issuecomment-1908359889)
On 2/6/24 3:59 AM, Nan Lin wrote:
Hi Mike,
Thanks for reviewing. Please see responses inline.
Nan
On Mon, Feb 5, 2024 at 9:33 PM Mike Taylor <mike...@chromium.org> wrote:
Hi Nan,
On 2/2/24 5:00 AM, Nan Lin wrote:
Could you help me better understand the implications of this? Does it just mean that debugging becomes challenging for new fields, or are there other possible implications depending on new OS features? Or possibly the web API lags behind what is possible via the platform, until the web API catches up formally?Contact emails
lin...@chromium.org, john...@chromium.org
Explainer
Cross App and Web Attribution Measurement
Specification
https://wicg.github.io/attribution-reporting-api/#cross-app-and-web
Summary
This is an extension to the Attribution Reporting API that has already shipped.
Currently, the Attribution Reporting API supports attributing events within a single browser instance. This proposal expands the scope of attribution to allow attributing conversions that happen on the web to events that happen off the browser on the same device, within other applications such as mobile applications, or vice-versa.
The proposal here leverages OS-level support for attribution. In particular, it gives the developer an option to allow events on the mobile web to be delegated to Android’s Privacy Sandbox, although support for other platforms could also be implemented in the future.
Note that with this proposal new features shipped by the OS may be implicitly supported without web API changes. For example, Android may ship support for new registration fields not supported in the existing Attribution Reporting API. Once a developer elects to delegate events to the OS, there is no way web-visible to introspect this.
It’s not about debugging. Currently the web API and the Android’s implementation of the Attribution Reporting API are expected to be interoperable. However it’s possible that Android may ship support for new registration fields in the OS-level API, which may or may not be supported in the web API. The web API may lag behind, or even not implement the new features at all. Once the event is delegated to the OS, the attribution registration will be handled by the OS and possibly using the new features in its API.
This can happen without web API change and there’s no way web-visible to introspect this.
If Blink ever ships on iOS (at least in the EU, given recent announcements by Apple), would it be possible to expect interop between iOS and Android?Blink component
Internals > AttributionReporting
TAG review
https://github.com/w3ctag/design-reviews/issues/724#issuecomment-1908353938
TAG review status
Pending
Risks
Interoperability and Compatibility
See the Attribution Reporting API I2S for information on the other general measurement proposals in this space.
Private Click Measurement in Safari supports app to web measurement (https://webkit.org/blog/11529/introducing-private-click-measurement-pcm/#:~:text=App%2Dto%2DWeb%20Click%20Measurement). On iOS, some web to app measurement is supported via SKAdNetwork (https://developer.apple.com/documentation/skadnetworkforwebads). There is currently no interop between these proposals and the cross app web API for Attribution Reporting.
There’s no official position from WebKit yet, but there’s some concern on the interoperability between Safari’s Private Click Measurement and the Attribution Reporting API. We may expect similar concerns on supporting Attribution Reporting API on iOS, therefore would not expect interoperability between iOS and Android in the short term.
On 2/6/24 3:59 AM, Nan Lin wrote:
Thanks for the response! I'm still trying to understand what a registration field is in the context of this API - is that a possible future item added to the OS registration struct in https://wicg.github.io/attribution-reporting-api/#os-registration? (Apologies, I can't find any reference to "registration field" in the draft spec...).Hi Mike,
Thanks for reviewing. Please see responses inline.
Nan
On Mon, Feb 5, 2024 at 9:33 PM Mike Taylor <mike...@chromium.org> wrote:
Hi Nan,
On 2/2/24 5:00 AM, Nan Lin wrote:
Could you help me better understand the implications of this? Does it just mean that debugging becomes challenging for new fields, or are there other possible implications depending on new OS features? Or possibly the web API lags behind what is possible via the platform, until the web API catches up formally?Contact emails
lin...@chromium.org, john...@chromium.org
Explainer
Cross App and Web Attribution Measurement
Specification
https://wicg.github.io/attribution-reporting-api/#cross-app-and-web
Summary
This is an extension to the Attribution Reporting API that has already shipped.
Currently, the Attribution Reporting API supports attributing events within a single browser instance. This proposal expands the scope of attribution to allow attributing conversions that happen on the web to events that happen off the browser on the same device, within other applications such as mobile applications, or vice-versa.
The proposal here leverages OS-level support for attribution. In particular, it gives the developer an option to allow events on the mobile web to be delegated to Android’s Privacy Sandbox, although support for other platforms could also be implemented in the future.
Note that with this proposal new features shipped by the OS may be implicitly supported without web API changes. For example, Android may ship support for new registration fields not supported in the existing Attribution Reporting API. Once a developer elects to delegate events to the OS, there is no way web-visible to introspect this.
It’s not about debugging. Currently the web API and the Android’s implementation of the Attribution Reporting API are expected to be interoperable. However it’s possible that Android may ship support for new registration fields in the OS-level API, which may or may not be supported in the web API. The web API may lag behind, or even not implement the new features at all. Once the event is delegated to the OS, the attribution registration will be handled by the OS and possibly using the new features in its API.
OK, so introspection here is not about debugging, but being able to make decisions programmatically at runtime? Is that correct?This can happen without web API change and there’s no way web-visible to introspect this.
Thanks - ignoring the PCM API proposal, my question was more along the lines of if it would be possible to implement this proposal were Blink to be shipped on iOS (rather than the current Bling architecture), i.e., do the underlying iOS APIs allow for implementing this proposal. I don't think this is a blocking concern today, but an interesting interop concern for a future state.
If Blink ever ships on iOS (at least in the EU, given recent announcements by Apple), would it be possible to expect interop between iOS and Android?Blink component
Internals > AttributionReporting
TAG review
https://github.com/w3ctag/design-reviews/issues/724#issuecomment-1908353938
TAG review status
Pending
Risks
Interoperability and Compatibility
See the Attribution Reporting API I2S for information on the other general measurement proposals in this space.
Private Click Measurement in Safari supports app to web measurement (https://webkit.org/blog/11529/introducing-private-click-measurement-pcm/#:~:text=App%2Dto%2DWeb%20Click%20Measurement). On iOS, some web to app measurement is supported via SKAdNetwork (https://developer.apple.com/documentation/skadnetworkforwebads). There is currently no interop between these proposals and the cross app web API for Attribution Reporting.
There’s no official position from WebKit yet, but there’s some concern on the interoperability between Safari’s Private Click Measurement and the Attribution Reporting API. We may expect similar concerns on supporting Attribution Reporting API on iOS, therefore would not expect interoperability between iOS and Android in the short term.
Thanks Mike.On Wed, Feb 7, 2024 at 12:50 AM Mike Taylor <mike...@chromium.org> wrote:On 2/6/24 3:59 AM, Nan Lin wrote:
Hi Mike,
Thanks for reviewing. Please see responses inline.
Nan
On Mon, Feb 5, 2024 at 9:33 PM Mike Taylor <mike...@chromium.org> wrote:
Hi Nan,
On 2/2/24 5:00 AM, Nan Lin wrote:
Could you help me better understand the implications of this? Does it just mean that debugging becomes challenging for new fields, or are there other possible implications depending on new OS features? Or possibly the web API lags behind what is possible via the platform, until the web API catches up formally?Contact emails
lin...@chromium.org, john...@chromium.org
Explainer
Cross App and Web Attribution Measurement
Specification
https://wicg.github.io/attribution-reporting-api/#cross-app-and-web
Summary
This is an extension to the Attribution Reporting API that has already shipped.
Currently, the Attribution Reporting API supports attributing events within a single browser instance. This proposal expands the scope of attribution to allow attributing conversions that happen on the web to events that happen off the browser on the same device, within other applications such as mobile applications, or vice-versa.
The proposal here leverages OS-level support for attribution. In particular, it gives the developer an option to allow events on the mobile web to be delegated to Android’s Privacy Sandbox, although support for other platforms could also be implemented in the future.
Note that with this proposal new features shipped by the OS may be implicitly supported without web API changes. For example, Android may ship support for new registration fields not supported in the existing Attribution Reporting API. Once a developer elects to delegate events to the OS, there is no way web-visible to introspect this.
It’s not about debugging. Currently the web API and the Android’s implementation of the Attribution Reporting API are expected to be interoperable. However it’s possible that Android may ship support for new registration fields in the OS-level API, which may or may not be supported in the web API. The web API may lag behind, or even not implement the new features at all. Once the event is delegated to the OS, the attribution registration will be handled by the OS and possibly using the new features in its API.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CA%2BVrgPn%2BCBi6AEExLWMrwRF9y68cs5GGQ4vhFPxXCHmwndZeCQ%40mail.gmail.com.
Thanks Nan for helping us better understand the feature.
LGTM1 given the following "...it’s possible that Android may ship support for new registration fields in the OS-level API, which may or may not be supported in the web API. The web API may lag behind, or even not implement the new features at all."
Shipping support for these new fields would require the Blink
process - so we can evaluate future additions in the future (and
I'm not worried about only supporting a subset of the OS-level API
- if there is developer demand and utility to be gained from it, I
suspect we'll eventually add support).
For example, the OS API implements a new feature, and allows developers to opt in this feature with a new field in the Attribution-Reporting-Register-Source/Trigger JSON.The web API only delegates the registration url (to which the OS API will ping) to the OS API, and the registration url can respond to OS API ping with the new field in the Attribution Reporting response headers to opt in the new feature implemented by the OS API.All the cross app web attribution is handled by the OS API. For app to web flow (an ad on a native app ends up landing on a website), the reporting origin can respond with Attribution-Reporting-Register-OS-Trigger header to delegate the trigger event to the OS API to perform the attribution within the OS API. So yes, the information flow is strictly from the web API to the OS API.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/d1f6e48f-32aa-46ad-9b9e-7237a3a664bf%40chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CA%2BVrgP%3DZDhgDguTkPXBnPOk8CpOVkxKHyBoeUR9%3D43c7p6wZuw%40mail.gmail.com.
--
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+unsubscribe@chromium.org.
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/5164e08a-c56c-4948-a72e-a2d7b86d0094n%40chromium.org.