Best practices for tracking WebView conversions

When attempting to measure or attribute a conversion for in-app WebView, we recommend taking a look at the best practices found on this page.

Web to WebView

  • Append the click ID to a deep linking URL (the click ID must be passed to WebView).
  • Remember not to pass the device ID to WebView.

This will then attribute the conversion as a web event.

App to WebView

  • Use the JavaScript interface to pass data back to your app (you can find an example of this here). Your app will then fire the conversion event with the device ID appended.

This will then attribute the conversion as an app event.

Requirements

Was this helpful?
How can we improve it?

Need more help?

Sign in for additional support options to quickly solve your issue

Search
Clear search
Close search
Google apps
Main menu
Search Help Center
true
true
false
true
true
69192
false
false