...
The function must be called before AdConsent shows the GUI. Calls after AdConsent has shown the GUI will be ignored.
Examples
...
Configure the CMP GUI always to
...
show the reject button
Code Block |
---|
adconsent.gdpr('enableRejectChoice', true); |
...
Configure the CMP GUI always to
...
hide the reject button
Code Block |
---|
adconsent.gdpr('enableRejectChoice', false); |
...
Enable the reject button for
...
Portuese, Spanish,
...
and
...
German users only
Code Block |
---|
adconsent.gdpr(''enableRejectChoice', ['pt', 'es', 'de']); |