Tracking the data of a visitor using the web view of your app is also relevant for the overall analysis. Therefore, to support web view tracking in apps, the user ever ID must be sent to the Mapp Intelligence Pixel for web pages (for example, Smart Tracking Pixel) to track the current user visit. Please ensure that the corresponding functionality is also activated in the pixel ("SendViaSDK" in Smart Pixel and "Web to App" Tracking in Pixel v5).
When using WebView tracking as described in this documentation, the user stays in the app context during the entire visit. The pixel sends the tracked data back to the SDK where the SDK uses the known user and system information. There is no session break or change in path navigation.
There are two ways to achieve this. We recommend the first approach:
First, activate JavaScript in the WebView if you use this function.
webView.settings.javaScriptEnabled = true
JAVA
Using the WebtrekkWebInterface, you transfer this object to the WebView JavaScript interface: