Skip to content

Releases: snowplow/snowplow-javascript-tracker

Snowplow JavaScript Tracker v2.4.3

15 Apr 15:19

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

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

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)

Snowplow JavaScript Tracker v2.4.0

16 Mar 15:00

Choose a tag to compare

Introduces the ability to track users cross-domain and adds the timing event.

New features

  • Added ability to modify links enabling cross-domain tracking (#109)
  • Added timing event (#320)
  • Added common contexts to link_click, change_form, and submit_form events (#340)

Bug fixes

  • Increased safety of document size detection (#334)
  • Stopped caching page URL and referrer URL (#337)
  • Stopped caching PerformanceTiming context (#339)

Testing and deployment

  • Started randomly generating ngrok subdomain in integration tests (#333)
  • Fixed Vagrant setup to always use latest Peru version (#336)

Snowplow JavaScript Tracker v2.3.0

03 Mar 15:58

Choose a tag to compare

Introduces support for sending events via POST, as well as some new contexts and customisable form tracking. Adds dedicated Vagrant setup and new tests.

New features

  • Added support for sending events via POST (#168)
  • Added support for batching events (#186)
  • Added ability to whitelist or blacklist specific forms and specific form fields (#287)
  • Added ability to send geolocation context with all events (#191)
  • Added ability to send context containing all GA cookies with all events (#253)
  • Started sending PerformanceTiming context with all events (#317)
  • Improved document height detection (#236)

Bug fixes

  • Stopped sending NaN for page scroll offsets (#324)

Testing and deployment

  • Added dedicated Vagrant setup (#312)
  • Added Vagrant "push core" to build and publish Tracker Core (#315)
  • Added Vagrant "push tracker" to build and deploy JavaScript Tracker (#313)
  • Added integration tests (#154)
  • Added functional tests for document size detection and browser features (#270)
  • Renamed deploy to dist (#319)

Under the hood

  • Removed dependency on fblundun fork of grunt-yui-compressor (#172)

Snowplow JavaScript Tracker v2.2.2

03 Mar 12:02

Choose a tag to compare

Fixed a bug in the detection of minimum and maximum page scroll

Bug fixes

  • Corrected time at which minimum and maximum scroll offsets are reset (#325)

Snowplow JavaScript Tracker v2.2.1

28 Jan 00:17

Choose a tag to compare

Various bug fixes

  • Fixed QuotaExceededError bug with localStorage in Safari (#308)
  • Stopped sending empty PerformanceTiming context (#306)
  • Prevented PerformanceTiming context being sent multiple times (#309)
  • Stopped automatically setting Cloudfront URL in synchronous tracker, thanks @vassilevsky! (#311)
  • Fixed lodash-cli version at 2.4.2 (#314)
  • Prevented accidental publication of snowplow-tracker to npm (#300)
  • Added missing tid ticket to CHANGELOG under 2.1.0 (#302)

Snowplow JavaScript Tracker v2.2.0

15 Dec 14:00

Choose a tag to compare

Now making it easy to access domain user ID, fingerprint etc from outside the tracker.

New features

  • Made trackerDictionary object available in onload callbacks, thanks @murphybob! (#294)
  • Added public method to get duid (#289)
  • Added public method to get user fingerprint (#288)
  • Added ability to disable use of localStorage (#181)
  • Added ability to disable cookies (#140)

Bug fixes

  • Ensured all page offsets are integers (#291)
  • URL encoded custom contexts if base 64 encoding is disabled (#299)

Under the hood

  • Added bundle.js to deploy/.gitignore (#281)
  • Started using grunt-cloudfront for cache invalidation (#276)

Snowplow JavaScript Tracker Core v0.4.0

03 Dec 12:07

Choose a tag to compare

Small update to allow an empty array of contexts to be sent

Under the hood

Updated contexts schema to 1-0-1 (#292)
Added ability to send an empty contexts array (#296)

Snowplow JavaScript Tracker v2.1.2

15 Nov 14:11

Choose a tag to compare

Fixed a bug with the NavigationTiming context, affecting old Chrome versions.

Bug fixes

  • Removed requestEnd field from PerformanceTiming context (#285)