Hello! We are working on integrating with Private Click Measurement for web-to-web events. Will PCM also support "window.open()" for decorating links with PCM attributes? From the public docs + our initial testing on Safari 15, it is not supported. For context, because our website's click throughs needs to handle various other features like spam detection and event logging, we prevent the anchor tag's default behavior and instead ultimately delegate to use "window.open()" to navigate the user offsite. It would be great to have this support for us to fully integrate with PCM. (For reference, Google's Attribution Reporting API offers it in this way: https://github.com/WICG/conversion-measurement-api/blob/main/event_attribution_reporting_clicks.md#registering-attribution-sources-for-windowopen-navigations, which does work for our use case.) Thanks!
Thanks for filing! I assume support for window.open() comes with a requirement to opt in to no opener so that the two windows cannot communicate after the second has been opened. Do you know if Attribution Reporting API has included that requirement?
Regardless, this is a request for the standards proposal rather than for WebKit. Please file here instead: https://github.com/privacycg/private-click-measurement/issues
Actually I'm not sure about about the no opener part for Attribution Reporting API, but that sounds like a good idea. I will file an issue in the PCM GitHub. Thanks!
Submitted here: https://github.com/privacycg/private-click-measurement/issues/93
<rdar://problem/84040111>