1. Home
  2. Blog
  3. Releases
Releases

Snowplow JavaScript Tracker 2.16.0 and 2.16.1 released

Update: Version 2.16.3 is now available with additional bug fixes

We are pleased to announce a new release of the Snowplow JavaScript Tracker.

Version 2.16.x comes with a 30% file size reduction as we improve our build tooling in preparation for the upcoming major release v3.0.0. Specifically, v2.15.0 was 111KB (34KB when gzipped). The new v2.16.x is a much improved 77KB (27KB when gzipped) while maintaining exactly the same functionality.

Read on below for:

  1. Switching build tooling
  2. Update Snowplow Micro to v1
  3. Other features and bug fixes
  4. Upgrading
  5. Documentation and help

1. Switching build tooling

As originally suggested by bernardosrulzon, we have switched to using the Closure Compiler (GitHub issue #583). We have also switched to using rollup.js and gulp (GitHub issue #752). Together, these two updates reduce the sp.js filesize by 30%.

2. Update Snowplow Micro to v1

We have recently released v1.0.0 of Snowplow Micro, a very small version of a full Snowplow data collection pipeline that it can be launched by a test suite to include tracking in automated tests. You can read more about it in the release post.

While we built Snowplow Micro to enable our users to better test their Snowplow tracking, we also use it to test our tracker releases. Version 2.16.x of the JavaScript tracker switches to using Snowplow Micro v1.0.0 for testing (GitHub issue #837).

3. Other features and bug fixes

This tracker also comes with a few other under the hood improvements:

4. Upgrading

The tracker is available as a published asset in the 2.16.3 Github release. To upgrade, Snowplow BDP and Open Source users should host the 2.16.3 version of sp.js asset on a CDN, and load the tracker from there.

To quickly test new releases, the Snowplow JavaScript Tracker is now available on the jsDelivr CDN. We continue to recommend hosting sp.js yourself, however if you wish to test this release you can do so by using the assets on jsDelivr.

5. Documentation and help

Check out the JavaScript Tracker’s documentation:

The releases page on GitHub has the full list of changes made in these versions.

Finally, if you run into any issues or have any questions, please raise an issue or get in touch with us via our Discourse forums.

More about
the author

Paul Boocock
Paul Boocock

Paul is a Head of Engineering and enjoys spending his time thinking about Snowplow use cases, the ethics of data collection and user privacy. He works mainly with the teams responsible for the Snowplow Trackers and Data Models.

View author

Unlock the value of your behavioral data with customer data infrastructure for AI, advanced analytics, and personalized experiences

Image of the Snowplow app UI