...
The CMP for each consent zone has an area in the GUI where the user can access the publisher privacy policy page for more information regarding this matter. This means the privacy policy page should be correctly configured in order to provide this feature in the GUI. In case the privacy policy has different sections or different pages altogether for each specific zone, a different link for each consent zone can be provided, using the specific interfaces adconsent.gdpr()
and adconsent.ccpa()
.
If the user is already in the privacy policy page, having this setting will prevent the CMP popup to automatically open in the page (but not for the other pages), which is the recommended behaviour. Please check showGUI command for insights on how to manually open the CMP GUI in these pages.
...
The function must be called before AdConsent shows the GUI. Calls after AdConsent has shown the GUI will be ignored.
Examples
Setting a global privacy policy page 'https://mysite.com/privacy.html' across all consent zones
Code Block |
---|
adconsent('setPrivacyPolicy', 'https://mysite.com/privacy.html');COPY |
Setting different privacy policy pages for GDPR and CCPA
Code Block |
---|
adconsent.gdpr('setPrivacyPolicy', 'https://mysite.com/gdpr/privacy.html'); adconsent.ccpa('setPrivacyPolicy', 'https://mysite.com/ccpa/privacy.html'); |
...