Skip to content

Releases: snowplow/snowplow-javascript-tracker

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)

Snowplow JavaScript Tracker v2.0.2

20 Oct 22:21
Compare
Choose a tag to compare

A bug fixing release.

Bug fixes

  • Changed default configCookiePath to "/" (#250)

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)