Skip to content

Releases: snowplow/snowplow-javascript-tracker

Snowplow JavaScript Tracker v1.0.3

27 Jun 23:43
Compare
Choose a tag to compare

Fixing a character encoding bug.

Bug fixes

  • Changed Base64 encoding function to prevent character encoding errors, thanks @shermozle! (#231)

Snowplow JavaScript Tracker v1.0.2

24 Jun 17:10
Compare
Choose a tag to compare

Fixes some small but annoying bugs.

Bug fixes

  • Added guard to prevent document size field from being set as "NaNxNaN" (#220)
  • Fixed Grunt publish tasks to build sp.js as well as upload it to S3 (#224)
  • Added cache control to Grunt upload for full semantic version (#225)

Snowplow JavaScript Tracker v1.0.1

09 Apr 12:24
Compare
Choose a tag to compare

Fixing a bug related to the way we were bundling the lodash library. This issue prevented the Snowplow JavaScript Tracker from initializing when in the presence of other JavaScripts using AMD-based loading (with AMD's define global).

Bug fixes

  • Fixed lodash.js to work in the presence of AMD modules (#165)
  • Added missing variable declarations (#166)

Snowplow JavaScript Tracker v1.0.0

27 Mar 11:29
Compare
Choose a tag to compare

Our 1.0.0 release! Lots of infrastructural improvements, some new features (like offline storage) and removing some very old deprecations.

New features

  • Added user fingerprinting on/off switch and configurable hash seed (#7)

Testing & CI

  • Added Intern unit tests for payload.js (#5)
  • Wrote tests for AsyncQueueProxy (#100)
  • Moved functions from identifers.js into payload.js and wrote Intern tests for them (#108)
  • Added Travis CI to the project (#103)
  • Added codeclimate button to README (#137)

Build & documentation

  • Added named Grunt tasks (#86)
  • Added a built with Grunt button to the README (#102)
  • Added extra meta-data to package.json (#83)
  • Moved part of banner.js into Gruntfile with grunt-concat's banner option so its values are based on package.json (#82)
  • Added getting started info for developers to README, thanks @pkallos! (#129)

Architectural changes

  • Started using Browserify for modules (#74)
  • Replaced some/all of lib/.js with modules (#7)
  • Tightened public API for SnowPlow (#29)
  • Renamed SnowPlow everywhere to Snowplow (#69)
  • Prepended window. or SnowPlow.windowAlias. onto _snaq everywhere (#39)
  • Moved hasSessionStorage and hasLocalStorage into detectors.js (#91)
  • Replaced all functions in identifiers.js which are directly available from lodash (#85)
  • Removed legacy Piwik plugin framework (#56)

Deprecations

  • Removed attachUserId as fully deprecated now (#64)
  • Removed setSiteId as fully deprecated now (#63)
  • Removed getVisitor-Id, -Info as fully deprecated now (#62)
  • Removed trackEvent as fully deprecated now (#61)
  • Deprecated trackImpression (#66)

Snowplow JavaScript Tracker v0.14.1

12 Mar 14:20
Compare
Choose a tag to compare

A single bug fix for the code underlying the setUserIdFrom* methods.

Bug fixes

  • Fixed bug where fromQuerystring was matching fragments instead of just the querystring (#116)

Snowplow JavaScript Tracker v0.14.0

12 Feb 17:30
Compare
Choose a tag to compare

Some neat new features, and introducing a Grunt-based build process.

New features

  • Introduced gzipped sp.js library (#48)
  • Added setUserIdFromReferrer and setUserIdFromLocation (#57)
  • Added ability to pass a referrer to Snowplow from an IFRAME (#1)
  • Tested setDoNotTrack and renamed it to respectDoNotTrack (#28)
  • Added setUserIdFromCookie (#78)

Grunt-based build process

  • Switched deployment to use Grunt (#58)
  • Replaced snowpak.sh with Grunt and grunt-yui-compressor (#53)
  • Updated grunt and intern dependencies (#54)

Tidy up

  • Removed all DEBUG blocks from codebase (#65)
  • Renamed requestStringBuilder to payloadBuilder and moved it into its own file, payload.js (#55)
  • Moved detect...() functions into new file context.js (#37)
  • Moved cookie-related functionality into new file cookie.js (#77)
  • Removed getLegacyCookieName as no longer needed for migrating cookie IDs (#50)

Snowplow JavaScript Tracker v0.13.1

12 Feb 17:46
Compare
Choose a tag to compare

Fixing an important bug which meant dtm (client timestamp) was no longer being sent.

Bug fixes

  • Fixed bug where non-String values are not being added to our payload (#71)

Snowplow JavaScript Tracker v0.13.0

12 Feb 17:46
Compare
Choose a tag to compare

New functionality (custom contexts, transaction currencies, setPlatform) and some general tidy-up.

New functionality

  1. Added custom unstructured contexts (#49)
  2. Added currency field to ecommerce transactions (#34)
  3. Added setPlatform support, thanks @rcs! (#25)

Small additions

  • Added base64decode to Tracker (#36)
  • Added null check to requestStringBuilder() (#40)
  • Added array helpers (#41)
  • Fixed (harmless) bug in base64.js (#35)

Project tidy-up

  • Added fully retrospective CHANGELOG (#20)
  • Switched to Semantic versioning & only put MAJOR version in hosted path to snowplow.js (#47)
  • Added package.json (#38)
  • Added retrospective tags back in (#22)
  • Restructured folders (#21)
  • Update .gitignore to be node-friendly .gitignore (#52)