Cookies

Contentsquare is only using first-party cookies for analytics purposes.

NameDurationDescription
_cs_id13 monthsStores technical user data
_cs_s30 minutesStores Session Replay data
_cs_c13 monthsStores user consent on use of session data use within replays (not masked vs. full masked)
_cs_cvarsSession lengthStores the URL-encoded custom variables from the session
_cs_ex30 daysWhen set, the user is excluded from tracking
_cs_optout13 monthsWhen set, the user is opted-out from tracking
_cs_tImmediately removedChecks if the browser supports cookies and sets flags
_cs_same_siteImmediately removedCheck if the browser supports the SameSite flag
_cs_root-domainImmediately removedStores the URI-encoded main domain name of the site
_cs_mk_aa30 minutesEnsures Adobe Analytics dimensions and eVars are set only once every 30 minutes
_cs_mk_ga30 minutesEnsures Google Analytics dimensions and eVars are set only once every 30 minutes
_cs_debugSession lengthEnables/disables specific behavior of the Tag for debugging purposes

Cookies required by the Contentsquare tag to collect reliable data.

Description

Stores technical user data.
Contains the following information separated by dots:

  • User ID,
  • User creation timestamp (seconds),
  • Number of visits,
  • Last pageview timestamp (seconds),
  • Last visit timestamp (seconds),
  • Timestamp of the last time this visitor was drawn,
  • Cookie expiration date,
  • Cookie SameSite attribute:
    • None: For cross-domain projects
    • Lax: For projects that are not cross-domains
    • X: When browsers that do not support the SameSite cookie attribute.
  • Cookie Secure attribute value:
    • 0: cookie is not secure. Default for projects that are not cross-domain or if the browser doesn’t support the SameSame cookie attribute.
    • 1: cookie is secure, default for cross-domain projects.

Lifetime

13 months, fixed. The cookie value is updated with every pageview.
The cookie is recreated if the visitor can be tracked and no _cs_id cookie exists.

Length

Up to 103 characters

Example

5c8f99e9-46cc-a2cc-b049-031bfdb3d43b.1661526503.5.1661785703.1661785703.1.1695690503380

Description

Stores Session Replay data.
Contains the following data separated by dots:

  • The number of pages viewed for the current session
  • The Session Replay data collection state:
    • For the legacy Session Replay data collection pipeline:
      • 1 when not collected,
      • 3 when collected,
      • 5 when collected after a specific trigger.
    • For the main Session Replay data collection pipeline:
      • 0 when not collected,
      • 5 when collected
  • The Event Triggered Replay (ETR) state:
    • 0 when ETR sampling is not allowed
    • 1 when ETR sampling is allowed
  • The cookie expiry timestamp (Epoch time)

Length

Between 16 and 20 characters.

The maximum number of characters depend on the number of pages seen during the session. On average, for less than 100 pageviews, this adds between 16 and 17 characters.

Lifetime

30 minutes, renewed with every page view.

Example

3.0.0.1661531650281

Description

Stores user consent on use of session data use within replays (not masked vs. full masked):

  • 1 (consent not expressed) — visitor session is fully masked.
  • 2 (consent granted) — visitor session is not fully masked even if the feature is enabled.
  • 3 (consent withdrawn) — visitor session is fully masked even if the feature is not enabled.
  • 0 (masking not required) — visitor session is not fully masked.

Lifetime

13 months, renewed when consent is updated.

Description

Includes the URL-encoded custom variables from the session.

Used only when using custom vars in scope visit or without scope.

Example

This will store custom vars inside _cs_cvars:

window._uxa.push(['setCustomVariable', 5, "cvar_name", "cvar_value", "visit"]);
window._uxa.push(['setCustomVariable', 5, "cvar_name", "cvar_value"]);

This will not store custom vars inside _cs_cvars:

window._uxa.push(['setCustomVariable', 5, "cvar_name", "cvar_value", "page"]);

Lifetime

While the session lasts. Created when session-level custom variables are triggered. The value and expiration date are updated with each pageview.

Length

The minimum number of characters is 39. Length depends on how many custom variables are pushed as well as and the length of the keys and values passed.

Description

Contains the timestamp of the last time this visitor was drawn.
Used to exclude visitors from being tracked when:

  • The Sample Rate defined for the project is below 100%.
  • The user is not selected to be tracked (generated number for user < Sample Rate).

Lifetime

30 days, renewed on Tag execution.

Description

When set, the user is opted-out from tracking.

The cookie is set when you implement and execute the optout Tag command, for users who do not consent to data collection.

Lifetime

13 months, fixed.

Description

Whether the browser supports cookies.
If so, the Tag sets the SameSite flag to None and the Secure flag to Yes.
Always 1.

Lifetime

Immediately removed.

Description

Used to check if the browser supports the SameSite flag.
The value is always Test same site.

Lifetime

Immediately removed.

Description

Stores the URI-encoded main domain name of the site.

Lifetime

Immediately removed.

Example

https%3A%2F%2Fusps.com for the domain usps.com

Description

Enables/disables specific behavior of the Tag for debugging purposes.

Supported flags:

  • compressionDisabled: disables payload compression for inspection in the browser.

Lifetime

Session duration. To be created and deleted manually.

Length

N/A

Example

N/A

Cookies used when third-party integrations are enabled.

Description

Ensures Adobe dimensions and eVars are set only once every 30 minutes.

Stores the value of the csMatchingKey which is a random number plus timestamp in milliseconds.

Lifetime

30 minutes.

Example

0.004432816788423777_1593783518901

Description

Ensures Google dimensions and eVars are set only once every 30 minutes.

Stores the value of the csMatchingKey which is a random number plus timestamp in milliseconds.

Lifetime

30 minutes.

Example

0.004432816788423777_1593783518901

Description

Cookies generated for Google Analytics and Adobe Analytics integrations which help determine the main domain on which create integration cookies.

{nnnnnnnnnnnnn} is the timestamp.

Lifetime

Immediately removed.

Example

_cs_tld1670937307564