---
title: Sourcepoint
slug: experience/sourcepoint
description: This article summarises the setup of the CMP Sourcepoint in Purple.
docTags: 
createdAt: 2024-07-18T18:25:21.241Z
---

# Summary

## Official websites

| **Site**      | **URL**                                                                        |
| ------------- | ------------------------------------------------------------------------------ |
| Website       | [https://sourcepoint.com/](https://sourcepoint.com/)                           |
| Documentation | [https://docs.sourcepoint.com/hc/en-us](https://docs.sourcepoint.com/hc/en-us) |

## Developer integrations

| **Platform** | **URL**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Android      | [https://github.com/SourcePointUSA/android-cmp-app](https://github.com/SourcePointUSA/android-cmp-app)                                                                                                                                                                                                                                                                                                                                                                                                       |
| iOS          | [https://github.com/SourcePointUSA/ios-cmp-app](https://github.com/SourcePointUSA/ios-cmp-app)                                                                                                                                                                                                                                                                                                                                                                                                               |
| Web          | <font color="#0C121D"></font><br />[https://docs.sourcepoint.com/hc/en-us/articles/4416092045587-GDPR-TCF-implementation-guide-web](https://docs.sourcepoint.com/hc/en-us/articles/4416092045587-GDPR-TCF-implementation-guide-web)<br /><br />**US National**<br />[https://docs.sourcepoint.com/hc/en-us/articles/23845605843347-U-S-Multi-State-Privacy-GPP-implementation-guide-web](https://docs.sourcepoint.com/hc/en-us/articles/23845605843347-U-S-Multi-State-Privacy-GPP-implementation-guide-web) |

# 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**" => "**Sourcepoint SDK**"
:::

| **Setting**        | **Description**         |
| ------------------ | ----------------------- |
| Account-ID         | Provided by Sourcepoint |
| Property-ID        | Provided by Sourcepoint |
| Property-Name      | Provided by Sourcepoint |
| Privacy Manager-ID | Provided by Sourcepoint |

Read more in the [Sourcepoint app setup guide](docId\:bwt4BrzDDqxo1CtnKBRar).

## Web integration

### Enable SDK

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

**Sourcepoint configuration**

| **PXP Version** | **Setting**                                    | **Required**                     | **Description**                                                                                                                                                                                                                                                                              |
| --------------- | ---------------------------------------------- | -------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 3.5.0           | accountId                                      | <font color="#0C121D"></font>    | <font color="#6b7280"></font>                                                                                                                                                                                                                                                                |
| 3.5.0           | propertyId                                     | <font color="#0C121D"></font>    | Provided by Sourcepoint                                                                                                                                                                                                                                                                      |
| 3.5.0           | propertyName                                   | <font color="#B91C1C">yes</font> | Provided by Sourcepoint                                                                                                                                                                                                                                                                      |
| 3.5.0           | privacyManagerId<font color="#9900ef">*</font> | no                               | Provided by Sourcepoint<br /><br />A configured privacyManagerId without any explicit campaign configuration will result in running Sourcepoint with a GDPR campaign and the privacyManagerId is used for that.                                                                              |
| 5.0.0           | isSPA                                          | no                               | Your custom configuration<br /><br />Values:<br /><font color="#2166AE">**true | false**</font>                                                                                                                                                                                              |
| 5.0.0           | cnameSubDomain                                 | no                               | Your custom configuration<br /><br />Documentation:<br />[https://docs.sourcepoint.com/hc/en-us/articles/4405397441043-Configure-subdomain-with-CNAME-DNS-record](https://://docs.sourcepoint.com/hc/en-us/articles/4405397441043-Configure-subdomain-with-CNAME-DNS-record)                 |
| 5.0.0           | targetingParams                                | no                               | Your custom configuration<br /><br />Map of key value pairs. <br /><br />Documentation:<br />[https://docs.sourcepoint.com/hc/en-us/articles/4405412419731-Client-configuration-parameters](https://://docs.sourcepoint.com/hc/en-us/articles/4405412419731-Client-configuration-parameters) |
| 4.0.0           | campaigns                                      | <font color="#0C121D"></font>    | Provided by Sourcepoint                                                                                                                                                                                                                                                                      |

<font color="#9900ef">(*)</font> Deprecated since **PXP 4.0.0** (replaced by explicit campaign configuration). Read more about this topic here: [Campaign setup - Sourcepoint](docId:47jMKzruBbEErZhB0Jhd6)&#x20;

**Sourcepoint campaign configuration**

Since **PXP 4.0.0** we are supporting multiple Sourcepoint campaigns. So every campaign should be configured explicitly in our "*experience.config.json*" file.

Current supported campaign types are **GDPR** and **US National**.

| **PXP Version** | **Setting**      | **Required**                  | **Description**                                                                                                                                                                                                                                                                              |
| --------------- | ---------------- | ----------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 4.0.0           | type             | <font color="#0C121D"></font> | Specify campaign type.<br /><br />Values:<br /><font color="#2166AE">**gdpr | usnat**</font>                                                                                                                                                                                                 |
| 4.0.0           | privacyManagerId | <font color="#0C121D"></font> | Provided by Sourcepoint                                                                                                                                                                                                                                                                      |
| 5.0.0           | targetingParams  | no                            | Your custom configuration<br /><br />Map of key value pairs. <br /><br />Documentation:<br />[https://docs.sourcepoint.com/hc/en-us/articles/4405412419731-Client-configuration-parameters](https://://docs.sourcepoint.com/hc/en-us/articles/4405412419731-Client-configuration-parameters) |

**Structure in experience.config.json**

:::CodeblockTabs
Plugin configuration GDPR

```json
{
  "purple": {
    "consentManagement": {
      "cmpProvider": "sourcepoint",
      "cmps": {
      
        "sourcepoint": {
          "configuration": {
            // note: configured as number
            "accountId": 1000,  // Provided by Sourcepoint
            // note: configured as number
            "propertyId": 2000, // Provided by Sourcepoint
            "propertyName": "Provided by Sourcepoint",
            "isSPA": true | false // Configure with your needs or omit setting
            "cnameSubDomain": "cmp.example.com",
            "targetingParams": {
              "key": "value"
            },
            "campaigns": [
              {
                "type": "gdpr",
                "privacyManagerId": "Provided by Sourcepoint",
                "targetingParams": {
                  "key": "value"
                }
              }
            ]
          }
        }
        
      }
    }
  }
}
```

Plugin configuration GDPR+US National

```json
{
  "purple": {
    "consentManagement": {
      "cmpProvider": "sourcepoint",
      "cmps": {
      
        "sourcepoint": {
          "configuration": {
            // note: configured as number
            "accountId": 1000,  // Provided by Sourcepoint
            // note: configured as number
            "propertyId": 2000, // Provided by Sourcepoint
            "propertyName": "Provided by Sourcepoint",
            "isSPA": true | false // Configure with your needs or omit setting
            "cnameSubDomain": "cmp.example.com",
            "targetingParams": {
              "key": "value"
            },
            "campaigns": [
              {
                "type": "gdpr",
                "privacyManagerId": "Provided by Sourcepoint",
                "targetingParams": {
                  "key": "value"
                }
              },
              {
                "type": "usnat",
                "privacyManagerId": "Provided by Sourcepoint",
                "targetingParams": {
                  "key": "value"
                }
              }
            ]
          }
        }
        
      }
    }
  }
}
```
:::



