This release fixes an issue introduced in the v4 tracker release that caused multiple simultaneous sessions being started if a page was opened in multiple tabs/windows at once. It also fixes an issue in link click tracking that produced duplicate events in case multiple trackers were initialized.
Bug fixes
- Serialize new session cookie synchronously to avoid overlapping sessions (#1381)
- Fix multiple link click events tracked for a single tracker in case multiple trackers are initialized on the page (close #1384)
Upgrading
Version 4.0.4 is available as @snowplow/browser-tracker on npm, or as the tag based javascript tracker - available on GitHub Releases , jsDelivr or unpkg.