---
title: "Configure the analytics cookie domain"
slug: "configure-the-analytics-cookie-domain"
abstract: "How to configure the Sitecore Content Delivery analytics cookie domain."
---
# Configure the analytics cookie domain

| 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 `value` attribute of the `Analytics.CookieDomain` tag.

    ```text
    <setting name="Analytics.CookieDomain" value="<domain.name>" />
    ```