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

Screen_Shot_2021-11-05_at_4.54.20_PM.png

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

Screen_Shot_2023-01-20_at_8.38.12_AM.png

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.

Screenshot 2024-03-26 at 9.13.36 AM.png

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.

Screen_Shot_2023-01-20_at_8.54.47_AM.png

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.

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

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 -->
<footer>
   <p>Edit <a onclick="window._sp_.gdpr.loadPrivacyManagerModal()" href="javascript:void(0);">Privacy Settings</a></p>
</footer>

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. https://sourcepoint.com).

Screen_Shot_2021-06-18_at_1.29.42_PM.png

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.

Screen_Shot_2021-06-18_at_1.33.27_PM.png


Using privacy manager variable

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.

Below are some common use cases for privacy manager variables:

Element styling

When used for fields in the privacy manager builder that allow input values (e.g. background color of a button), privacy manager variables allow your organization to quickly edit the value for the same field.

From the property group's privacy manager builder, input the master variable name into the provided field.

Screenshot 2023-12-13 at 2.19.39 PM.png

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.

Element name

Privacy manager variables can be used to update the name of an element so that it is the same (or different) across all properties in your property group. 

From the property group's privacy manager builder, navigate to any element and input the master variable name into the Name field.

Screenshot 2023-12-13 at 2.24.03 PM.png

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.

Custom CSS

Privacy manager variables can be deployed in your custom CSS for the group property's privacy manager to target certain elements that may not have readily available value input fields (e.g. the font). 

In the below example, we are deploying the privacy manager variable to import different fonts for each property in the property group.

Screenshot 2023-12-13 at 2.52.58 PM.png

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.

CSS handle

Privacy manager variables can be used to update the CSS handle of an element so that it is the same (or different) across all properties in your property group. 

From the property group's privacy manager builder, navigate to any element and input the master variable name into the CSS Handle field.

Screenshot 2023-12-13 at 3.08.32 PM.png

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.

Alt text

Deploy your privacy manager variable in the property group's privacy manager builder to update an image's alt text across all properties in the property group.

Screenshot 2023-12-13 at 12.53.07 PM.png

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.

Text link

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 value.

pmvar.gif


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.

Screen_Shot_2021-06-18_at_1.51.36_PM.png

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

Screen_Shot_2021-06-18_at_1.55.13_PM.png

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.

Screen_Shot_2021-06-18_at_1.57.46_PM.png

Click Save Message when finished.

 

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

Comments

0 comments

Article is closed for comments.