1. The first section of the snippet contains the stub file. The stub file sets up the IAB US Privacy String object “__uspapi” and makes it available on queue to be called and released when needed. It is important to have this script tag always at the top in the first position to avoid errors and failure of the service.
a. mmsDomain - 'https://mms.sp-prod.net' can be changed to a CNAMED 1st party subdomain in order to deliver 1st party cookies on Safari web browser (due to Safari’s ITP). Changing the mmsDomain is optional! More information about setting up an mmsDomain below.
b. ccpaOrigin - "https://ccpa.sp-prod.net" is the endpoint from where the CCPA service is served. Keep as is.
c. accountId – This parameter needs to be used to set the account ID you received from your Sourcepoint account manager - The ID associates your data and website with the your account in the Sourcepoint dashboard.
d. getDnsMsgMms - As an alternative to establishing the communication with the message management service through the mmsDomain, you can set this value to
false to establish the channel through the
ccpaOrigin URL. This approach enables uses cases in where a CCPA Do Not Sell (my data) notification is shown on the website without creating a campaign in the Sourcepoint dashboard.
e. alwaysDisplayDns - Setting this parameter to
true enables use cases where a Sourcepoint Do Not Sell (my data) notification is hardcoded.
Once you have created the CNAME record, please inform your Sourcepoint Account manager so that they can create an SSL certificate for the subdomain. This will ensure that both secure and non-secure traffic is handled properly.