Skip to content

Releases: snowplow/snowplow-javascript-tracker

Snowplow JavaScript Tracker v2.6.2

14 Jun 17:14
Compare
Choose a tag to compare

Bugfix release.

Bug fixes

  • Add date for release 2.6.1 to CHANGELOG (#495)
  • Don't send invalid viewport dimensions (#488)
  • Check whether elements of navigator.plugins array are undefined (#492)
  • Only call navigator.javaEnabled on instances of Navigator (#491)
  • Stop using String.startsWith (#493)
  • Ensure page view ID is passed to synchronous tracker (#485)

Snowplow JavaScript Tracker v2.6.1

14 Apr 15:42
Compare
Choose a tag to compare

Bugfix release ensuring that link click tracking works for links with no CSS classes.

Bug fixes

  • Prevent CSS class listing from failing for elements with no CSS classes (#473)

Testing

  • Explicitly set suites field in Intern config (#475)

Version 2.6.0

03 Mar 17:24
Compare
Choose a tag to compare

This release brings turnkey Optimizely and Augur.io integration, and rolls out support for Enhanced Ecommerce tracking

Bug fixes

  • Ensured that PerformanceTiming context doesn't contain properties inherited from Object.prototype (#458)
  • Respected doNotTrack in IE 11 and Safari 7.1.3+, thanks @grzegorzewald! (#440)

New functionality

  • Added subset of Augur data as a new context (#386)
  • Added Optimizely contexts (#448)
  • Added trackEnhancedEcommerceAction() method (#452)
  • Added addEnhancedEcommerceActionContext() method (#453)
  • Added addEnhancedEcommerceImpressionContext() method (#454)
  • Added addEnhancedEcommerceProductContext() method (#455)
  • Added addEnhancedEcommercePromoContext() method (#456)

Under the hood

  • Added forceUnsecureTracker Tracker argument, thanks @bloodyowl! (#374)
  • Added deprecation warning to setSessionCookieTimeout (#394)
  • Added setting to automatically use top-level domain for duid (#409)
  • Made domainUserId a UUID (#274)
  • Attached device sent timestamp (stm) to events at last possible moment (#355)
  • Attempting to create a new tracker using an existing namespace should do nothing (#411)

CI

  • Bumped ngrok version used in CI to 2.x (#460)

Deployment

  • Using a different library to publish to S3 (#422)
  • Prevented error running grunt-cloudfront (#426)
  • Allowed random upload path in grunt task (#461)

Snowplow JavaScript Tracker v2.5.3

10 Nov 13:14
Compare
Choose a tag to compare

This release fixes two bugs and updates the build process to be compatible with Node.js 4.1.2.

Bugfixes

  • Made extraction of DOM element classes compatible with IE9 (#418)
  • Stopped dereferencing undefined nodes when setting up form tracking (#423)

Under the hood

  • Bumped Intern version to 3.0.6 (#370)
  • Bumped version of temporary to 0.0.8 (#425)
  • Bumped grunt-yui-compressor to 0.4.0 (#424)
  • Bumped grunt-browserify to 3.28.1 (#427)
  • Fixed jstimezonedetect version at 1.0.5 (#429)
  • Removed Browserify from devDependencies (#428)

Testing and deployment

  • Bumped Node version to 4.1.2 in .travis.yml (#420)
  • Bumped Intern version to 3.0.6 (#370)

Snowplow JavaScript Tracker v2.5.2

13 Aug 16:16
Compare
Choose a tag to compare

Bugfix release.

Bug fixes

  • Prevented the tracker from setting cookies on initialization if "useCookies" is disabled (#403)

Testing

  • Removed tests for unsupported environments (#406)

Snowplow JavaScript Tracker v2.5.1

27 Jul 13:55
Compare
Choose a tag to compare

Bugfix release.

Bug fixes

  • Fixed prerender detection (#391)
  • Made page title tracking dynamic (#392)
  • Added warning about using a file URL to example pages (#397)

Snowplow JavaScript Tracker v2.5.0

22 Jul 11:12
Compare
Choose a tag to compare

Release adding new features including session IDs and page view IDs.

New features

  • Generated a unique session ID for each new session (#347)
  • Added a page view UUID (#369)
  • Maintained visit count when cookies are disabled (#388)
  • Added ability to configure the session cookie timeout in the argmap (#383)
  • Removed configWriteCookies setting (#390)
  • Added ability to pass a context-generating function to trackPageView (#372)
  • Removed deprecated performanceTiming argument to trackPageView (#375)

Under the hood

  • Bumped payload_data schema to 1-0-3 (#385)

Testing and deployment

  • Added Grunt task to build the tracker skipping the lodash and minification tasks (#382)
  • Updated browser feature detection tests (#378)

Snowplow JavaScript Tracker v2.4.3

15 Apr 15:19
Compare
Choose a tag to compare

Bugfix release improving cross-domain tracking functionality.

Bug fixes

  • Set the ID cookie as soon as the tracker loads
  • Updated the session count as soon as the tracker loads
  • Made single events exceeding the maximum POST request size attempt to fire exactly once
  • Fixed querystring decoration for links with inner elements

Documentation

  • Added license button to README

Snowplow JavaScript Tracker v2.4.2

07 Apr 16:03
Compare
Choose a tag to compare

Bugfix release preventing the Tracker from sending arbitrarily large POST requests.

Bug fixes

  • Set a maximum size for POST requests (#353)
  • Fixed QuotaExceededError bug (#352)

Snowplow JavaScript Tracker v2.4.1

27 Mar 10:46
Compare
Choose a tag to compare

Bugfix release reducing duplicate events.

Bug fixes

  • Counted any 2xx or 3xx collector response to a POST request as successful (#343)
  • Counted any 4xx or 5xx collector response to a POST request as failed (#344)
  • Prevented the localStorage event buffer from being flushed more than once simultaneously (#345)
  • Cancelled the XMLHttpRequest timeout callback when the request fails (#348)
  • Stopped adding null PerformanceTiming context (#354)