WordPress renew cookie consens declaration for user
Hello,
we use for the website https://das-schmoeckwitz.de/ the plugin Cookiebot | GDPR/CCPA Compliant Cookie Consent and Control; the setting are done in the backend of Cookiebot.
Now I want to set in the Privacy policy the function for user to renew the cookie consens declaration.
After reading I find this code:
<a href="javascript:CookieConsent.renew();CookieDeclaration.SetUserStatusLabel();">Ändern Sie Ihre Einwilligung</a>
...but this link does not work.
How I implement the function "renew" in a WordPress-Site?
Thanks for helping.
Birgit
-
Hi Birgit,
The CookieConsent renew and withdraw links are included in the Cookie Declaration provided by Cookiebot. You could simply include the cookies declaration in your Privacy policy page, since this is the best and easiest solution.
You could check this article to find out what is included in the Cookie declaration: https://support.cookiebot.com/hc/en-us/articles/360004374474-What-is-the-Cookie-Declaration-cookie-policy-and-what-is-included-in-it-
However, if you do not want to use of the Cookie Declaration, then you must provide alternative ways for the user to easily renew or withdraw their consent.
This can be done using the Cookiebot API and you can insert the JavaScript functions "Cookiebot.renew()" or “Cookiebot.withdraw()” which will renew or withdraw a consent by showing the cookie consent dialog to the user:<a href="javascript: Cookiebot.renew()">Change your consent</a>
<a href="javascript: Cookiebot.withdraw()">Revoke your consent</a>
You could learn more about how users can change or withdraw a cookie consent here: https://support.cookiebot.com/hc/en-us/articles/360003798814-How-can-the-user-change-or-withdraw-a-cookie-consent-
Regards,
Spas0 -
Hi Spas, thanks for helping. Now I have it ;-)))
You can close the ticket.
Regards,
Birgit0
Please sign in to leave a comment.
Comments
2 comments