Change Cookie Consent Using CookieYes
Last updated on January 7th, 2020.
GDPR requires that the consent provided for the collection, processing, storing of data should be reversible. The users should be able to revoke the consent they have already given.
CookieYes enables a website to display a cookie banner, block the cookie prior to the consent, and set cookies based on the consent. Using CookieYes you can also let the users change their cookie preference or their consent to use the cookies altogether.
The consent recorded using CookieYes is valid for a year. If a user wishes to change his/her consent, they can do so by bringing back the cookie banner with a click of a button.
How Does CookieYes Help to Change Cookie Preferences?
If the website has enabled the CookieYes banner on their website, users can give their consent by clicking on the accept button. Once the consent is recorded the banner is dismissed.
So to allow the users to reconsider their consent, CookieYes allows you to add the class cky-banner-element to the HTML element that can be used to enable the user to change their consent. So when clicked on the element, the banner would appear again.
For example, to add a button with the text "Change Cookie Preferences", the code would look like this.
<button class="cky-banner-element">Change Cookie Preferences</button>.
Or if you prefer a link over a button, you can do so as follows:
<a href="#" class="cky-banner-element">Change Cookie Preferences</a>.
Note: If you have a Wix website, simply adding the class .cky-banner-consent won't enable the HTML element to bring back the consent banner since Wix does not allow to add a custom class to its elements. Read the article on how to add a "Change Consent" element in Wix websites using CookieYes.
How is the Changed Consent Recorded in CookieYes?
CookieYes provides website administrators to record the preferences of the users who have given their consent using the banner. For this, the administrators have to enable the consent log from their CookieYes dashboard.
When a user visits the website, an ID is associated with them, and their consent is recorded with that ID. This ID can then be used as proof of consent when the website owners are required to furnish one.
When the user revisits the website and revokes their consent or change their cookie preferences, another record with the same ID and the changed consent is recorded in CookieYes Consent Log. This allows the website administrators to prove whether or not the data collected from a particular user was with consent or not during that interval.
Note: The ID associated with a user is stored in a cookie. The ID will be lost if the user clears all the cookies from the browser. A new ID will be generated when the user visits a website with CookieYes installed.
To know more about setting up CookieYes on your website, read our set up guide.
For any issues or questions regarding CookieYes, contact our support team here.