Snowplow Android and iOS Trackers version 4.0 and WebView Tracker version 0.1.0 released

We are pleased to announce the release of our mobile trackers: Snowplow iOS Tracker and Android Tracker version 4.0. In addition, we are happy to announce the first release of the WebView Tracker that enables passing events to the iOS and Android trackers from embedded Web views.

These releases bring two exciting new features to the trackers: support for hybrid apps, and anonymous tracking.

Support for hybrid apps enables tracking Snowplow events in Web views. The iOS and Android trackers communicate with the WebView tracker that can be installed in Web apps to track events. This enables events to share the same session and context entities as events tracked using the native mobile trackers!

Anonymous tracking is a tracker feature that enables anonymising various user and session identifiers to support user privacy in case consent for tracking the identifiers is not given. Similar to the JavaScript tracker, the mobile trackers let you configure user anonymisation (using the userAnonymisation flag in TrackerConfiguration) to anonymise user identifiers in session and platform context and server anonymisation (using the serverAnonymisation flag in EmitterConfiguration) to anonymise the network_userid and user_ipaddress properties assigned by the Collector.

Other changes in the trackers include improvements in remote configuration that now supports switching between multiple remote configuration endpoints and gives feedback of where the configuration was retrieved from (from cache, default values or fetched over network). Additionally, the tracker.track(event) function now returns the event ID. Thanks to an external contribution from @onato, the iOS tracker can now be utilized in share extensions.

We are also excited to announce major improvements to the documentation that now gives more guidance on how to make use of all the tracker features!

You can read more about the release in this blog post.

CHANGELOG

Android tracker

Enhancements:

  • Add interface to subscribe for events tracked in Web views (#531)
  • Add anonymous tracking features (#540)
  • Return tracked event ID from the track method (#544)
  • Extend the onSuccess callback when setting up remote configuration to pass configuration state (#694)

Bug fixes:

  • Do not resume remote configuration from cache in case it has different endpoint (#533)

Under the hood:

  • Fix default session timeout values to 30 minutes everywhere (#542)

iOS tracker

Bug fixes:

  • Do not resume remote configuration from cache in case it has different endpoint (#688)
  • Fix too many events tracked by screen view autotracking (#689)
  • Ignore trailing slashes in the network configuration endpoint (#695)

Enhancements:

  • Add interface to subscribe for events tracked in Web views (#691)
  • Add anonymous tracking features (#702)
  • Return tracked event ID from the track method (#710)
  • Extend the onSuccess callback when setting up remote configuration to pass configuration state (#694)
  • Add support for tracking events in a Share Extension (#700) (thanks to @onato)

Under the hood:

  • Fix default session timeout values to 30 minutes everywhere (#708)
  • Upgrade deprecated macOS and XCode versions in Github actions (#696)

Snowplow Android Tracker version 4.0 is available on Maven Central.
The project’s source code can be found here.

Snowplow iOS Tracker version 4.0 is available on Cocoapods.
The project’s source code can be found here.

4 Likes