Permission: Campaign entities

Privacy manager variables allow your organization to utilize a single privacy manager for a property group with programmatic customizations for each property in the property group. Commonly, these privacy manager variables are used by organizations for site-specific branding. 

  Note: Privacy manager variables are only available for privacy managers within property groups. Privacy managers built in individual properties will not have the option to add privacy manager variables.

To start, click Properties on the left-hand panel and select Property Groups


Navigate to a property group on the subsequent list and click the launch icon inline with the property group name.


Select Messages on the subsequent page and select a regulatory regime. Click Web/Webview in the dropdown menu. 

  Note: When selecting a message for the GDPR regulatory regime, you will have the option to select either a Web/Webview message for either TCF or Standard.


Select the Privacy Manager tab and click the Edit icon inline with a privacy manager on the subsequent list. Alternatively, click + New Message if the property group does not have an existing privacy manager.


Integration of property group with onsite configuration

Please remember when giving an end-user the option to update their consent through the privacy manager the group privacy manager id should be specified in the website configuration.

The parameter groupPmId needs to be set to the value of the property group's privacy manager id shown in the Sourcepoint dashboard. Please click here for more information on groupPmId and optional client configuration parameters.

  Note: The groupPmId parameter is only available for GDPR TCF and GDPR Standard implementations. It is currently not supported for U.S. Privacy implementations.

<!-- Example for GDPR -->
window._sp_queue = [];
window._sp_ = {
    config: {
        accountId: 1584,
        baseEndpoint: '',
consentLanguage: "fi", gdpr: { groupPmId: 123456, targetingParams:{ darkmode: false } }, propertyHref: '',

Call loadPrivacyManagerModal() without passing a parameter and the property's group privacy manager as specified by groupPmId will display to the end-user:

<!-- Example for GDPR -->
   <p>Edit <a onclick="window._sp_.gdpr.loadPrivacyManagerModal()" href="javascript:void(0);">Privacy Settings</a></p>

Please click here for more information on implementing code to allow end-users to open the privacy manager and update their consent.

Create privacy manager variable

From the privacy manager builder page, click Variables on the right-hand panel. Use the provided fields to input a variable name and a default value for the variable.

Click Add Variable when finished.

  Note: $$ will be wrapped around your variable name to denote that the name you input is a message variable. Be sure to include the $$ before and after the variable name when using the message variable (e.g. $$back_button$$).

Additionally, if the default value of the privacy manager variable is a URL, remember to include the URL protocol (e.g.


The privacy manager variable will be added to the Master Variable List and every property in the property group.

Expand each property in the Variables panel to set the message variable value for each property.

The privacy manager variable value will be assigned the default value previously set unless otherwise edited.


After setting the privacy manager variable value per property in the property group, insert the privacy manager variable name in the privacy manager builder settings and/or custom CSS whenever the message variable should be called.

  Note: If the privacy manager variable is a URL and you are utilizing the Add link tool in the content of a text component, remember to delete the pre-populated URL protocol (https://) in the Enter link field. The URL protocol should already be included in your privacy manager variable value.


Click Save Message when finished.


In the above example, we want the background color for the Back button to change depending on which property an end-user visits.

The privacy manager variables will be pushed to the properties in the property group based on your configuration. When viewing the privacy manager builder from any of these individual properties, the privacy manager builder will display the value of the privacy manager variable you set in the property group.


Delete privacy manager variable

From the privacy manager builder page for a property group, click Variables on the right-hand panel and expand the Master Variable List.


Navigate to a privacy manager variable from the expanded list and click the Delete icon inline with privacy manager variable.


The privacy manager variable will be deleted from the properties in the property group.

Once the privacy manager variable is deleted, you will need to update your privacy manager builder settings and custom CSS to manually remove the variable and replace it with either a new privacy manager variable or non-variable value.


Click Save Message when finished.


Was this article helpful?
0 out of 0 found this helpful



Article is closed for comments.