Skip to content

Releases: snowplow/snowplow-javascript-tracker

Snowplow JavaScript Tracker v2.8.0

18 May 10:14
Compare
Choose a tag to compare

This release brings improvements in the area of in-browser user privacy and support to OptimizelyX and Parrable contexts.

New features

  • Add support for users opting out of state tracking using cookie or localStorage (#459)
  • Add support for recording state in localStorage rather than cookies (#506)
  • Add support for not recording any state (#563)
  • Add Parrable context (#525)
  • Add support for OptimizelyX context (#551)
  • Provide read-only access to domainSessionIndex (#573)
  • Provide read-only access to cookieName (#574)
  • Provide read-only access to pageViewId (#575)

Under the hood

  • Update README markdown in according with CommonMark (#561)
  • Prevent multiple setInterval from being created (#571)
  • Guard against non-integer values for minimumVisitLength and heartBeatDelay (#572)

Deprecations

  • Deprecate useCookies (#565)
  • Deprecate useLocalStorage (#566)

Bug fixes

  • Exclude password fields from form tracking (#521)

Snowplow JavaScript Tracker v2.7.2

07 Mar 13:07
Compare
Choose a tag to compare

Bugfix release.

Bug fixes

  • Add defensive check for window.optimizely.data in getOptimizelyStateContexts (#555)

Snowplow JavaScript Tracker v2.7.1

06 Mar 16:21
Compare
Choose a tag to compare

Bugfix release.

Bug fixes

  • Add defensive check for window.optimizely.data (#553)

Snowplow JavaScript Tracker v2.7.0

09 Jan 15:47
Compare
Choose a tag to compare

Introduces Optimizely summary context, exception tracking and many internal refactorings.

Testing and deployment

  • Add CI/CD (#529)
  • Add ngrok credentials (#527)
  • Add Sauce Labs credentials (#528)
  • Add npm credentials to .travis.yml (#536)
  • Add AWS credentials to .travis.yml (#537)
  • Remove random upload path (#538)
  • Restrict package versions (#522)
  • Update Selenium version to 2.48.0 (#487)
  • Fix integration tests suite (#523)
  • Get Code Climate badge to green (#152)
  • Add date for release 2.6.2 to CHANGELOG (#520)

New features

  • Add ability to set true timestamp (#484)
  • Add an option to change life of the visitor cookie, or disable, on tracker creation (#504)
  • Make tracker Content Security Policy (CSP) compliant (#490)
  • Add Optimizely summary context (#466)
  • Add the option to regenerate the page view ID with each page view event (#436)
  • Add automatic & manual tracking of JS errors to JavaScript tracker (#16)
  • Add timestamp argument for tracking methods (#532)

Under the hood

  • Bump Core version to 0.5.0 (#301)
  • Remove deprecated visibility state check (#470)
  • Add trackSelfDescribingEvent method (#471)

Snowplow JavaScript Tracker Core v0.5.0

09 Jan 15:42
Compare
Choose a tag to compare

Release with initial refactoring in TypeScript.

New features

Add support of true timestamp (#531)
Add trackSelfDescribing method (#533)

Under the hood

Port to TypeScript (#526)
Only send custom contexts if non-empty array (#540)

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)