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)