Releases: snowplow/snowplow-javascript-tracker
Version 4.6.1
Version 4.6.0
4.6.0 (2025-05-01)
Version 4.5.0
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
- Avoid undelivered notifications error (#1335) thanks to @AngusMorton
Version 4.4.0
Version 4.3.1
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
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
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
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