Bug 229208

Summary: PCM : Add ability to programmatically parse PCM anchor tags from an Ads body
Product: WebKit Reporter: Pranay Prabhat <pranay.prabhat>
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: REOPENED ---    
Severity: Normal CC: pranay.prabhat, webkit-bug-importer, wilander
Priority: P2 Keywords: InRadar
Version: Safari 14   
Hardware: iPhone / iPad   
OS: All   

Description Pranay Prabhat 2021-08-17 15:00:24 PDT
For javascript based ads rendered in WKWebView within an iOS app, a tap on the ad will require a specific event which could in turn help the app native code to trigger openURL call to the destination page after populating with UIEventAttribution data structure with the required fields such as sourceIdentifier, reportEndpoint etc. 

Since fields like sourceIdentifier, reportEndpoint etc. will be specific to the Ad and will likely be embedded within the body of the ad, some mechanism is needed to parse this data out from the ad and help populate the UIEventAttribution data structure.
Comment 1 Pranay Prabhat 2021-08-19 07:58:51 PDT
Closing this ticket for now. Need to discuss with internal iOS team first before filing the ticket here.
Comment 2 Pranay Prabhat 2021-08-23 07:51:22 PDT
Confirmed with internal iOS team. This ticket is good to go from our side and we are happy to answer any question from the WebKit team
Comment 3 Radar WebKit Bug Importer 2021-08-24 15:01:22 PDT
<rdar://problem/82311303>