Configure the analytics cookie domain
Version:
| Applies to | Content Delivery (CD) |
|---|---|
| Configuration file | \App_Config\Sitecore\Marketing.Tracking\Sitecore.Analytics.Tracking.config |
The Analytics.CookieDomain setting determines the domain of the tracking cookie (SC_ANALYTICS_GLOBAL_COOKIE). The default value is empty, which makes the current domain the default cookie domain.
Configuring the analytics cookie domain can be useful when you have configured a proxy or special load balancer that changes the domain of the requests.
To configure the cookie domain:
-
Insert the domain name in the
valueattribute of theAnalytics.CookieDomaintag.
If you have suggestions for improving this article, let us know!