Releases: snowplow/snowplow-javascript-tracker
Releases · snowplow/snowplow-javascript-tracker
Snowplow JavaScript Tracker Core v0.4.0
Snowplow JavaScript Tracker v2.1.2
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
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
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
Snowplow JavaScript Tracker Core v0.3.0
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
Snowplow JavaScript Tracker v2.0.1
Snowplow JavaScript Tracker Core v0.2.0
Snowplow JavaScript Tracker Core v0.1.0
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
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)