Skip to main content

WEBINARNavigating Consent Mode V2: How Should I Prepare?

|

30 April, 2024

3 pm CET (8 am CT)

Register now

Change Cookie Consent Using CookieYes

GDPR requires that the consent provided for the collection, processing, storing of data is reversible. The user should be able to revoke the consent they have already given.

CookieYes enables a website to display a cookie banner, block third-party cookies prior to the consent, and set cookies based on the consent. Using CookieYes you can also let the users change their cookie consent preference or withdraw their cookie consent altogether.

The consent recorded using CookieYes is valid for a year. If users wish to change their 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, the users can give their consent by clicking on the ‘accept’ button. Once the cookie consent is recorded, the banner is dismissed.

To enable users to change their cookie consent, CookieYes allows you to add the class cky-banner-element to the HTML element. So, when they click 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>

To see a working example of this, head over to the end of the CookieYes Cookie Policy page and click on the “Cookie Settings” button at the bottom. If you have already given your consent, clicking on the button will make the cookie banner pop up again.

Note: If you have a Wix website, simply adding the class .cky-banner-consent won’t enable the HTML element to bring back the cookie 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 using this ID. The 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 changes their cookie preferences, another record is made under the same ID and the changed consent is recorded in CookieYes Consent Log. This allows the website administrator to demonstrate cookie consent.

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 their browser. A new ID will be generated when the user visits a website that has CookieYes banner installed.

To know more about setting up CookieYes on your website, read our setup guide.

For any issues or questions regarding CookieYes, contact our support team here.