Snowplow JavaScript Tracker v2.16.0 released

Please update to 2.16.2: Snowplow JavaScript Tracker 2.16.2 released

We’re pleased to announce the latest Snowplow JavaScript Tracker release. This release has seen many improvements to the build process as we continue on our journey to version 3 of the tracker. However, these build changes have led to considerable improvements in the file size so we wanted to share a v2 release so you can enjoy these improvements now.

Available on Github: https://github.com/snowplow/snowplow-javascript-tracker/releases/tag/2.16.0

v2.15.0 came in in 111KB (34KB when gzipped). The new v2.16.0 is a much improved 77KB (27KB when gzipped). This is ~30% smaller (or ~20% when gzipped) with the exact same functionality.

We’ve achieved this by switching to rollup.js and the closure compiler.

We’ve also made a few other under the hood improvements, such as switching to GitHub Actions and updating to Snowplow Micro v1 for our integration tests.

Changelog
Use Closure Compiler to reduce sp.js size (#583)
Switch to rollup and gulp (#752)
Switch to Github Actions (#844)
Add license banner to rollup builds (#845)
Bump snowplow-tracker-core to 0.9.2 (#841)
Update Snowplow Micro to v1 (#837)

3 Likes

An update for this release which fixes a bug with the tracker version is now available: Snowplow JavaScript Tracker 2.16.1 released

An update for this release which fixes a bug with enhanced ecommerce contexts is now available: Snowplow JavaScript Tracker 2.16.2 released