Skip to content

Releases: snowplow/snowplow-javascript-tracker

Snowplow JavaScript Tracker v2.0.1

12 Oct 03:24
Compare
Choose a tag to compare

A bug fixing release.

Bug fixes

  • Made error logging compatible with Internet Explorer (#264)
  • Fixed SauceLabs red status (#235)

Snowplow JavaScript Tracker Core v0.2.0

07 Aug 16:19
Compare
Choose a tag to compare

Extending the scope of Core to include functions previously residing in the JavaScript Tracker.

New functionality

  • Added UUID to payload (#244)
  • Added automatic timestamp generation (#243)
  • Added setter methods (#242)
  • Added timestamp parameter to tracker methods (#240)

Documentation

  • Added dependendencies field to package.json (#239)
  • Added npm button to README (#238)
  • Updated README (#237)

Snowplow JavaScript Tracker Core v0.1.0

01 Aug 11:51
Compare
Choose a tag to compare

The initial release of the Snowplow JavaScript Tracker Core. Initially used just in the Segment.io server-side integration of Snowplow.

Snowplow JavaScript Tracker v2.0.0

03 Jul 12:22
Compare
Choose a tag to compare

A major upgrade, with an all-new API, new functionality and new Iglu-based functionality.

API updates

  • Added new tag which allows queue to be renamed (#130)
  • Moved to argmap-style tracker creation with 'newTracker' (#132)
  • Passed tracker namespace through to collector in Tracker Protocol (#126)
  • Added pageUnloadTimer option to argmap (#171)

New functionality

  • Added support for namespacing (#4)
  • Added initial localStorage support for intermittent offline beacons, thanks @rcs! (#24)
  • Added new trackAdImpression, mapping to unstructured event (#13)
  • Added ad conversion tracking (#60)
  • Added ad click tracking (#59)
  • Implemented enableLinkTracking support (#51)
  • Started rigorously checking whether a page is cached by Yahoo (#142)
  • Added support for cookie namespacing (#131)

Iglu-related changes

  • Removed type hints from unstructured events and custom contexts (#163)
  • Added hardcoded schema to custom context arrays (#199)
  • Added hardcoded schema to unstructured events (#196)
  • Changed trackUnstructEvent to take a JSON containing schema and data fields (#197)

Internal changes

  • Moved fixUpUrl into its own file, called lib/proxies.js (#112)
  • Fixed duplication of querystring parameter lookup (#111)
  • Replaced cookie.js with browser-cookie-lite (#88)
  • Removed references to referral cookie (#118)
  • Added untracked files which should be ignored to .gitignore (#173)
  • Replaced hard-coded version with template value (#120)

Testing and building

  • Added tests for helpers.js (#96)
  • Added tests for detectors.js (#95)
  • Added Sauce Labs small button at top of README (#123)
  • Added Sauce full test summary widget (long bar) at bottom of README (#124)
  • Upgraded Intern to 1.5.0 (#119)
  • Fixed link to code climate button in README.md (#149)
  • Made JS invocation tag part of the build process (#158)
  • Fixed warnings generated by the Closure Compiler, thanks @steve-gh! (#170)

Documentation and examples

  • Added examples of tracker namespacing (#159)
  • Split async.html into async-small.html, async-medium.html (#160)
  • Removed ads/sync.html (#182)
  • Updated ads/async.html (#183)
  • Linked the Technical Docs and Setup Guide images to the appropriate pages (#164)

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)