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
Upgrading
Version 4.1.0 is available as @snowplow/browser-tracker on npm, or as the tag based javascript tracker - available on GitHub Releases , jsDelivr or unpkg.