Code BLACKGO: cookie banner free for a year. Create an account →

Publications / Law and cookies

How visitors can withdraw cookie consent – requirements and good solutions

Withdrawing consent must be as easy as giving it. Where to put the settings, what should happen after withdrawal and how to check it on your own site.

Author: Robert.S Published: 4 min read

How visitors can withdraw cookie consent – requirements and good solutions

A visitor can change their mind at any time. Article 7(3) GDPR says it plainly: withdrawing consent must be as easy as giving it, and people must be told about the right to withdraw before they give consent. Since consent is given with one click in the banner, withdrawing it cannot require searching the privacy policy for an email address.

  • A permanent icon in a corner of the page, visible on every subpage – when clicked, it opens the same settings as the banner.
  • A footer link, e.g. “Cookie settings”, on every subpage.
  • A link in the cookie policy – where you describe the right to withdraw consent.

The settings should show the current choice: the categories the visitor consented to switched on, and the others switched off.

What should happen after withdrawal

  1. Scripts stop working. Services from the withdrawn category must not keep collecting data – also on the current page, not only on the next ones.
  2. The services' cookies disappear. Cookies stored earlier by these services (e.g. _ga, _fbp) should be deleted if the site has access to them.
  3. Signals for Google. With Google Consent Mode v2, the parameters of the withdrawn category go back to “denied”.
  4. Log entry. The withdrawal is recorded in the consent log with a date – just like the earlier consent.

Cookies stored in the providers' domains (e.g. doubleclick.net, facebook.com) are not accessible to the site – the visitor can delete them in the browser settings. It is worth mentioning this in the cookie policy.

How it works in consetgo

  • The settings icon in a corner of the page (you set its position, colour and size in the Banner appearance tab) opens the window with the categories.
  • A settings link can be added anywhere on the page with an attribute: <a href="#" data-consent-open>Cookie settings</a>.
  • A “withdraw all” link with one click: <a href="#" data-consent-withdraw>Withdraw consent</a>.
  • After a consent change the page reloads, so withdrawn scripts stop working immediately.
  • The module deletes the cookies of services from categories without consent on every page load – including those left after consent was withdrawn (since version 1.3.37).
  • The consent log records the withdrawal as a separate entry; in the panel you can search for it by date, action or identifier and export it to CSV.

You can see the settings window and the log in the demo.

How to check it on your site

  1. In a private window, accept all categories and go to another subpage.
  2. Click the icon or the footer link – do the settings open on every subpage?
  3. Switch off marketing and save. In the developer tools (F12), check: no new requests to advertising services, no _fbp cookie or similar.
  4. Check that the withdrawal appears in the consent log.

Checklist

  • An icon or a settings link on every subpage.
  • Information about the right to withdraw consent in the banner or in the policy, before consent is given.
  • After withdrawal: scripts stopped, services' cookies deleted, Consent Mode signals “denied”.
  • Withdrawal recorded in the log.
  • The cookie policy explains how to delete providers' cookies in the browser.

More: “Accept all” and “Reject all” and the cookie policy and the services table. This article describes EU law; it is not legal advice.

Questions and answers

Is it enough to write in the policy that consent can be withdrawn by email?

No. Article 7(3) GDPR requires withdrawal to be as easy as giving consent. Since consent is given with one click in the banner, withdrawal must also be available on the site, e.g. through an icon or a footer link.

Do I have to delete data collected earlier after consent is withdrawn?

Withdrawal does not affect the lawfulness of processing before the withdrawal (Article 7(3) GDPR), but from that moment processing based on consent must stop. Whether data already passed to providers is deleted depends, among other things, on the data retention settings in those tools.

Does the withdrawal of consent have to be recorded in the log?

It is worth doing. The log shows the history of the visitor's decisions – giving and withdrawing consent – which helps show that the site respected their choice.

This is general information, not legal advice.

Read also

How to write clear cookie banner texts – rules and examples

How to write clear cookie banner texts – rules and examples

Law and cookies

Consent is valid only if the visitor understands what they are agreeing to. What the banner texts must make clear, how to name buttons and categories, examples of neutral texts and what happens after you change them.

· 6 min read

Dark patterns in cookie banners – what to avoid

Dark patterns in cookie banners – what to avoid

Law and cookies

Deceptive design patterns in cookie banners according to EDPB Guidelines 03/2022 and the report of the EDPB Cookie Banner Taskforce. What follows from the law, what is the authorities' position and how to check your own banner.

· 6 min read