Skip to content

Releases: snowplow/snowplow-javascript-tracker

Version 4.6.1

06 May 13:17
Compare
Choose a tag to compare

4.6.1 (2025-05-06)

Bug fixes

  • Add a default 0 value for start and end in the media_element entity time ranges (#1428)

Version 4.6.0

01 May 10:05
Compare
Choose a tag to compare

4.6.0 (2025-05-01)

Version 4.5.0

04 Apr 09:27
Compare
Choose a tag to compare

4.5.0 (2025-04-04)

This release avoids the error ResiezObserver loop completed with undelivered notifications being generated under certain circumstances.

It also makes it possible to provide a custom event store implementation in the React Native tracker and use a different provider than @react-native-async-storage/async-storage.

Finally, the release adds a configurable default label ((empty)) for automatic button click tracking to prevent validation failures for buttons that are missing a label. It also fixes disabling button click tracking for specific trackers.

NOTE: The @react-native-async-storage/async-storage dependency has been moved to peer dependencies for the React Native tracker. We expect that users already had this dependency listed under the app dependencies due to it providing native bindings that needed to be installed separately. Make sure your app has this dependency when upgrading the tracker.

Enhancements

  • Allow configuring a custom event store in React Native tracker (#1413) thanks to @valeriobelli
  • Add a configurable default label in button click tracking and fix disabling for specific trackers (close #1397 and #1421)

Bug fixes

Version 4.4.0

20 Mar 12:20
Compare
Choose a tag to compare

4.4.0 (2025-03-20)

  • Bump web-vitals version (#1412)
  • Allow for usage of snowplow callback without this (close #1085)
  • Add react-native-get-random-values as a peer dependency in the React Native tracker (close #1409)

Version 4.3.1

21 Jan 11:15
Compare
Choose a tag to compare

4.3.1 (2025-01-21)

Bug fixes:

  • Update WebView tracker version WebView plugin to fix issue with tracking page view and page ping event properties

Version 4.3.0

20 Jan 11:51
Compare
Choose a tag to compare

4.3.0 (2025-01-20)

This release adds a new plugin to improve tracking in hybrid apps. Hybrid apps are mobile apps that in addition to a native interface, provide part of the UI through an embedded Web view.

The new WebView plugin can forward all web events to a configured Snowplow Android (v6.1+), iOS (v6.1+), or React Native (v4.2+) tracker.

Enhancements

  • Add WebView plugin (#1402)

Version 4.2.0

13 Jan 08:36
Compare
Choose a tag to compare

4.2.0 (2025-01-13)

Introduces the new React Native tracker fully built in JavaScript. The tracker now adds full support for the Expo Go framework and React Native for Web. It also improves global context, adds support for JavaScript tracker plugins (e.g., ecommerce and consent).

A new screen tracking plugin for the JavaScript tracker is also introduced. This plugin has full support for screen view tracking including the screen context entity and screen engagement tracking.

Enhancements

  • Add new tracker for React Native (#1377)
  • Add screen tracking plugin and add support for browser plugins (#1394)
  • Add WebView tracker integration to the React Native tracker (#1399)
  • Add app install, foreground and background event and application entity tracking (#1396)
  • Add deep link tracking to the React Native tracker (#1398)
  • Add a platform context plugin to the React Native tracker to track device information (#1395)
  • Add internal session plugin to the React Native tracker (#1388)

Under the hood

  • Silence console output in jest tests

Version 4.1.0

28 Nov 11:02
Compare
Choose a tag to compare

4.1.0 (2024-11-28)

This release adds a new appVersion configuration option to the newTracker call that will track the application version in a context entity along with all events.

It also adds the button element as a parameter in the callback function in the button click tracking plugin. Thanks to @irenehakes for the contribution!

Enhancements

  • Add appVersion configuration option to track a context entity with the application version (#1373)
  • Pass clicked element to dynamic context functions for button click tracking plugin (#1368) thanks to @irenehakes

Version 4.0.4

21 Nov 09:12
Compare
Choose a tag to compare

4.0.4 (2024-11-21)

Bug fixes

  • Fix multiple link click events tracked for a single tracker in case multiple trackers are initialized on the page (close #1384)

Version 4.0.3

20 Nov 09:36
Compare
Choose a tag to compare

4.0.3 (2024-11-20)

This release fixes an issue introduced in the v4 tracker release that caused multiple simultaneous sessions being started if a page was opened in multiple tabs/windows at once.

Bug fixes

  • Serialize new session cookie synchronously to avoid overlapping sessions (#1381)