# Consent Domain

#### Definition

A Consent Domain is used by a Consent Management Platform (CMP) to:

* Host cookies and user consent preferences;
* Isolate these cookies from the rest of the site (often for compliance and security reasons);
* Centralize consent management for multiple sites or subdomains belonging to the same organization.

Accessing the feature – *This feature can be activated upon request.* In the side menu, click on “Consent Domains.”

<figure><img src="https://1869615683-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUspPnkTFMlMDdGxvAb-1972196547%2Fuploads%2FTmFaXxsmXbEVIjvuzmm8%2Fimage.png?alt=media&#x26;token=c1072b61-d677-4987-aca3-70ef8f7d5054" alt=""><figcaption></figcaption></figure>

***

#### Creating a Consent Domain

To create a consent domain, click the button to create a new domain. The form consists of Step 1, where you must enter the domain name.

<figure><img src="https://1869615683-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUspPnkTFMlMDdGxvAb-1972196547%2Fuploads%2F8MJqE4JBEHMaS4YRjcTm%2Fimage.png?alt=media&#x26;token=59abb2ca-354e-47c1-8442-2ff47cc56a48" alt=""><figcaption></figcaption></figure>

Step 2 involves installing the domain on the client’s hosting provider. This step can be closed and returned to later. To display the installation modal, click either on the status or the settings icon.

To install the domain, you must:

1. Add the TXT record to the site's DNS settings.
2. Add the CNAME record to the site's DNS settings.
3. Click “Verify DNS.”

<figure><img src="https://1869615683-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUspPnkTFMlMDdGxvAb-1972196547%2Fuploads%2Fl5tqlU3u4p4iYOjpAgEb%2Fimage.png?alt=media&#x26;token=1fdb3f06-ee18-467a-ac0e-4a1c54d40c85" alt=""><figcaption></figcaption></figure>

> Note: CNAME verification can take anywhere from 5 minutes to several hours.

***

#### Editing / Deleting a Consent Domain

Consent domains cannot be edited. You can only verify DNS records or delete the domain.

To delete, click the trash icon and confirm the deletion.

***

#### Creating a Site Group

Site groups contain the domains and subdomains where the consent domain will be active. These will be displayed on the final CMP. Make sure to enter both [www.domain.com](https://www.domain.com) AND domain.com for each domain.

<figure><img src="https://1869615683-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUspPnkTFMlMDdGxvAb-1972196547%2Fuploads%2FssQFrLXfYIW1awhxVQe4%2Fimage.png?alt=media&#x26;token=21e51c53-39da-4c2a-b3f1-e7daa0cb20fc" alt=""><figcaption></figcaption></figure>

***

#### How to use a Consent Domain on a CMP

On the Code Retrieval page:

Select the desired consent domain for the CMP. The script will automatically update with this new domain; the client must then copy/paste the new script onto their site.

<figure><img src="https://1869615683-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUspPnkTFMlMDdGxvAb-1972196547%2Fuploads%2Fs40PPsQppgQM9ehaUyzw%2Fimage.png?alt=media&#x26;token=f097614c-5229-4f61-b9ac-396afef50d61" alt=""><figcaption></figcaption></figure>

In the Sirdata GTM template:

<figure><img src="https://1869615683-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUspPnkTFMlMDdGxvAb-1972196547%2Fuploads%2FoeNDL5qVN14qFUJAWA4P%2Fimage.png?alt=media&#x26;token=6eb55897-acf3-4949-b6f6-684da484bf93" alt=""><figcaption></figcaption></figure>

> Warning: This field is not persistent. If you select a custom consent domain, leave the page, and return to it, the domain will no longer be selected.

***

Would you like me to adjust the terminology to match a specific technical documentation style (e.g., more formal or more developer-oriented)?
