Bug 229208 - PCM : Add ability to programmatically parse PCM anchor tags from an Ads body
Summary: PCM : Add ability to programmatically parse PCM anchor tags from an Ads body
Status: REOPENED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: Safari 14
Hardware: iPhone / iPad All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-08-17 15:00 PDT by Pranay Prabhat
Modified: 2021-08-24 15:01 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 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>