Consent: how to make Users opted-out by default?
Hi there,
could someone tell me the Snippet-Code that I would need in order to block Data-Collection (Consent opt-out) as default?
I am trying to implement the Data Collection Consent API – Consent Management System Integration and the variable
DY.consentIntegrationActive = true;
seems not to be doing that (I see data being collected in Cookies & Local Storage anyway).
In the GDPR-Documentation I just found this answer, which doesn't really help me further :-) :
Cheers
Tommaso
-
Hi,
It seems like the API you are using is only part of the solution
DY.API('consent_optout'); is the API you are looking for, and I believe you can invoke it for any user - if user consent to data collection, you can then invoke DY.API('consent_optin');. The API above will only make the script wait with DY collection for the consent methods.
Please sign in to leave a comment.
Comments
4 comments