...
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'); |
...