Bug 231094 - Can Private Click Measurement support window.open()?
Summary: Can Private Click Measurement support window.open()?
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: Safari 15
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-10-01 13:08 PDT by ymou
Modified: 2021-10-08 13:09 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ymou 2021-10-01 13:08:56 PDT
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!
Comment 1 John Wilander 2021-10-03 23:00:13 PDT
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?
Comment 2 John Wilander 2021-10-03 23:02:50 PDT
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
Comment 3 ymou 2021-10-04 10:05:25 PDT
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!
Comment 5 Radar WebKit Bug Importer 2021-10-08 13:09:17 PDT
<rdar://problem/84040111>