---
title: Consent Manager
slug: experience/consent-manager
description: This article summarises the setup of the CMP ConsentManager in Purple.
docTags: 
createdAt: 2024-07-18T17:56:22.632Z
---

# Summary

## Official websites

| **Site**      | **URL**                                                              |
| ------------- | -------------------------------------------------------------------- |
| Website       | [https://www.consentmanager.net/](https://www.consentmanager.net/)   |
| Documentation | [https://help.consentmanager.net/](https://help.consentmanager.net/) |

## Developer integrations

| **Platform** | **URL**                                                                                                                                       |
| ------------ | --------------------------------------------------------------------------------------------------------------------------------------------- |
| Android      | [https://mvnrepository.com/artifact/net.consentmanager.sdkv3/cmsdkv3](https://://mvnrepository.com/artifact/net.consentmanager.sdkv3/cmsdkv3) |
| iOS          | [https://github.com/iubenda/cm-sdk-xcframework-v3](https://://github.com/iubenda/cm-sdk-xcframework-v3)                                       |
| Web          | [https://help.consentmanager.net/books/cmp/page/javascript-api](https://help.consentmanager.net/books/cmp/page/javascript-api)                |

# How to configure&#x20;

:::hint{type="warning"}
Please note any documentation of the provider regarding proper data privacy agreements.&#x20;
:::

## Native Purple App

Any native CMP is configured in the **Purple Manager.**

### Enable SDK

:::hint{type="info"}
***Settings location***

"**Apps**" => "**Overview"&#x20;**=> **Three dots menu** => "**Consent/Push/Analytics**" => "**Consent Management**" => "**ConsentManager SDK**"
:::

| **Setting**   | **Description**             |
| ------------- | --------------------------- |
| Code-ID       | Provided by Consent Manager |
| Server Domain | Provided by Consent Manager |

Read more in the [Consent Manager app setup guide](docId\:QQP4CbFbAvpuUJyAmEpCt).

## Web integration

### Enable SDK

Consent Manager is not explicitly enabled. If a valid configuration of Consent Manager is present in the "*experience.config.json*", the SDK is integrated into the HTML document.

| **PXP Version** | **Setting**           | **Description**                                                                                     |
| --------------- | --------------------- | --------------------------------------------------------------------------------------------------- |
| 3.0             | codeId                | Provided by Consent Manager                                                                         |
| 3.0             | cmpHost               | Provided by Consent Manager                                                                         |
| 3.0             | cmpCdn                | Provided by Consent Manager                                                                         |
| 4.0.2           | mode                  | Either `automatic` or `semi_automatic` depending on the blocking type configured in Consent Manager |
| 3.0             | cmpBlockIgnoreDomains | list of domains that should be excluded from blocking                                               |

**Structure in experience.config.json**

:::CodeblockTabs
Plugin configuration

```json
{
  "purple": {
    "consentManagement": {
      "cmpProvider": "consentmanager",
      "cmps": {
      
        "consentmanager": {
          "configuration": {
            "codeId": "Provided by Consent Manager",
            "cmpHost": "Provided by Consent Manager",
            "cmpCdn": "Provided by Consent Manager",
            "mode": "Provided by Consent Manager",
            
            // If you need that some domains are not blocked 
            // then list all of them here. Below is a useful 
            // start shown for configuring some of the domains 
            // used by Purple. 
            "cmpBlockIgnoreDomains": [
              "cdn.purplemanager.com",
              "eu.cdn.purplemanager.com",
              "catalog.purplemanager.com",
              "catalog2.purplemanager.com",
              "c02.purpledshub.com",
              "eu.cdn2.purplemanager.com",
              "kiosk.purplemanager.com",
              "delivery.purplemanager.com"
            ]
          }
        }
        
      }
    }
  }
}
```
:::

