Skip to content

Releases: snowplow/snowplow-javascript-tracker

Version 2.18.0

14 May 12:47
Compare
Choose a tag to compare
Version 2.18.0

Version 3.0.3

21 Apr 12:41
Compare
Choose a tag to compare

3.0.3 (2021-04-21)

Updates

Fix race condition when using Form and Link Click tracking (#962)

Version 3.0.2

15 Apr 21:13
Compare
Choose a tag to compare

3.0.2 (2021-04-15)

Updates

Remove compatMode check in activity tracking page offsets (#958)

Version 3.0.1

14 Apr 16:35
Compare
Choose a tag to compare

3.0.1 (2021-04-14)

Updates

Fix types on buildPageView in tracker-core (#947)
Fix typo in link-click-tracking plugin (#946)
Mark packages as sideEffect: false (#951)
Add peerDependencies to plugins (#950)

Under the hood

Fix GitHub Action not tagging the Rush commits (#944)
Add unit tests to plugin track* functions (#954)
Fix link to documentation in README.md (#949)
Bump lodash to 4.17.21 (#953)
Bump rush to 5.43 (#952)

Version 3.0.1-beta.1

14 Apr 08:43
Compare
Choose a tag to compare
Version 3.0.1-beta.1 Pre-release
Pre-release

3.0.1-beta.1 (2021-04-14)

Version 3.0.0

31 Mar 15:36
Compare
Choose a tag to compare

3.0.0 (2021-03-31)

This release introduces Version 3.0 of our JavaScript trackers which includes an updated sp.js tag based JavaScript tracker and @snowplow/node-tracker as well as our long awaited @snoplow/browser-tracker, available on npm.

This means we now have a number of options when it comes to capturing behavioural data from the web. You can continue to use our tag based solution, by either embedding the tag in your website or from a tool such as Google Tag Manager. Alternatively, you can now install the tracker directly from npm and embed the tracker directly into your web app (npm install @snowplow/browser-tracker). This is a great option for those building modern web apps in technologies such as React, Angular and Vue.

Whats new?

There is quite a lot going on in this release but the main features are:

  • Available on NPM as @snowplow/browser-tracker . Install with npm install @snowplow/browser-tracker.
  • Now with configurable (and extendable) plugin architecture. These plugins are also published on NPM (e.g. @snowplow/browser-plugin-ad-tracking and @snowplow/browser-plugin-consent ).
  • New API, you should now pass objects rather than parameter lists (e.g. window.snowplow('trackPageView', { title: 'My Website', contexts: [ ... ] }); )
  • Introducing a new smaller asset. We're publishing as traditional sp.js (69.64 KB - 22.14 KB gzipped) and new sp.lite.js (37.85 KB - 13.08 KB gzipped). sp.lite.js has no Plugins included but does include Page View, Self Describing and Structured Events as well as Activity Tracking and Anonymous Tracking.
  • Build your own sp.js by following these instructions.
  • Completely rewritten in TypeScript, shipped with full type support.

Getting started

Migration Guide

If you're using the current tag based solution and you'd like to upgrade, you can take a look at the migration guide here: https://docs.snowplowanalytics.com/docs/collecting-data/collecting-from-own-applications/javascript-trackers/javascript-tracker/v2-to-v3-migration-guide/

Installing from npm

To get started with installing from NPM, you can follow our setup guide here: https://docs.snowplowanalytics.com/docs/collecting-data/collecting-from-own-applications/javascript-trackers/browser-tracker/browser-tracker-v3-reference/tracker-setup/

Documentation

You'll find more updated documentation here: https://docs.snowplowanalytics.com/docs/collecting-data/collecting-from-own-applications/javascript-trackers/

v3.0.0-beta.5

28 Mar 21:16
Compare
Choose a tag to compare
v3.0.0-beta.5 Pre-release
Pre-release
Version 3.0.0-beta.5

v3.0.0-beta.4

23 Mar 21:24
Compare
Choose a tag to compare
v3.0.0-beta.4 Pre-release
Pre-release
Version 3.0.0-beta.4

v3.0.0-beta.3

23 Mar 18:58
Compare
Choose a tag to compare
v3.0.0-beta.3 Pre-release
Pre-release
Version 3.0.0-beta.3

v3.0.0-beta.2

22 Mar 14:42
Compare
Choose a tag to compare
v3.0.0-beta.2 Pre-release
Pre-release
Version 3.0.0-beta.2