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.
Closing this ticket for now. Need to discuss with internal iOS team first before filing the ticket here.
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
<rdar://problem/82311303>