Skip to main content

Hybrid mobile and web apps

info

This feature is available since v4.

Hybrid apps are mobile apps that in addition to a native interface, provide part of the UI through an embedded Web view. Snowplow events are tracked from both the native code (e.g., written in Swift or Kotlin) as well as the Web view (in JavaScript). Our goal is to have both events tracked from the native code as well as the Web view share the same session and appear as tracked with the same tracker.

WebView Trackerโ€‹

This use case is supported by implementing the Snowplow WebView tracker in the Web view in your app. The WebView tracker is able to pass events to the iOS/Android tracker which sends them to the collector.

Mobile & Hybrid Acceleratorโ€‹

Please refer to the Snowplow Hybrid Apps Tracking accelerator for a step-by-step guide how to set up tracking in hybrid apps.