The GDPR and IAB Europe framework require that publishers provide a persistent link on their site that allows users to edit their consent preferences at any time. Below is an example of how that can be done with a simple link.
<a class="change-consent" onclick="window.__cmp('displayConsentUi');">change consent</a>
By default, Quantcast Choice places a persistent button in the corner of the page if the user has valid consents. The buttons color and shape can be customized by using CSS overrides if desired.
There are 3 configuration options relevant to this button and its customization:
- "Display Persistent Consent Link"
- "Persistent Consent Link Location"
- "Persistent Consent Link Label"
"Display Persistent Consent Link"
Turn the button on or off
A boolean -
true (button is shown)
"Persistent Consent Link Location"
Which corner of the screen the 'Privacy Settings' button is shown in.
An integer, from 1 to 4. 1 representing the top-left corner, 2 the top-right, 3 the bottom-right, and 4 the bottom-left.
3 (the bottom-right corner)
"Persistent Consent Link Label"
The text used for the "Privacy Settings" button.
A non-empty string.
The string "Privacy Settings" or a default translation based on the configured language, if available.