---
title: Changelog - Web
description: The Contentsquare Tracking Tag changelog
lastUpdated: 13 March 2026
source_url:
  html: https://docs.contentsquare.com/en/web/changelog/
  md: https://docs.contentsquare.com/en/web/changelog/index.md
---

📬 Stay updated!

Which version of the Tag is deployed on my website?

Check your Tag version with the Contentsquare Tracking Setup Assistant Chrome extension:

![](https://docs.contentsquare.com/_astro/ctsa-find-tag-version.DhHymJD__ZqzAQE.webp)

## 15.196.0 - March 12th, 2026

**Features**

* **Experience Analytics:** Listen to commands and update page context.
* **Session Replay:** Use Session Replay Masking on SVG image's `href`.
* **Metrics:** Add metrics service to Shopify tag.

## 15.193.7 - March 5th, 2026

**Features**

* **Core:** Enable support for inlined sourcemaps

**Bug Fixes**

* **Core:** Enable tree-shaking of FastDOM class when FASTDOM feature flag is disabled.
* **Product Analytics:** Write and read Product Analytics cookies from the xdframe single domain.
* **Identity:** Guard calls to `window.crypto` with hashing supported check.

## 15.188.4 - February 26th, 2026

**Features**

* **Experience Analytics:** Add command to start in autonomous iframe.

**Bug Fixes**

* **Experience Analytics:** Increment pageview count correctly when session already exists in Shopify checkout.
* **Metrics:** Report Tracking Tag startup errors.
* **Product Analytics:** Write and read Product Analytics cookies from and to the xdframe-single-domain.

## 15.186.3 - February 20th, 2026

**Features**

* **Experience Analytics:** Redact OAuth tokens in URL.
* **Product Analytics:** Add experimental flag to use collectTargetText for disableTextCapture in `cs_sideloads_heap`.

**Bug Fixes**

* **Experience Analytics:** Do not throw on Salesforce check.
* **Metrics:** Safer page load timing collection.

## 15.181.0 - February 12th, 2026

**Features**

* **Experience Analytics:** Add check for Salesforce framework.
* **Experience Analytics:** Capture ClickTale command calls.
* **Experience Analytics:** Support collect state and targeting rules for Shopify.
* **Metrics:** Improve INP contribution tracking.
* **Metrics:** Track form-associated custom element feature usage.

**Bug Fixes**

* **Tag Configurator:** Change use closest to be false by default in 'Element Becomes Visible' trigger.
* **Errors:** Handle Error object in `sendLog`.
* **Session Replay:** Convert non-string attributes values to string.

## 15.176.1 - February 5th, 2026

**Features**

* **Metrics:** Normalize outlier parameter names.
* **Metrics:** Track metrics for dual collection status.
* **Metrics:** Track metrics for network requests other than metric network requests.

## 15.174.2 - January 29th, 2026

**Features**

* **Tag Configurator:** Remove unused CSTC submit command template.
* **Experience Analytics:** Add missing commands in iframe mode.
* **WebView:** Add check on file-served webviews.

## 15.169.0 - January 22nd, 2026

**Features**

* **Product Analytics:** Change pageview request to POST and attach custom properties.
* **Product Analytics:** Support Heap identity and user properties APIs for crosswriting.
* **Experience Analytics:** Send Shopify customer ID as Dynamic Variable for GDPR compliance.

**Bug Fixes**

* **Experience Analytics:** Don't activate ElementBecomesVisibleTrigger on added child.
* **Static Resource Manager:** Use the correct global context instead of hard coded `self`.

## 15.167.3 - January 13th, 2026

**Features**

* **Experience Analytics:** Collect quirks mode for DOM analysis.
* **Session Replay:** Capture LocalStorage errors with warning.
* **Session Replay:** Add state cleanup processor.
* **Product Analytics:** Support client-side Shopify source.
* **Session Replay:** Implement shared context compression.

**Bug Fixes**

* **Core:** Fix XHR async configuration for Safari.
* **Session Replay:** Ignore attributes with non-string values in masking processor.
* **Product Analytics:** Prevent event ingestion after ShopifyProducer stops.
* **Product Analytics:** Add missing `v` parameter on transaction call.
* **Core:** Add default timeout for XHR POST requests.
* **Product Analytics:** Fix cookie domain calculation to use root domain instead of subdomain.

## 15.163.0 - December 18th, 2025

**Features**

* **Experience Analytics:** Enable shared context cookie by default.
* **Product Analytics:** Update download-time and transfer-size metrics.
* **Experience Analytics:** Improve error reporting.
* **Session Replay:** Track custom input properties.
* **Dual Collection:** Add support for state change API.
* **Product Analytics:** Remove `submit_command` event.

**Bug Fixes**

* **Experience Analytics:** Move current URL to local storage in shared context.
* **Experience Analytics:** Capture `previousUrl` in shared context collection only if hostname matches current hostname.
* **Webviews:** Disable local assets masking in `serializeWebview` command.

## 15.158.2 - December 11th, 2025

**Features**

* **Webview:** Support custom properties.

**Bug Fixes**

* **Errors:** Do not send errors when the user session has expired.

## 15.154.4 - November 20th, 2025

**Features**

* **WebView:** Add custom analysis event enhancer (Product Analytics Screenshots).
* **Product Analytics:** Add custom pageview and event properties to analysis events.

**Bug Fixes**

* **Experience Analytics (Free and Growth)**: Fix a data collection issue when targeting rules are enabled.
* **Session Replay:** Fix an issue with workers when Session Replay feature is enabled.
* **Session Replay:** Fix an issue where CSS content is scanned for personal data.

## 15.150.0 - November 13th, 2025

**Bug Fixes**

* **Analytics:** Fix an issue with `setPath` and `setQuery` override duration.

**Features**

* **Session Replay:** Remove worker for sending data to Contentsquare servers.
* **Experience Analytics:** Collect loading performance metrics.
* **Product Analytics:** Improve handling of Product Analytics commands misuses.
* **Product Analytics:** Add custom analysis event enhancer (Product Analytics Screenshots).
* **Session Replays:** Improve how session replays events are produced.
* **Analytics:** Implement Manual Start Mode and Start and Stop data collection commands.

## 15.140.1 - October 23th, 2025

**Features**

* **WebView:** Support for custom **Experience Analytics** events.

**Bug Fixes**

* **Voice of Customer:** Improved interoperability when running the Contentsquare Tag along with the legacy VoC Tag.
* **Experience Analytics:** The [`_cs_s_ctx`](https://docs.contentsquare.com/en/web/cookies/#_cs_s_ctx) cookie is now properly removed when the [`optout`](https://docs.contentsquare.com/en/web/command-reference/#optout) command is used.
* **WebView:** No more event types conflicting with the mobile events.

## 15.138.1 - October 16th, 2025

**Features**

* **Session Replay:** Support new format for URL targeting rules.

## 15.137.4 - October 9th, 2025

**Bug Fixes**

* **Experience Analytics:** Implement allow/block list for query parameters capture.

**Features**

* **Tag Configurator:** Add `setReferrer` command for tag configuration.
* **Experience Analytics:** Compute `sr` and `mdh` parameters for analytics.

## 15.136.1 - October 2nd, 2025

**Features**

* **API Errors:** Do not capture errors from `heap-api.com` and `heapanalytics.com`.

**Bug Fixes** • **Experience Analytics:** Do not renew session on hidden page. • **Session Replay:** Late collected events are now associated with the correct page view.

## 15.134.1 - September 25th, 2025

**Features**

* **Experience Analytics:** When crosswriting is enabled, use memory instead of cookie to store previousViewUrl.
* **Experience Analytics:** When crosswriting is enabled, query parameters are not saved in cookie context to reduce cookie size.

**Bug Fixes**

* **Collect:** Restore filtering of programmatic user event.
* **iframe:** Fix iframe tracking feature code removal when not enabled (tree-shaking).

## 15.133.3 - September 11th, 2025

**Bug Fixes**

* **Session Replay:** Fix missing HTML mutations in rare cases due to an optimization.

## 15.133.3 - September 4th, 2025

**Features**

* **Experience Analytics:** Implement crosswriting of custom events.
* **Tag bundles**: WebWorker code use ES6 as minimum deployment target.

**Bug Fixes**

* **Analytics:** Truncate URLs of session context cookie (`_cs_s_ctx`) to 800 characters.

## 15.126.1 - August 28th, 2025

**Features**

* **Experience Analytics:** Refine checks for enabling new usage based quota.

**Bug Fixes**

* **Session Replay:** Ignore nested data URLs inside CSS rules.

## 15.125.0 - August 21st, 2025

**Features**

* **Experience Analytics:** Enhance verify installation feature.
* **Analytics:** Add murmur3 hashed target for heatmap.
* **Voice of Customer:** Add metric to track legacy features.

**Bug Fixes**

* **Voice of Customer:** Ensure exclusivity between the unified and legacy VoC modules.
* **Onboarding:** Enable verify installation feature in multiple scenarios.

## 15.121.0 - August 14th, 2025

**Features**

* **WebView:** Add support for hierarchy identify and addUserProperties.
* **Experience Analytics:** Add shared context in analytics requests.
* **Experience Analytics:** Create verify installation CSQ-Lite Free/Growth.
* **Voice of Customer:** Enable VoC module in no tracking mode.
* **Voice of Customer:** Enable required global objects in the unified VoC module.

## 15.114.0 - July 31st, 2025

**Features**

* **Visual Labeler:** Add EU pipeline support.
* **Experience Analytics:** Decommission legacy quota service.

**Bug Fixes**

* **Logging:** Improve logs context collection.

## 15.111.0 - July 24th, 2025

**Features**

* **Identify**: Add EU pipeline support.

## 15.109.0 - July 17th, 2025

**Features**

* **Session Replay**: Support disabled stylesheet property changes.

**Bug Fixes**

* **Session Replay**: Handle timing edge cases for `InputEvent`.
* **Analytics:** Escape cookie value delimiter when stringifying.
* **Session Replay**: When collection is paused because of user inactivity, still allow API and JS errors to be sent.

## 15.107.2 - July 10th, 2025

**Features**

* **Session Replay**: Add flag to mask media elements when page is matching text replacement rules.
* **Session Replay**: Support disabled stylesheet property changes.

**Bug Fixes**

* **Commands**: Ensure queued commands execute only after external component starts.

## 15.105.5 - July 3rd, 2025

**Bug Fixes**

* **Session Replay**: Ensure added nodes reference the proper parent context to avoid being auto-masked.
* **Session Replay**: Clear page events callbacks when tracking stops to avoid duplicate events.

## 15.105.1 - June 26th, 2025

**Bug Fixes**

* **WebView, Session Replay:** Fix CSS Link URL serialization.

## 15.105.0 - June 19th, 2025

**Features**

* **Analytics:** Implement Product Analytics visual labeler for crosswriting customers.

**Bug Fixes**

* **Tag Configurator:** Fix `elementBecomesVisible` trigger schema.
* **Session Replay:** Add support for Google Fonts stylesheets that don't use the `.css` extension.

## 15.104.2 - June 12th, 2025

**Features**

* **Metrics:** Add new metrics for name and phone auto-masking.
* **Analytics:** Implement option to collect `TargetText` on every click/tap/submit event.
* **Session Replay:** Implement CSS styling rule change observer.
* **Product Analytics:** Integrate product analytics view id in pageviews.

**Bug Fixes**

* **Session Replay:** Improve the debouncing and throttling mechanisms.
* **Voice of Customer:** Ensure VoC URLs are synchronized with pageview URLs.
* **Voice of Customer:** Remove ETR for surveys.
* **Experience Monitoring:** Better handling for `TimeoutError` in Experience Monitoring.
* **WebView:** Update masking state after artificial pageviews.
* **Logger:** Ensure the logger preserves the caller's `this` context.

## 15.99.2 - May 28th, 2025

**Features**

* **Experience Monitoring:** Mask name in API and custom error URLs.

**Bug Fixes**

* **Experience Monitoring:** Do not raise an error on signal timeout.
* **Voice of Customers:** Synchronize URL with artificial pageview.
* **Integration:** `onRecordingContextChange` command returns cleanup function.

## 15.94.1 - May 22th, 2025

**Features**

* **Session Replay:** Reduce initial text visibility throttling for faster detection of visible text.
* **Session Replay:** Introduce an experimental field to opt out of using the protected (unpatched) `MutationObserver` retrieved via iframe.

## 15.92.1 - May 15th, 2025

**Features**

* **Metrics:** Normalize tracking of command misuse.
* **Metrics:** Track CSP web worker security errors.
* **Session Replay:** Mask elements with `contenteditable` attribute.
* **Experience Monitoring:** Mask more name variants in custom errors.

**Bug Fixes**

* **Voice of Customer:** Fix incorrect URL passed to the VoC widget.

## 15.85.1 - April 30th, 2025

**Features**

* **Metrics:** Wrap all tag command usage and track misuse.
* **Tag Configurator:** Add help center links for each CSTC templates.
* **Tag Configurator:** Add best practice section for 'Network requests - Mask URLs' template.

**Bug Fixes**

* **WebView:** Add protection against bad override of FileReader browser API.

## 15.84.1 - April 15th, 2025

**Bug Fixes**

* **Experience Analytics:** Solve the conflict with third-party `ping` events.
* **Session Replay:** Support blank iframes.
* **Metrics:** Change name of Tag Configurator metrics.
* **Voice of Customer:** Send survey responses as internal events.
* **Voice of Customer:** Set [survey cookie](https://docs.contentsquare.com/en/web/cookies/#_hjdonepolls) duration to 365 days.
* **Voice of Customer:** Use milliseconds for survey cookie duration.

## 15.82.2 - April 8th, 2025

**Bug Fixes**

* **Session Replay:** Support DST dates in replay targeting rules for Free and Growth plans.
* **Metrics:** Avoid starting metrics in webview contexts due to missing APIs.

**Features**

* **Metrics:** Track usage of Tag Configurator triggers and templates.

## 15.81.3 - April 1st, 2025

**Bug fixes**

* **Product Analytics:** Do not send the domain in `heap.setPath`.
* **Experience Analytics:** Handle quota response when session expires.
* **Voice of Customer:** Don't include VoC code in the tag if the VoC flag is disabled.

**Features**

* **Voice of Customer:** Introduce VoC only tracking.
* **Metrics:** Implement command, encryption and masking metrics.
* **Metrics:** Toggle metrics collection system on.

## 15.76.0 - March 20th, 2025

**Bug fixes**

* **Tag Configurator:** Fix `BeforePageview` trigger.

**Features**

* **Product Analytics:** Send Product Analytics context in pageviews.
* **Product Analytics:** Hierarchy collection for click, change, and submit events.
* **Metrics:** Introduce a metrics collection system.

## 15.72.6 - March 13th, 2025

**Bug fixes**

* **Webviews:** SerializeWebview `withAssets` not depending on staticResourceUrlTracker anymore.
* **Session Replay:** Update serializer to ignore children already serialized and include mutation of `movedNode` into new one.
* **Session Replay:** Change a query parameter for targeting rules collection mode.
* **Product Analytics:** Use masked URL instead of path in `heap.setPath`.
* **Product Analytics:** Create new command `sendHeapContext` for `heap.js` v5.
* **Voice of Customer:** Initialize VoC on artificial page views.
* **Experience Analytics:** Improve typing for Dynamic and Custom Variables modules.

**Features**

* **Product Analytics:** Start data collection for `heap.js` v4.
* **Tag Configurator:** Cleanup obsolete template/triggers properties.

## 15.70.8 - February 26th, 2025

**Bug fixes**

* **Experience Analytics:** Add a validity check on descriptor parameter of FilterUntrustedEvent.
* **Tag Configurator:** Change template BlockAllowListForSR name.
* **Session Replay:** Add source to masked Personal Data logs.
* **Session Replay:** Avoid monkey patching the same API multiple times.
* **Session Replay:** Partial matching patterns support placeholder matching empty URL token (bis).
* **Static Resource Manager:** Update online assets collection on pageview.
* **Session Replay:** Handle added text nodes.

**Features**

* **Tag Configurator:** Cleanup obsolete template/triggers properties.
* **Webviews:** Send Tag configuration to parent.
* **Product Analytics:** Implement `identify` and `addUserProperties` commands from `heap.js`.
* **Session Replay:** Check if URL arguments are empty.

## 15.67.2 - February 20th, 2025

**Bug fixes**

* **Session Replay:** Disabling session capture in CSQ Free and Growth plans does not stop data collection for Session Replay.

## 15.66.2 - February 13th, 2025

**Bug fixes**

* **Emerchandising:** Flush element source upon stop.
* **Experience Analytics:** Do not stop tag performance tracker on artificial pageviews.
* **Session Replay:** Fix mutation optimizer issue when removing nodes.

**Features**

* **Experience Analytics:** Pass disableTextCapture to trackPageview on artificial pageviews.
* **Product Analytics:** Collect pageview from History changes and listen submit event.

## 15.65.0 - February 10th, 2025

**Bug fixes**

* **API Errors:** Check the attribute value is not null or undefined.
* **Session Replay:** Avoid collision with user defined selectors.
* **Session Replay:** Check fetch request response on being undefined.
* **Session Replay:** Move initialization of shadow root filter.

**Features**

* **Experience Analytics:** Do not start the tag when page is being pre-rendering (Chrome speculation API).
* **Tag Configurator:** Support closest matching element in click trigger.
* **Tag Configurator:** Support new condition operators.
* **Tag Configurator:** Support tap in all snippets implementing the click trigger.
* **Product Analytics:** Implement new command to send cross-product context.
* **Session Replay:** Optimize number of mutation observers needed to track text visibility changes.

## 15.56.1 - January 30th, 2025

**Bug fixes**

* **Session Replay:** Fix an issue on legacy masked rules from window after `startdatacollection` command.
* **Session Replay:** Fix send initial input values on activity resume after the new initial DOM.
* **Session Replay:** Fix on Static Resources Manager ensures online assets collection flag in iframes and nested iframes is correctly handled.
* **Session Replay:** Fix ensures input events are sent after mutation on the element.
* **Tag Configurator:** Fix filter untrusted events (events not triggered by visitor).

**Features**

* **Session Replay:** Manage added nodes to encrypted element.
* **Session Replay:** Unify all Personal Data config modes.
* **Tag Configurator:** New trigger on element becomes visible.

## 15.49.1 - January 9th, 2025

**Minor fixes**

* **Session Replay:** Handle errors related to closed readable streams in the NetworkWorker.
* **Session Replay:** Handle errors when `document.body` is not accessible in a cross-domain iframe.

**Bug fixes**

* **Session Replay:** Prevent data collection when the `optout` command is pushed before the Tag is injected or starts.
* **Analytics:** Handle null values passed to the `trackError` command gracefully.

**Features**

* **Tag Configurator:** Restart implementation snippets on artificial page views and session renewal.
* **Tag Configurator:** New implementation template for excluding & allowing URLs in Session Replay.
* **Tag Configurator:** New implementation log level for logging warnings about broken implementations.
* **Session Replay:** Add logs to track usage of Google's speculative rules API.
* **Session Replay:** Unify the default element masking rules across all deployment modes.
* **Session Replay:** Add validators and log warnings for the `setCapturedElementsSelector` command.

## 15.43.0 - December 18th, 2024

**Bug fixes**

* **Session Replay:** Fix an issue which could cause text visibility events to be lost in some cases.
* **Session Replay:** Fix an issue occurring when the zoom tracker was stopped before being started.
* **Session Replay:** Fix the mutation serialization optimiser that was producing incorrect outputs in some edge cases.
* **Session Replay:** Stop serializing script children.
* **Session Replay:** Improve text visibility detection for inline elements.
* **Integration:** Improve replay link format.
* **Experience Monitoring:** Fix an issue where the `responseBody` was not collected in some cases.
* **Experience Monitoring:** Fix an issue that caused an error to be thrown when getting the file name for JavaScript errors collection.

**Features**

* **Session Replay:** Update the validation of the format of the visitor cookie.
* **Session Replay:** Mask by default text area content from appended text nodes in iframe context.

## 15.39.6 - December 12th, 2024

**Bug fixes**

* **Session Replay:** Fixed the issue with Tag Download time parameter.
* **Session Replay:** Restart VoC widgets on artificial page views.
* **Session Replay:** Fixed video events race condition.
* **Session Replay:** Mask emails only in `href` and `src` attributes.
* **Session Replay (webview):** Set sensitive status at start.
* **Experience Monitoring:** Catch abort when reading the response body.

**Features**

* **Session Replay:** Mask `href` and `src` attributes in specific nodes.
* **Session Replay:** Optionally mask non-text elements using masking settings.
* **Session Replay:** Remove phones from custom errors.

## 15.36.2 - November 20th, 2024

**Bug fixes**

* **Session Replay:** Improve support of images by accepting alternate source elements.
* **Session Replay:** Fix regression after a performance optimization linked to mutation processing.
* **Experience Monitoring:** Limit JavaScript file names to 150 characters max.
* **Experience Monitoring:** Replace script data URL by pageview URL.
* **Experience Analytics:** Fix JS error thrown by `getCurrentOrientation` function during resize events.

**Features**

* **Personal Data:** Mask first and last names in error collection.

## 15.33.7 - November 13th, 2024

**Bug fixes**

* **Session Replay:** Improve support of `data-cs-mask` with shadow DOM of masked elements.
* **Session Replay:** Improve support of CSS inline rules during initial DOM serialization.
* **Session Replay:** Avoid masking digits of node attributes when masking feature is enabled.
* **Session Replay:** Preserve inputs radio name attribute when masking feature is enabled.
* **Session Replay:** Fix `nextSibling` calculation to return `null` under certain conditions.
* **Session Replay:** Mask `document.baseURI` attribute on initial DOM.

**Performance Improvements**

* **Tag Configurator:** Improve performance of element visibility trigger.

**Features**

* **Experience Analytics (Free and Growth)**: Integrate Targeting rules into data collection flow.
* **Session Replay:** Capture nested elements added through DOM mutations with `data-cs-capture` and `setCapturedElementsSelector`.

## 15.28.0 - October 30th, 2024

**Bug fixes**

* **Text Visibility:** Do not collect `<textarea>` text value.

**Performance Improvements**

* **Session Replay:** Increase batch size limit.

**Features**

* **Integrations:** Simplify Dynamic Variable format for CSQ Lite integrations.

## 15.26.2 - October 23th, 2024

**Bug fixes**

* **Session Replay:** Do not mask CSS `href` values for CSQ Lite customers.
* **Session Replay:** Handle bad `setPIISelectors` input.

**Performance Improvements**

* **Session Replay:** Throttle attribute/characterData mutations by 30ms.
* **Session Replay:** Improve performance of SelectorObserver by retrieving shadow roots from DocumentMutationObserver.

**Features**

* **Experience Monitoring:** Implement partial URL masking patterns.
* **Session Replay:** Collect play pause video events refactor.
* **Session Replay:** Add ETR status.

## 15.23.3 - October 16th, 2024

**Bug fixes**

* **Session Replay:** Fixed infinite loop on Safari.
* **Session Replay:** Pipe text visibility events through masked text processor.

**Performance Improvements**

* **Session Replay:** Improve performance when too many ShadowRoots get disconnected at the same time.

**Features**

* **Experience Analytics:** Implement quota boot blocking.
* **Ecommerce:** Handle `Transaction` and `addToCart` pushed before start.
* **Project Configuration:** Introduce `clickedElementTextEnabled` feature.

## 15.21.0 - October 10th, 2024

**Bug fixes**

* **Session Replay:** Protect `RegExp` from overwrites on sites.
* **Session Replay:** Fix calculated `nextSibling` on node mutations within the same tick.

**Features**

* **Experience Analytics:** Collect link and button text on click and tap events.
* **Experience Analytics (Free and Growth):** Mask emails on any node by default.
* **Experience Analytics:** Log warnings when too many attribute/text mutations occur within a short threshold.

## 15.19.3 - October 2nd, 2024

**Bug fixes**

* **Session Replay:** Clean encryption logs and dead code.
* **Voice of Customer:** Send poll answer value as integer.
* **Experience Analytics:** Check if `self` is overridden.
* **Voice of Customer:** Deduplicate VoC dynamic variables.
* **Session Replay:** Serialize children from 0 index on added nodes.

**Features**

* **Experience Analytics:** Support quick replay for Free and Growth plans.
* **Personal Data:** Check `href` attribute on certain conditions.
* **Experience Analytics:** Support retaker mode for Free and Growth plans.
* **API Errors:** Support media type `text/javascript`.

## 15.16.5 - September 26th, 2024

**Bug fixes**

* **Session Replay:** Fix calculated `nextSibling` on added node mutation.
* **Session Replay:** Add experimental option to not observe shadow roots.
* **Emerchandising:** Stop Emerchandising capture right before artificial pageview.
* **Session Replay:** Fix the propagation of `data-cs-capture` to children and handle it by default.

## 15.16.0 - September 18th, 2024

**Bug fixes**

* **Performance:** Fix performance logs format.
* **Session Replay:** Fix an issue causing duplicated nodes in replays.
* **Session Replay:** Fix last message requests when `Worker` is not available.
* **Session Replay:** Fix performance issue when there are many mutations happening in the same tick.

## 15.13.0 - September 4th, 2024

**Features**

* **Session Replay:** Support `CSSGroupingRule`.
* **Product Analytics:** Do not load the `heap.js` Tag when it has already been injected in the page.

**Performance Improvements**

* Add function execution time metrics to our monitoring.

## 15.10.0 - August 28nd, 2024

**Features**

* **Product Analytics:** Collect page title in pageviews.

## 15.9.0 - August 22nd, 2024

**Bug fixes**

* **Session Replay:** Fix move mutation event.
* **Session Replay:** Process new stylesheet rules.
* **Session Replay:** Observe mutations on text nodes.
* **Product Analytics:** Catch errors when retrieving metadata.

**Features**

* **Product Analytics:** Support sideloading.
* **Experience Analytics:** End session 30 minutes after last user event.

## 15.7.0 - August 14th, 2024

* Tag code refactoring. No client-side impact expected.

## 15.6.4 - August 7th, 2024

**Bug fixes**

* **Session Replay:** Add `isValidSelector` check in encrypted nodes identifier.
* **Session Replay:** Backport support of Chinese and Japanese ideograms in Flashpoint.
* **Session Replay:** Fix performance issue by protecting functions overridden by `ZoneJS`.
* **Session Replay:** Use `arrayFlatMap` to avoid exceptions on older browsers.
* **Session Replay:** Clear Element observer `tickSet` on disconnect.
* **Analytics:** Listen to `navigation` event inside last events tracker.
* **Product Analytics:** Rename feature flags.
* **Session Replay:** Check if `csQueueMicrotask` is a function.
* **Session Replay:** Mask text area value changed by inserted text node.

**Features**

* **Voice of Customer:** Add a feature flag for the VoC Events API.
* **Voice of Customer:** Send events to the `v2/events` endpoint.
* **Experience Analytics:** Merge `anonymizeDigits` and `anonymizeEmails` settings into project configuration.
* **API Errors:** Increase `body` attribute value limit to 100 characters.
* **Experience Analytics:** Call verify installation for Free and Growth plans.

## 15.1.7 - July 25th, 2024

**Bug fixes**

* **Static Resource Manager:** Resolve events on error.
* **Session Replay:** Fix encryption processor.
* **Session Replay:** Improve ElementObserver performance by traversing the tree only once per tick.
* **Session Replay:** Catch error thrown by the custom element producer when element name is invalid.
* **Session Replay:** Check iframe before accessing `contentWindow`.
* **Session Replay:** Avoid access denied error when checking `localStorage` support.
* **Session Replay:** Missing object `cssRules` in REGISTER\_ADOPTED\_STYLE\_SHEET payload.
* **Session Replay:** Add symbol back to node identifier.
* **Session Replay:** Fix duplicated nodes.
* **Session Replay:** Fix SVG masking issues.

**Features**

* **Session Replay**: DOM Events are managed with Flashpoint.
* **Analytics**: Introduce identity mechanism.

## 14.22.1 - July 04th, 2024

**Bug fixes**

* **Session Replay:** Use U+FF41 char instead of book ideogram for masking.
* **Session Replay:** Improve shadow roots detection when added on existing shadow roots.
* **Session Replay:** Fixed timestamp issues on events created by Static Resource Manager.

**Features**

* **API Errors**: Rely on body length instead of `Content-Length` header.

## 14.18.3 - June 12th, 2024

**Features**

Voice of Customer and Product Analytics General Availability

As of June 2024, customers can use the Voice of Customer and Product Analytics modules.

For more information refer to the Help Center.

### Voice of Customer

The tag will inject a `hotjar-{SITE_ID}.js` script which loads the survey widgets as needed If you are using [SRI](https://docs.contentsquare.com/en/web/sri/), reach out to your Contentsquare contact for more information.

[Additional cookies](https://docs.contentsquare.com/en/web/cookies/#voice-of-customer-cookies), prefixed with `_hj`, are created.

To use Voice of Customer, make sure to add `script-src 'unsafe-inline' *.contentsquare.net` to your [CSP configuration](https://docs.contentsquare.com/en/web/content-security-policy/).

### Product Analytics

The Tag will inject a `heap_config.js` script loaded from `https://cdn.us.heap-api.com/config/<ENV_ID>/heap_config.js`, which loads the PA tag `heap.js`. If you are using [SRI](https://docs.contentsquare.com/en/web/sri/), reach out to your Contentsquare contact for more information.

[Additional cookies](https://docs.contentsquare.com/en/web/cookies/#product-analytics-cookies), prefixed with `_hp*`, are created.

If you enforce a Content Security Policy, make sure to add the following to your [CSP configuration](https://docs.contentsquare.com/en/web/content-security-policy/):

```http
script-src 'unsafe-inline' 'unsafe-eval' https://cdn.heapanalytics.com https://heapanalytics.com;
script-src 'unsafe-inline' *.contentsquare.net;
img-src https://heapanalytics.com;
style-src https://heapanalytics.com;
connect-src https://heapanalytics.com;
font-src https://heapanalytics.com;
```

**Bug fixes**

* **Session Replay:** Reduce network details payload.

## 14.15.0 - June 5th, 2024

**Bug fixes**

* **Session Replay:** Mask Chinese and Japanese characters using an ideogram instead of the character `A` to preserve `line-break` behavior.

## 14.13.0 - May 28th, 2024

**Bug fixes**

* **API Errors:** Check if `subscriberId` and `responseType` exist before accessing `responseText`.

**Features**

* **Session Replay:** Add allowlist mechanism for some event types.
* **Personal Data**: Add data-cs-mask for all project's deployment mode type.

## 14.11.0 - May 21st, 2024

**Bug fixes**

* **Personal Data**: Fix processing of `data-cs-mask` attributes that were being ignored.

## 14.10.0 - May 6th, 2024

**Bug fixes**

* **iFrames**: Do not access storage, cookie, or XHR in child mode.
* **Session Replay**: Fix lost initial resize events.
* **Session Replay**: Remove query parameters of network details events.
* **WebViews**: Align webview behaviors on bridge injection.

**Features**

* **WebViews**: Process commands received before webview tracking ready and start events.

## 14.9.3 - April 29th, 2024

**Features**

* **Logging**: Emit logs for all critical errors

## 14.4.0 - March 26th, 2024

**Bug fixes**

* **Static Resource URL**: Fixed Static URL resource bug on quoted URLs

**Features**

* **Session Replay**: New inactivity mechanism.

## 14.3.1 - March 26th 2024

**Bug fixes**

* **Session Replay**: Fix identification of default sensitive attributes.

## 14.1.2 - March 21st, 2024

**Bug fixes**

* **Static Resource Manager**: Filter double quotes `nestedResource` URLs fixing 404 errors

## 14.1.1 - March 21st, 2024

**Bug fixes**

* Fix how the initial DOM event is inserted in the Session Replay events in both `top` and `iframe` contexts.

## 14.1.0 - March 21st, 2024

**Features**

* **API Errors**: Increase `responseBody` size limit from 2kb to 5kb.

## 14.0.0 - March 18th, 2024

**Features**

* **Tag Commands**: Add `lifespan` option to the following Tag commands, to handle SPA use cases:

  * [`setPath`](https://docs.contentsquare.com/en/web/command-reference/#setpath),
  * [`setQuery`](https://docs.contentsquare.com/en/web/command-reference/#setquery),
  * [`trackPageview`](https://docs.contentsquare.com/en/web/command-reference/#trackpageview)

## 13.100.1 - March 14th, 2024

**Bug fixes**

* **TagDownloadTime Service**: Retrieve [`document.currentScript` ↗](https://developer.mozilla.org/en-US/docs/Web/API/Document/currentScript).

## 13.99.9 - March 12th, 2024

**Bug fixes**

* **API Errors**: Remove Content-Length check to track all API calls when using [Transfer-Encoding ↗](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Transfer-Encoding).

## 13.99.8 - March 12th, 2024

**Bug fixes**

* WebView: Handle injected CSS to fix zone-level elements data

## 13.99.7 - March 11th, 2024

**Bug fixes**

* Flush pending microtasks on artificial pageviews to fix user actions not shown in Session Replay.

## 13.99.5 - March 6th, 2024

**Bug fixes**

* **Static Resource Manager**:

  * Changed an error to non-blocking so that further data can be sent,
  * Send a single request when the payload exceeds the limit, instead of two.

## 13.99.4 - March 6th, 2024

**Bug fixes**

* **Session Replay**: Restart `PerformanceTimingResourceTracker` on artificial pageviews.

## 13.97.0 - February 26th, 2024

**Bug fixes**

* **Tag Commands**: Add `decodeUri` option to the following Tag commands:

  * [`setPath`](https://docs.contentsquare.com/en/web/command-reference/#setpath),
  * [`setQuery`](https://docs.contentsquare.com/en/web/command-reference/#setquery),
  * [`trackPageview`](https://docs.contentsquare.com/en/web/command-reference/#trackpageview)

## 13.94.0 - February 22nd, 2024

**Features**

* **Static Resource Manager**: Internal Service Migration.

## 13.93.0 - February 21st, 2024

**Features**

* **Static Resource Manager**: Add `groupMicrotask` priority option.

## 13.92.0 - February 19th, 2024

**Features**

* **WebView**: Synchronize start and stop commands.

## 13.89.2 - February 14th, 2024

**Features**

* **Static Resource Manager**: Support `style` attribute in element in serialization or mutation attribute.

## 13.89.0 - February 14th, 2024

**Features**

* **Analysis**: Update [web-vitals ↗](https://github.com/GoogleChrome/web-vitals/blob/main/CHANGELOG.md) library to 3.5.2.

## 13.88.0 - February 14th, 2024

**Features**

* **Session Replay**: Remove workaround used to consider base64 images of a certain size to be sensitive.

## 13.85.0 - February 8th, 2024

**Features**

* Add protection against session cookie corruption.

## 13.84.1 - February 6th, 2024

**Bug fixes**

* **Static Resource Manager**: Avoid calling with same data collection state.

## 13.84.0 - February 2nd, 2024

**Features**

* Manage all DOM events in event translator.

## 13.83.0 - January 30th, 2024

**Features**

* **Session Replay**: Mask credit card numbers automatically.

## 13.82.0 - January 30th, 2024

**Features**

* **Static Resource Manager**: Save hashes to avoid sending them again.

## 13.81.2 - January 25th, 2024

**Bug Fixes**

* **Static Resource Manager**: Support non-base64 images.

## 13.81.0 - January 24th, 2024

**Features**

* **WebView**: Add [`excludeURLforReplay`](https://docs.contentsquare.com/en/web/command-reference/#excludeurlforreplay) command support.

## 13.78.0 - January 22nd, 2024

**Features**

* **Session Replay**: Improve `input` element handling.

## 13.77.3 - January 15th, 2024

**Bug Fixes**

* **Session Replay**: Call `onEvent` on all trackers before starting them.

## 13.77.1 - January 9th, 2024

**Performance Improvements**

* Improve `allowSubdomain` change performance.

## 13.77.0 - January 9th, 2024

**Features**

* **WebView**: Add [`afterPageView`](https://docs.contentsquare.com/en/web/command-reference/#afterpageview) command support.

## 13.76.3 - January 4th, 2024

**Bug Fixes**

* **Static Resource Manager**: Do not process URLs when the online assets option is disabled.

## 13.75.4 - December 13th, 2023

**Bug Fixes**

* Ignore logs coming from a worker override.

## 13.75.1 - December 12th, 2023

**Bug Fixes**

* Catch SRM errors and add logs.

## 13.75.0 - December 12th, 2023

**Bug Fixes**

* Execute callback directly when adding `onRecordingStateChange` command.

## 13.74.1 - December 12th, 2023

**Bug Fixes**

* Manage ETR triggered before collection starts.

## 13.73.0 - December 6th, 2023

**Features**

* **Static Resource Manager**: handle attribute and character data mutations.

## 13.72.3 - December 6th, 2023

**Bug Fixes**

* Collect all navigation timing events.

## 13.72.2 - December 5th, 2023

**Bug Fixes**

* Change log level error to warn for `crossDomainSingleIframe`.

## 13.72.1 - December 5th, 2023

**Bug Fixes**

* Handle undefined values in for Console Message tracking.

## 13.72.0 - December 5th, 2023

**Bug Fixes**

* Check that `addEventListener` is a function.

**Features**

* **crossDomainSingleIframe**: Start the tag on iFrame timeout.

## 13.71.4 - December 5th, 2023

**Bug Fixes**

* **Custom Errors**: Truncate attributes keys and values (30 characters max).

## 13.67.4 - November 16th, 2023

**Bug Fixes**

* **Custom Errors**: Replace object in root object.

## 13.65.1 - November 13th, 2023

**Bug Fixes**

* Update Static Resource Manager [command names](https://docs.contentsquare.com/en/web/command-reference/).

## 13.63.0 - November 13th, 2023

**Bug Fixes**

* Remove references to [`URLSearchParams` ↗](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams).

## 13.61.1 - November 11th, 2023

**Bug Fixes**

* **Custom Errors**: Resolve circular dependency on console message.

## 13.60.0 - November 6th, 2023

**Features**

* Track [`touchcancel` ↗](https://developer.mozilla.org/en-US/docs/Web/API/Element/touchcancel_event) events.

## 13.59.1 - October 30th, 2023

**Bug Fixes**

* Align Analytics and Session Replay pipelines behavior.

## 13.59.0 - October 30th, 2023

**Bug Fixes**

* **Session Replay**: Fixed failure to export `PerformanceResourceTimings` from a web worker.

**Features**

* Make the SKU optional on [`addToCart`](https://docs.contentsquare.com/en/web/sending-an-add-to-cart/) command.

## 13.58.4 - October 30th, 2023

**Performance improvements**

* Remove useless object assignment checks.

## 13.58.3 - October 30th, 2023

**Bug Fixes**

* **Session Replay**: Add slot element and attribute to serialized DOM to fix replays without CSS.

## 13.58.0 - October 25th, 2023

**Features**

* **Session Replay**: Add Static Resource Manager support for `srcset` attributes in `<image>` elements.

## 13.57.0 - October 25th, 2023

**Features**

* **Emerchandising**: Support for Display ads analysis

## 13.56.1 - October 17th, 2023

**Bug Fixes**

* **WebViews**: Remove items from transaction on mobile.

## 13.56.0 - October 16th, 2023

**Features**

* **API Errors**: Collect non encrypted headers.

## 13.55.0 - October 16th, 2023

**Features**

* **Session Replay**: Add `onRecordingStateChange` command to track when the replay state changes.

## 13.54.0 - October 11th, 2023

**Features**

* **WebViews**: Collect API, JS and Custom errors in WebViews.

## 13.53.0 - October 9th, 2023

**Features**

* **Session Replay**: Update to Static Resource Manager v2 (including images, inline assets, base64 assets).

## 13.51.2 - October 5th, 2023

**Bug Fixes**

* **Session Replay**: Do not send navigation timing on the artificial pageviews.
* **Session Replay**: Fix CSS resource when link use a relative path.

## 13.51.0 - October 5th, 2023

**Features**

* Collect `adoptedStyleSheet` events in Iframes and WebViews.

## 13.50.2 - September 28th, 2023

**Bug fixes**

* Fix wrong module imports.

## 13.49.3 - September 22nd, 2023

**Features**

* Manage CSS rules inserted before tag starts.

## 13.49.0 - September 19th, 2023

**Features**

* Static Resource Manager supports SVG elements with links (for screenshots and Session Replay).

## 13.48.3 - September 19th, 2023

**Bug Fixes**

* Remove Static Resource Manager debug logs.

## 13.48.2 - September 19th, 2023

**Bug Fixes**

* **Session Replay**: Filter out static URLs containing credentials.

## 13.48.1 - September 18th, 2023

**Bug Fixes**

* Fix `shadowRoot` observer bug.

## 13.48.0 - September 14th, 2023

**Features**

* **Session Replay**: Introduction of the Static Resource Manager, which optimizes the management of static resources and assets (such as images or fonts).

## 13.46.0 - September 13th, 2023

**Features**

* **Session Replay**: Use API error patterns for resource tracking.

## 13.45.0 - September 13th, 2023

**Features**

* **Session Replay**: Watch for `resize` events of sensitive elements.

## 13.44.2 - September 6th, 2023

**Bug fixes**

* **Session Replay**: Filter `<img>` tags with empty `src` attribute.

## 13.44.1 - September 5th, 2023

**Bug fixes**

* **Serialization**: update `addedNodesInATick` when a mutation target is not identified.

## 13.44.0 - September 4th, 2023

**Features**

* **WebViews**: Update the signature of `serializeWebview` command.

## 13.43.0 - August 31th, 2023

**Features**

* **WebViews**: Add processor to serialize `adoptedStyleSheets`.

## 13.42.0 - August 31th, 2023

**Features**

* **WebViews**: Restart Session Replay on artificial pageview.

## 13.41.0 - August 31th, 2023

**Features**

* **WebViews**: Introduce `AssetTransformers` mode and API to dynamically update it.

## 13.40.6 - August 31th, 2023

**Bug Fixes**

* Handle multi tab for browser events.

## 13.40.4 - August 29th, 2023

**Bug Fixes**

* **Project Configuration**: When updating fields from the **Data collection for Zoning** panel in the console project settings, an empty value for **Matching Dynamic elements regex** would be saved as an empty string instead of null and propagated to the configuration export (`CS_CONF`) used by the Tag. Empty string values are now discarded.

## 13.40.3 - August 29th, 2023

**Bug Fixes**

* **Events**: Watch for [`change` ↗](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event) events inside Shadow DOM.

## 13.40.0 - August 24th, 2023

🕒 *Available in an upcoming release on Contentsquare*

**Features**

* **Session Replay**: Add [`PerformanceResourceTiming` ↗](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming) tracker.

## 13.39.0 - August 22nd, 2023

**Features**

* **Session**: Add [`session:clear:visitor`](https://docs.contentsquare.com/en/web/extending-the-session-length/#clear-previous-visitors-data) command to clear information about previous visitors before initiating a new session.

## 13.37.0 - August 21st, 2023

🕒 *Available in an upcoming release on Contentsquare*

**Features**

* **Custom Errors**: Enable collecting console error messages.

## 13.36.1 - August 21st, 2023

**Bug fixes**

* **WebView**: Minor improvements to WebView local assets management.

## 13.36.0 - August 21st, 2023

**Features**

* **Session Replay**: Monitor and collect changes to selected/unselected elements such as radio buttons.

## 13.35.0 - August 17th, 2023

**Features**

* **Webviews**: Collect local assets and pass them to the JavaScript bridge and SDKs.

## 13.34.0 - August 16th, 2023

**Features**

* **Webviews**: Send `BasePath` and `rawPath` of assets to the JavaScript bridge and SDKs.

## 13.33.1 - August 10th, 2023

**Bug Fixes**

* **DOM Serializer**: Collection of [`adoptedStyleSheets` ↗](https://developer.mozilla.org/en-US/docs/Web/API/Document/adoptedStyleSheets) on main document is re-introduced.

## 13.33.1 - August 9th, 2023

**Features**

* **Session Replay**: Add optional capability to start and stop a replay based on user consent approval/withdrawal (`replayConsentRequired` configuration property).

  Up until today, no visitor consent was required to start Session Replay: the value of `replayConsentRequired` is `0`. When visitor consent is required, the value is `1`.

  Use the `replay:consent:startForSession:granted` and `replay:consent:startForSession:withdrawn` commands to shift the consent based on the user answer.

  The [`afterPageView`](https://docs.contentsquare.com/en/web/third-party-integrations-and-implementation-examples/#afterpageview) command has been enhanced to return the `replayConsentRequired` and `replayConsent` return values:

  ```javascript
  {
    projectId: 194,
    sessionKey: '48531f4b-b184-a11a-cae1-10ee72ef4c10.110',
    pageNumber: 1,
    replayConsentRequired: 1
    replayConsent: 0
  }
  ```

## 13.31.2 - August 3rd, 2023

**Bug Fixes**

* **Session Replay**: Identify and prevent email addresses to be encoded twice in query parameters.

  Example: `james@cs.com` would be encoded to `james%40cs.com` (correct), and then again to `james%2540cs.com` (incorrect).

## 13.30.11 - August 1st, 2023

**Features**

* **Tag bundles**: The Tracking Tag is now served as ES2019 JavaScript by default, if your browser allows it. ES2019 bundles come with critical patching, treeshaking, and live update on project configuration change.

  If your browser does not support ES2019, the Tag is still served in ES5 at the same URL: `https://t.contentsquare.net/uxa/{PROJECT_ID}.js`

## 13.30.2 - July 20th, 2023

**Bug fixes**

* **Session Replay**: Manage masking when `history.pushState()` is used before session renewal. Use of the browser's back button after triggering `history.pushState()` with a page outside the masking rules could lead to sending unmasked pages in certain cases.

## 13.30.0 - July 19, 2023

**Features**

* Treeshake accessibility module to optimize bundle size.

## 13.29.0 - July 12, 2023

**Features**

* **Session management**: Add a [`session:start:newVisitor`](https://docs.contentsquare.com/en/web/extending-the-session-length/#create-a-new-visitor) command to start a new visitor. Use this command when multiple people are using devices in kiosks, for instance.

## 13.28.6 - July 12, 2023

**Bug fixes**

* **Custom Errors**: Send Custom Errors to the Session Replay pipeline only if the maximum number hasn't been reached.

## 13.28.5 - July 10, 2023

**Bug fixes**

* Fixed performance issue in `VisibilityObserver`.

## 13.28.0 - July 05, 2023

**Features**

* Add the pageview type to the [`afterPageView`](https://docs.contentsquare.com/en/web/third-party-integrations-and-implementation-examples/#afterpageview) command's context.

## 13.27.0 - July 04, 2023

**Features**

* **API Errors**: ignore case when matching body for [configurable API errors ↗](https://support.contentsquare.com/hc/en-us/articles/37271964822417).

## 13.26.4 - July 04, 2023

**Performance improvements**

* Optimize Tag bootload time.

## 13.26.0 - June 29, 2023

**Features**

* **WebView**: stringify assets before calling `sendAssets`.

## 13.25.0 - June 29, 2023

**Bug fixes**

* **Session Replay**: do not serialize nodes not yet identified during initial serialization.

**Features**

* **Session Replay**: add replay link generator command.

## 13.24.2 - June 29, 2023

**Bug fixes**

* **Session Replay**: catch exceptions thrown by `whenDefined` function.

## 13.24.1 - June 28, 2023

**Bug fixes**

* **Session Replay**: improve sensitive content coverage.

## 13.24.0 - June 26, 2023

**Features**

* **API Errors**: Configurable API errors support.

## 13.22.3 - June 26, 2023

**Bug fixes**

* **`EnviromentChecker`**: check if `localStorage` is not `null`.

## 13.22.1 - June 23, 2023

**Bug fixes**

* Check `localStorage` exists in `window`.

## 13.22.0 - June 22, 2023

**Performance Improvements**

* **Emerchandising**: Optimize `getAllValidAnchors`.

## 13.21.3 - June 22, 2023

**Performance improvements**

* Remove non essential `localStorage` check.

## 13.21.0 - June 15, 2023

**Features**

* **WebView**: Migrate analytics events.

## 13.20.0 - June 15, 2023

**Features**

* **WebView**: Support commands on `cs_wvt`.

## 13.19.7 - June 14, 2023

**Bug fixes**

* Handle ES5 in the worker context.

## 13.19.3 - June 08, 2023

**Bug fixes**

* Log errors thrown when creating the web worker.

## 13.19.2 - June 07, 2023

**Bug fixes**

* Update GzipCompressor to only use native `CompressionStream` on Chromium.

## 13.19.0 - June 06, 2023

**Features**

* **Ecommerce**: Add `trackTransaction` to commands.

## 13.18.0 - June 06, 2023

**Features**

* **Replay**: add pageX, pageY in Tap replay events.

## 13.17.2 - June 1st, 2023

**Bug fixes**

* **Analysis**: upgrade web-vitals library.

## 13.17.1 - May 31st, 2023

**Bug fixes**

* Support different casing of the `Content-Type` header.

## 13.17.0 - May 31st, 2023

**Features**

* Filter untrusted gesture events.

## 13.16.0 - May 30th, 2023

**Features**

* **Session Replay**: Add regex operator condition.

## 13.15.8 - May 29th, 2023

**Bug fixes**

* Avoid relying on the `Response.type` property.

## 13.15.7 - May 29th, 2023

**Performance Improvements**

* Optimize inactivity tracker.

## 13.15.6 - May 29th, 2023

**Performance Improvements**

* **Session Replay**: Optimize debounce.

## 13.14.4 - May 24th, 2023

**Bug fixes**

* **Session Replay**: allow all small Base64 images.

## 13.14.3 - May 24th, 2023

**Bug fixes**

* Catch `onArtificialPageViewEnd` errors to avoid stopping the artificial pageview.

## 13.13.9 - May 22nd, 2023

**Bug fixes**

* **Session Replay**: Add support for `data-cs-scroll-container` attribute on initial scroll event.

## 13.13.4 - May 16th, 2023

**Bug fixes**

* Send `SCREEN_RESIZE` event on artificial pageview.

## 13.13.3 - May 16th, 2023

**Bug fixes**

* **Session Replay**: Mask attribute value of input type button or submit when attribute name is value.

## 13.13.1 - May 15th, 2023

**Bug fixes**

* **Session Replay**: mask sensitive nodes removed during serialization.

## 13.12.4 - May 4th, 2023

**Bug fixes**

* **Session Replay**: start `textVisibility` only when enabled.

## 13.11.3 - April 18th, 2023

**Bug fixes**

* Stop using `CompressionStream` for Safari.

## 13.11.0 - April 25th, 2023

**Features**

* Add Interaction to Next Paint (INP) support.

## 13.10.0 - April 18th, 2023

**Bug fixes**

* Support non-utf8 data for Symmetric decryption.

## 13.8.6 - April 4th, 2023

**Bug fixes**

* **Session Replay**: Add value attribute to replay request for `input[type=submit]`.

## 13.7.3 - March 31st, 2023

**Bug fixes**

* **Session Replay**: Remove initial empty event.

## 13.7.1 - March 28th, 2023

**Performance Improvements**

* Measure `RecordingBatch.addEvent`.

## 13.7.0 - March 28th, 2023

**Features**

* Errors triggered by Contentsquare tag are properly caught by third-party monitoring tools.

## 13.6.1 - March 28th, 2023

**Performance Improvements**

* Optimize `onStartTracking` event lifecycle.

## 13.6.0 - March 28th, 2023

**Features**

* **Webview**: Add `ec:transaction:items:add` command for WebView in SDK.

## 13.5.0 - March 23th, 2023

**Features**

* **IFrame**: Add support for `setEncryptionSelectors` in iframe context.

## 13.4.0 - March 22th, 2023

**Features**

* Add task scheduler globally.

## 13.3.0 - March 20th, 2023

**Features**

* **Iframe**: Allow Tag to start inside an iframe of type `srcdoc`.

## 13.2.7 - March 15th, 2023

**Bug fixes**

* **Replay**: Do not set `mouseover` event listener on shadow roots for old iOS versions.

## 13.2.4 - March 15th, 2023

**Performance improvements**

* Measure the execution duration of `ElementVisibility` tracker

## 13.2.1 - March 13th, 2023

**Bug fixes**

* Handle `self` property overrides

## 13.2.0 - March 9th, 2023

**Features**

* Stringify and send requests from worker

## 13.1.0 - March 9th, 2023

**Features**

* **Session Replay**: Implement screen resize event tracker

## 13.0.2 - March 6th, 2023

**Performance improvements**

* Improve DOM serialization performance.

## 13.0.1 - March 6th, 2023

**Bug Fixes**

* **Session Replay**: Support parsing multiple values for the `rel` attribute for stylesheet linking.

## 13.0.0 - March 6th, 2023

**Features**

* Add Session Replay support in WebViews

**Breaking Changes**

* `window._uxa.push(["setOption", "isWebView", true]);` will start the Tag in WebView mode.

## 12.6.1 - March 2nd, 2023

**Bug Fixes**

* Remove warning logs for node without identifier

## 12.5.11 - March 1st, 2023

**Bug Fixes**

* **Accessibility**: Fix issue when an artificial pageview is triggered before the initial collection is triggered

## 12.5.7 - February 24th, 2023

**Bug Fixes**

* Handle null referrer

## 12.5.7 - February 23th, 2023

**Bug Fixes**

* Text visibility events not sent when emerch is enabled

## 12.5.0 - February 15th, 2023

**Features**

* Add `isRecording` command inside iframe context

## 12.4.4 - February 15th, 2023

**Bug fixes**

* Fix extensions index out of bounds

## 12.4.3 - February 15th, 2023

**Bug fixes**

* Logger should handle when property is undefined

## 12.4.2 - February 13th, 2023

**Bug fixes**

* Mask API error library field

## 12.4.0 - February 8th, 2023

**Features**

* Add browser accessibility features and extensions detection

## 12.3.0 - February 8th, 2023

**Features**

* Refactored serialization objects

**Performance Improvements**

* Read visitor cookie only once

## 12.1.0 - February 1st 2023

**Features**

* Mask JWT token

## 12.0.1 - January 27th, 2023

Version bump for the `@contentsquare/tracking-tag` package.

## 12.0.0 - January 26th, 2023

**Features**

* Add data collection for Session Replay in iFrames

## 11.68.2 - January 17th, 2023

**Bug fixes**

* Refactored eventQueueStream

## 11.68.1 - January 12th, 2023

**Bug fixes**

* Fix race condition

## 11.68.0 - January 5th, 2023

**Features**

* Improve text visibility performance
* Remove dynamically generated numbers from element name in path computation

## 11.67.0 - January 2nd, 2023

**Features**

* **Session Replay data collection**: added the `setEncryptionSelectors` command to encrypt sensitive data by a selector (continued)

## 11.66.0 - January 2nd, 2023

**Bug fixes**

* **Custom Variables**: Ignore invalid custom variables that were injected in the [`_cs_cvars`](https://docs.contentsquare.com/en/web/cookies/#_cs_cvars) cookie.

## 11.65.0 - December 22th, 2022

**Features**

* **Transformers**: Change JavaScript transformers to TypeScript transformers.

## 11.64.0 - December 20th, 2022

**Features**

* **Emerch**: Add product exposure tracking.

## 11.63.1 - December 19th, 2022

Version bump for the `@contentsquare/tracking-tag` package.

## 11.63.0 - December 18th, 2022

**Features**

* **Session Replay data collection**: added the `setEncryptionSelectors` command to encrypt sensitive data by a selector

## 11.62.0 - December 14th, 2022

**Bug Fixes**

* **Emerch**: Keep request parameters upon session renewal

## 11.62.0 - December 13th, 2022

**Features**

* Process DOM mutations in chunks to improve performance

## 11.61.1 - December 12th, 2022

**Bug Fixes**

* **API Errors**: Clone Fetch Response before reading payload
* **Session Replay data collection**: The `set_adopted_style_sheets` event must come after the target element is serialized

## 11.61.0 - December 12th, 2022

**Features**

* **Iframe**: Collect emerch on trackPageview.
* **Iframe**: Upgrade communication to Channel Messaging API.

## 11.60.1 - December 8th, 2022

**Bug Fixes**

* Fix Text visibility issue

## 11.60.0 - December 8th, 2022

**Bug Fixes**

* Fix most frequent errors

## 11.59.0 - December 07, 2022

**Features**

* Support [`document.adoptedStyleSheets` ↗](https://developer.mozilla.org/en-US/docs/Web/API/Document/adoptedStyleSheets) in Session Replay (continued).

## 11.57.9 - December 05th, 2022

**Bug Fixes**

* Install listeners for composed events only on document.

## 11.57.7 - November 18th, 2022

**Bug Fixes**

* **Serialization**: Duplication when moving a node inside a node added during the same tick.

## 11.57.6 - November 17th, 2022

Version bump for the `@contentsquare/tracking-tag` package.

This version protects the `Image.src` setter against JavaScript overrides.

## 11.57.4 - November 15th, 2022

**Bug Fixes**

* Added input element to selectors in serialization

## 11.57.3 - November 14th, 2022

**Bug Fixes**

* Allowed synchronous compression when Worker creation fails (continued)

## 11.57.2 - November 14th, 2022

**Bug Fixes**

* Allowed synchronous compression when Worker creation fails

## 11.57.1 - November 14th, 2022

Version bump for the `@contentsquare/tracking-tag` package.

## 11.57.0 - November 10th, 2022

Version bump for the `@contentsquare/tracking-tag` package.

## 11.56.2 - November 10th, 2022

**Performance Improvements**

* Compute initial scroll position only for document instead of every HTML element.

## 11.56.1 - November 9th, 2022

**Features**

* Text visibility revamp

## 11.56.0 - November 8th, 2022

**Bug fixes**

* **Session Replay**: reduce the payload size by rounding mouse position coordinates.

## 11.55.1 - November 7th, 2022

**Bug fixes**

* Fix intermittent JS error produced by the logger.

## 11.55.0 - November 7th, 2022

**Features**

* Don't renew sessions on browser events that are not user events.

## 11.54.3 - November 3rd, 2022

**Bug fixes**

* Fix throttling to only report actual target events
* Filter untrusted click/mouse/pointer/touch events (continued)

## 11.54.2 - November 2nd, 2022

**Bug fixes**

* Update Performance API management to fix incorrect session time duration
* Filter untrusted click/mouse/pointer/touch events

## 11.54.1 - October 31st, 2022

**Bug fixes**

* Reset pageview request index on session renewal.

## 11.54.0 - October 27th, 2022

**Features**

* (Internal) Allow flush commands register for dev environments

**Performance Improvements**

* Miscellaneous performance improvements (including tag download time, caching, tree shaking)

## 11.53.1 - October 24th, 2022

Version bump for the `@contentsquare/tracking-tag` package.

## 11.53.0 - October 24th, 2022

**Features**

* Add `referrer:` commands to mask Personal Data carried over by the referrer and sent to the tracking Tag on the next page.

## 11.52.0 - October 19th, 2022

**Features**

* Use reliable selector to collect product path for Emerch.

## 11.51.0 - October 11th, 2022

**Bug fixes**

* Use `cachedJsonStringify` on Error events.

**Features**

* Increase the number of events to and throttling time to send a Session Replay data collection request

**Performance Improvements**

* Implemented throttling on move events

## 11.50.0 - October 10th, 2022

**Bug fixes**

* Fix serialization issues which resulted in broken screenshots

## 11.49.1 - October 05th, 2022

**Bug fixes**

* Fix duplicates in collection by handling nodes removed and added within the same tick (event loop).

## 11.49.0 - October 05th, 2022

**Features**

* Check `Map` and `Set` are supported in the browser before tracking.

## 11.48.0 - October 04th, 2022

**Features**

* Retry data collection requests for Session Replay.

**Bug fixes**

* Fix Unplayable Replay rate by Wait for `initialDom` to be done before sending beacon requests.

## 11.47.0 - September 29th, 2022

**Bug fixes**

* Reintroduce `CSPathComputation` global variable in built Tag.

## 11.46.0 - September 28th, 2022

**Features**

* Support product exposure tracking for Emerch.

## 11.45.1 - September 26th, 2022

Version bump for the `@contentsquare/tracking-tag` package.

## 11.45.0 - September 26th, 2022

**Features**

* Remove `mousemove`, `mousedown` and `mouseup` events collection

## 11.44.5 - September 22th, 2022

**Bug fixes**

* Manage concurrent async serializations

## 11.44.4 - September 22th, 2022

**Bug fixes**

* Catch Session Replay data collection recovery errors to avoid stopping the Tag boot.

## 11.44.3 - September 29th, 2022

**Bug fixes**

* Prevent serializing twice nodes added in the same tick (event loop).

## 11.44.2 - September 15th, 2022

**Bug fixes**

* Ignore attributes mutations that do not change the state of the DOM

**Performance Improvements**

* Improve duplicated `JSON.stringify` calls
* Improved performance of Array-like operations

## 11.44.1 - September 14th, 2022

**Bug fixes**

* Improve browser support check for Custom Elements registration in Session Replay
* Fix page and session number on session renewal if multiple tabs are open

## 11.44.0 - September 13th, 2022

**Features**

* **Add `pvt` query parameter to tell the pageview type**: artificial, natural, or session renewal.

## 11.43.0 - September 12th, 2022

**Features**

* Throttle data collection for Session Replay requests to improve performance

## 11.42.0 - September 12th, 2022

**Features**

* Protect `window.performance` against overrides (pageviews were not being fired).

## 11.41.0 - September 8th, 2022

**Bug fixes**

* Improve sanitization of Personal Data CSS selectors which prevented collecting Session Replay data for sessions (continued)

**Features**

* Fix controlled exposure for HTML elements which generated blank screens

## 11.40.2 - September 7th, 2022

**Bug fixes**

* Improve sanitization of Personal Data CSS selectors which prevented collecting Session Replay data for sessions

## 11.40.1 - August 29th, 2022

**Bug fixes**

* Do not collect personal information in JS errors
* Report errors when touch events are not supported

## 11.40.0 - August 24th, 2022

* Implementation touch events - Pinch and Spread support

## 11.39.0 - August 23rd, 2022

* Technical improvement on the serialization process

## 11.38.1 - August 22nd, 2022

* Collect touch events in Session Replay

## 11.38.0 - August 22nd, 2022

* Collect touch events in Session Replay

## 11.37.1 - August 18th, 2022

* Technical improvement

## 11.37.0 - August 17th, 2022

* Merchant info for add to cart and purchase

## 11.36.2 - August 9th, 2022

* **Bug fix**: Emerch module

## 11.36.2 - August 8th, 2022

* **Bug fix**: Emerch module

## 11.36.1 - August 8th, 2022

* Session Replay improvement

## 11.36.0 - August 3rd, 2022

* Implementation of Text errors

## 11.35.0 - August 3rd, 2022

* **Technical improvement**: Session duration

## 11.34.0 - August 3rd, 2022

* Cvar key maximum length increased to 512 characters.

## 11.33.3 - August 1st, 2022

* Performance improvement

## 11.33.2 - July 28th, 2022

* Internal improvement

## 11.33.1 - July 26th, 2022

* Support fix

## 11.33.0 - July 18th, 2022

* Update the pointer events with more arguments.

## 11.32.2 - July 13th, 2022

* Maximum length of Dvar key increased from 50 to 512 characters.

## 11.32.1 - July 12th, 2022

* Technical improvement

## 11.32.0 - July 12th, 2022

* New Scope for custom variables added

## 11.30.1 - July 6th, 2022

* Support fix

## 11.30.0 - July 5th, 2022

* New event tracking for input password and number in SR

## 11.29.0 - July 4th, 2022

* Add Swipe metrics in zoning

## 11.28.0 - July 4th, 2022

* Collect body

## 11.27.3 - June 28th, 2022

* Refactoring DOM serializer/ Async Map Processor introduction

## 11.27.2 - June 28th, 2022

* Support fix

## 11.27.1 - June 28th, 2022

* Scraper requests fix

## 11.27.0 - June 27th, 2022

* Collect swipe and long-press events

## 11.26.3 - June 16th, 2022

* Tag refactoring

## 11.26.1 - June 8th, 2022

* Support fix

## 11.26.0 - June 7th, 2022

* API errors - Collect Query parameters

## 11.25.2 - June 1st, 2022

* Bug fix

## 11.25.1 - May 31st, 2022

* Support fix

## 11.25.0 - May 24th, 2022

* Regex flags support

## 11.24.0 - May 17th, 2022

* Tag improvement

## 11.23.2 - May 9th, 2022

* Fix API call undefined when collecting headers

## 11.23.1 - May 9th, 2022

* Support ticket fix

## 11.23.0 - May 4th, 2022

* Manage lazy loaded products
* Add query parameter in display requests to indicate if the payload is compressed or not

## 11.22.0 - May 3rd, 2022

* Collect custom/standard headers

## 11.21.0 - April 26th, 2022

* **Fix**: \[API Error] Collected wrong `error_time`

## 11.20.2 - April 25th, 2022

* Bug fix

## 11.20.0 - April 20th, 2022

* Support ticket fix

## 11.19.4 - April 14th, 2022

* Symmetric Encryption services into `cryptoWrapper` package

## 11.19.3 - April 13th, 2022

* Bug fix

## 11.19.2 - April 12th, 2022

* Bug fix

## 11.19.1 - April 11th, 2022

* Internal improvement

## 11.19.0 - April 11th, 2022

* Add `projectId` to the context object passed to the afterPageView callback

## 11.18.0 - April 7th, 2022

* Use fetch when available

## 11.17.0 - April 7th, 2022

* Reduce Tag size

## 11.16.0 - April 6th, 2022

* Internal change in logs
* Bug fix

## 11.15.2 - April 5th, 2022

* Internal change in logs

## 11.15.1 - March 31st, 2022

* Bug fix

## 11.15.0 - March 30th, 2022

* Send encrypted user identifier to Session Replay

## 11.14.2 - March 30th, 2022

* Debounced scroll events attributed to the wrong pageview

## 11.14.1 - March 21st, 2022

* Session Replay improvement

## 11.14.0 - March 21st, 2022

* Bug fix

## 11.13.1 - March 21st, 2022

* Bug fix

## 11.13.0 - March 21st, 2022

* Internal update

## 11.12.0 - March 15th, 2022

* Internal logs set up

## 11.11.0 - March 14th, 2022

* `setOption` command usage for technical reason

## 11.10.1 - March 10th, 2022

* Events collection fix

## 11.10.0 - March 10th, 2022

* Core Web Vitals collection implementation
* Minor improvement
