Marketing Integration Guide – Cloud Compliance

Updated on February 27, 2023

1st Propagation logic- Individual system preferences to Contact/Lead

Create System Preference Fields of Contact/Lead

If a user wants to propagate Individual System preference values on Contact & Lead then the user needs to create additional fields on Contact & Lead before mapping those in the configuration.

Sr. No  Data  TypeIndividual System preference fieldsNew Custom Fields on ContactNew Custom Fields on Lead
1 CheckboxDo not Market Do not Market Do not Market 
2CheckboxDo not Profile Do not Profile Do not Profile 
3CheckboxDo not TrackDo not Track Do not Track 
4CheckboxDo not Process Do not Process Do not Process 
5CheckboxOk to store PII informationOk to store PII information Ok to store PII information
6CheckboxForget this IndividualForget this IndividualForget this Individual
7CheckboxExport Individual Data Export Individual Data Export Individual Data
  • Custom fields created on Contact
  • Custom fields created on Lead

Note – Once the fields are created, then the user needs to add those fields to the contact/lead page layout. Create a new section ’Data Propagation’ on the contact/lead page layout and add these custom fields in this section.

System Preferences on Contact Page Layout.

Configuration for the propagation of Individual System Preference to Contact/ Lead.

  • Click on the ‘Configure’ button on the Installed Packages page.
  • After clicking on the ‘Configure’ button, Go to Self Service Configuration tab :

There are three different sections in the Self-Service Configuration tab –

  • Consent Setting – This is used for Self Service in Privacy Management 

For more details – Refer Consent Setting article.

  • Individual Email Field Mapping – This is used in the Consent Management feature.

For more details – Refer Individual Email Field Mapping article.

  • Individual Field Mapping – In this section there are two fields that are used for Individual System Preference Propagation logic –
    • Select Contact Field  – From this drop-down users can select system preference fields created on contact.
    • Select Lead Field – From this drop-down users can select system preference fields created on contact.

Note  –  For more details on Select Field, Info Text, Alert message, and Show Alert when the value is True/False, Refer Individual Field Mapping article.

After adding all necessary mappings, the Individual Field Mapping Section will be as below –

Note – Users can create a new custom checkbox field on Individual object which can be used as system preferences. This can be mapped in Individual Field Mapping section as mentioned above. Just make sure the length of the custom field’s label should not more than 31 characters (including spaces). This is because when the user adds this field in the Individual mapping section, a custom setting record is created with the name as IND-Field API Name where ‘IND-‘ (4 characters)is added as a prefix. And it is a custom field it will be padded with ‘__c’ which counts three characters. 

Special Note – Salesforce recommends using ASCII for the Object Name in case of custom setting. The name can’t exceed 38 ASCII characters.  

Note – Follow all steps as per Getting Started – Consent Management.

When creating a Data Use Purpose record user can see two more custom fields namely the Contact Consent field and the Lead Consent field on the Data Use Purpose record.

Before updating Data Use Purpose records for Marketing Integration features, users need to create Date type Fields on contact & lead with the corresponding Channel and Purpose names in it.

  • The custom date field on Contact is as follows –
  • For e.g.  Add Sales Email as (Effective To) date field on contact/lead. Also, provide help text for these fields like ‘Effective To Date for Marketing Integration’.

Similarly, create fields on the Lead object  –

Note – The user needs to add these newly created custom date fields on contact/lead page layouts.


Add API names of all these fields in respective fields of data use purpose records as follows-

After mapping all the Contact and Lead Consent Field, the data use purpose listview will be as follow – 

After the Addition of custom lightning components with the name ‘Consent Data Component V1’ to the detail page of the Contact & Lead as mentioned in the Getting Started – Consent Management guide, create consents, which may be Opt In or Opt Out in the Consent Matrix of any contact/lead record.

Check the date values which are propagated to the newly created data type fields on Contact & Lead from the consent matrix.

Configuration for Propagation of Privacy Site Url on Contact / Lead record detail.

Prerequisites :

  1. Community configuration should be set up as mentioned in the Add Consent Self Service Visual-Force Page To Experience Builder & Assign CC Guest User And CC Community (Logged In) User Permission Set Guide with Custom Metadata settings overridden with “Community Url”.
  2. Privacy Site Record should be created and at least one site record must be selected as default on Self Service Configuration Tab.
  3. Individuals should be created and associated with the Contact/Lead record. Users can use Cloud Compliance Individual Grouping Rules as mentioned in Grouping Rules for Individual.
  4. After meeting the above prerequisites, Cloud Compliance will generate a URL in the “ Privacy Site Url” field of Contact/lead  as below

Now a user can send the contact’s Consent management verified link to the contact’s email address where the user can review his consent and make necessary changes.