Skip to content

Releases: snowplow/snowplow-javascript-tracker

Snowplow JavaScript Tracker v2.4.0

16 Mar 15:00
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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)

Snowplow JavaScript Tracker v2.1.1

06 Nov 12:19
Compare
Choose a tag to compare

Fixes a bug with the way Chrome's first paint is recorded.

Bug fixes

  • Rounded chromeFirstPaint field to an integer (#282)

Snowplow JavaScript Tracker v2.1.0

05 Nov 20:59
Compare
Choose a tag to compare

Introducing some new events and contexts; general clean-up and under-the-hood improvements.

New and updated events and contexts

  • Added automated form submission tracking (#252)
  • Added internal site search event (#241)
  • Added social tracking features (#12)
  • Added trackAddToCart and trackRemoveFromCart events (#97)
  • Added PerformanceTiming context using HTML5 Web Performance API (#248)
  • Added content field to link click events (#187)

New features

  • Added ability to execute a custom callback once sp.js is loaded (#246)
  • Added forceSecureTracker boolean option to the argmap, thanks @kujo4pmZ! (#247)
  • Added event_id generation (#190)
  • No longer setting and sending tid (#218)

Bug fixes

  • Added check to ensure outQueue is an array, thanks @kevinsimper! (#277)
  • Moved context querystring to end of JS-generated beacons (#204)
  • Added guard to wait until outbound queue is empty before unloading (#202)
  • Stopped outbound queue from triggering multiple times per event (#251)

Architectural improvements

  • Integrated the Tracker Core (#255)
  • Improved efficiency of enableLinkClickTracking (#254)
  • Improved F rating for tracker.js in CodeClimate (#150)
  • Moved link click tracking into its own file (#266)
  • Made IP address regex more strict (#267)
  • Removed deprecated trackImpression method (#256)

Testing and deployment

  • Added further Intern unit tests (#76)
  • Updated expected browser fingerprints in functional detectors test (#275)
  • Started using grunt-cloudfront-clear for CloudFront cache invalidation (#230)
  • Renamed /dist to /deploy (#216)

Documentation

  • Replaced "Getting started" with Vagrant-using "Contributing quickstart" (#169)
  • Added async-large.html (#162)

Snowplow JavaScript Tracker Core v0.3.0

04 Nov 08:32
Compare
Choose a tag to compare

Laying the groundwork for the JavaScript Tracker v2.1.0.

New functionality

  • Added page scroll parameters to trackPagePing (#257)
  • Added social tracking (#258)
  • Added trackAddToCart and trackRemoveFromCart methods (#260)
  • Added trackFormChange and trackFormSubmission methods (#261)
  • Added trackSiteSearch method (#263)
  • Added content field to trackLinkClick (#262)

Under the hood

  • Applied callback to the Payload for an event rather than the event dictionary (#259)