Hi @Michael,
There is a way to retrieve the data layer from the WebView, there's an example in the sample apps that we host on Github:
https://github.com/Tealium/tealium-ios/blob/master/Samples/iOS_UIKitCatalog%2BTealium_Swift/UIKitCatalog/TealiumHelper.swift
The Function at the bottom called enableRemoteCommand set's up a function that can be triggered after a View/Link event:
class func enableRemoteCommand() {
Tealium.instance(forKey: tealiumInstanceID)?.addRemoteCommandID("testCommand", description: "An example remote command block", targetQueue: DispatchQueue.main, responseBlock: { (response: TEALRemoteCommandResponse?) -> Void in
print("Remote command response processed - \(response)")
// Put any code here that can execute on the main thread - ie content
// modification, A/B testing, etc.
})
}
In order to trigger this function, you need a "TagBridge Custom Command" tag from the marketplace in your IQ profile, and using the code from above the Command ID field would need to be "testCommand" (obviously you can change this name it just needs to match in your Tag and in your Native code.
Once you trigger a View/Link tracking event, the TagBridge tag will send the data layer in JSON format back to this function - and this should allow you to access the values you've set in your extensions.
Hope that helps.
James
... View more