XM Cloud visitor cookies

XM Cloud issues cookies to website visitors. You can persist consent choices for individuals that do not want to be tracked or stored at all by issuing a cookie or storing a value in a session. The following table describes the cookies that can be issued to website visitors:

Cookie name

Description

Configuration options

ASP.NET_SessionId

The default ASP.NET session ID cookie.

Configured on the sessionState element in web.config.

__RequestVerificationToken

The default ASP.NET anti-XSRF cookie.

{website}#lang

Stores context language of the current site.

Sample value: docsite#en

bid_{client_key}

Used for tracking, analytics, and personalization if your front-end application uses the Sitecore Engage SDK.

This cookie persists the browser ID between sessions. It generates a universally unique identifier (UUID) that is unique per browser until the cookie expires or is deleted. After the cookie expires or is deleted, a new UUID is generated the next time the visitor returns.

sc_{SitecoreEdgeContextId}

Used for tracking, analytics, and personalization if your front-end application uses the Sitecore Cloud SDK.

This cookie persists the browser ID between sessions. It generates a universally unique identifier (UUID) that is unique per browser until the cookie expires or is deleted. After the cookie expires or is deleted, a new UUID is generated the next time the visitor returns.

sc_site

The name of the site. Set by the JSS Multisite Middleware.

Do you have some feedback for us?

If you have suggestions for improving this article,