JavaScript Trackers 3.1.2 released

We are pleased to announce version 3.1.2 of the Snowplow JavaScript Trackers.

Version 3.1.2

This release contains a single bug fix which was a regression from how setUserID could be used with v2 of the tracker. With v3, you could only clear the User ID with setUserId(null) however, some existing v2 implementations clear this setUserId(undefined). This update continues to allow undefined as a valid value for clearing the user id.

  • Fix undefined argument regression in setUserId and setOptOutCookie (close #991)

Upgrading

Version 3.1.2 is available as @snowplow/browser-tracker on npm, or as the tag based javascript tracker - available on GitHub Releases , jsDelivr or unpkg.

Full Changelog

Fix undefined argument regression in setUserId and setOptOutCookie (close #991)
Remove unused gulp devDependency (close #992)
Update READMEs with correct Node requirements (close #994)

2 Likes