GDPR Cookie Banner Requirements: Reject Button, Pre-Ticked Boxes and 7 Other Rules
A checklist of what EU regulators expect from a cookie banner, with each rule tied to the EDPB Cookie Banner Taskforce, CNIL or the law, plus Google's consent policy, the effect on measurement and how to test your own site.
In short
An EU cookie banner must stop every non-essential cookie and tag until the visitor gives a clear yes, offer a reject option wherever there is an accept button, use no pre-ticked boxes or misleading design, never rely on legitimate interest for tracking cookies, keep the site usable after refusal, make withdrawal easy and keep proof of consent.
A cookie banner that meets EU rules does four things: it keeps every non-essential cookie and tag switched off until the visitor gives a clear yes, it makes saying no as easy as saying yes, it lets people change their mind later, and it leaves a record you can show a regulator. Below are the nine rules regulators apply, the source for each, and how to test your own site.
The two laws behind every cookie banner
The ePrivacy Directive, in Article 5(3), covers storing information on a visitor's device or reading it from there: cookies, local storage and similar technologies. Each EU country has written it into national law. It allows storage or access only with consent, unless the technology is strictly necessary for a service the visitor explicitly requested. The GDPR then supplies the standard for that consent: freely given, specific, informed and unambiguous, as defined in its Article 4(11). It also governs what you do with the data afterwards.
The EDPB Cookie Banner Taskforce, a group of EU regulators coordinating their response to complaints filed by the privacy group noyb, confirmed this split in a report adopted on 17 January 2023 and published the next day. Placing or reading cookies falls under national ePrivacy law. The later processing falls under the GDPR. Because the GDPR's one-stop-shop mechanism, where one lead regulator handles a cross-border case, does not apply to the ePrivacy part, national regulators enforce cookie rules themselves and can add requirements of their own. The taskforce described its positions as a minimum threshold, not a green light.
The nine rules, with sources
| Rule | Source | How to check it on your site |
|---|---|---|
| 1. Nothing non-essential is stored or read until a clear yes. Scrolling or continuing to browse is not a yes. | ePrivacy Directive Art. 5(3); GDPR recital 32; EDPB Guidelines 05/2020, example 16; CNIL | In a private window, load a page and scroll without touching the banner. No analytics or ad cookies should appear. |
| 2. A reject option on every layer that has an accept button. | EDPB taskforce, type A practice | Look at the first screen of the banner: Reject all, or an equivalent, sits beside Accept all. |
| 3. No pre-ticked boxes. | GDPR recital 32; EDPB taskforce, type B practice | Open the settings layer: every non-essential toggle starts switched off. |
| 4. Refusal is not buried in a text link, placed outside the banner or obscured by colour and contrast. | EDPB taskforce, types C, D and E practices | Reject sits inside the banner, is easy to spot beside Accept, and its text is clearly readable. |
| 5. No legitimate interest claimed for cookies or ad profiling. | EDPB taskforce, type H practice | Settings and vendor lists contain no legitimate interest tab or objection toggles for tracking. |
| 6. Essential means strictly necessary. | ePrivacy Directive Art. 5(3); EDPB taskforce, type I practice; CNIL | No analytics, advertising or heatmap cookie sits in the essential or always-on group. |
| 7. The site still works after refusal. | EDPB Guidelines 05/2020 on cookie walls | Click Reject all, then read content, submit a form and reach checkout. |
| 8. Withdrawing consent is as easy as giving it, at any time. | GDPR Art. 7(3); EDPB taskforce, type K practice | Every page has a visible link or icon that reopens the settings. |
| 9. You can prove what each visitor agreed to. | GDPR Art. 7(1); CNIL; Google EU user consent policy | Your consent platform can export records with time, banner version and choices. |
What the EDPB taskforce agreed on banner design
On the missing reject button, a vast majority of authorities said that a layer offering accept without a refuse or reject option breaks the rules; a few disagreed because Article 5(3) does not mention a reject option. On pre-ticked boxes there was no debate: they do not produce valid consent under either law.
On design, a banner must not suggest that consent is needed to reach the content, or clearly push the visitor towards accepting. A refuse or continue without accepting link buried in a paragraph, or placed outside the banner, without visual support to draw attention to it, does not lead to valid consent. There is no EU-wide standard for button colours: each banner is assessed case by case, but a reject button whose text has so little contrast that it is unreadable was given as an example that could be manifestly misleading. On withdrawal, regulators cannot impose a specific solution such as a floating icon, but they expect an easily accessible option, such as an icon or a link in a visible, standard place, and they check that withdrawing is as easy as consenting.
Why legitimate interest does not cover analytics or ad cookies
Legitimate interest is a GDPR legal basis that lets a business process data without consent when its interest is not overridden by the person's rights. Some banners use it to switch on advertising purposes by default, with an objection button in a deeper layer. The taskforce rejected this twice over. First, ePrivacy law decides whether you may place or read the cookie at all, and it offers only consent or narrow exemptions such as strictly necessary, so the legal basis for placing or reading cookies cannot be legitimate interest. Second, if no valid consent was obtained where one was required, the processing that follows cannot be lawful under the GDPR either. For purposes such as selecting personalised ads, the report notes it could be considered that no overriding legitimate interest exists. In plain words: a legitimate interest toggle cannot rescue an analytics or advertising cookie.
Which cookies are exempt from consent
CNIL's guidance gives examples of strictly necessary trackers: storing the visitor's cookie choice, logging in and protecting the login, keeping a shopping basket, billing, load balancing, interface customisation the visitor expects, and metering free access to paywalled content. The taskforce discussed site owners' responsibility to keep a list of the cookies their site uses, give it to regulators on request and show why each cookie labelled essential really is essential.
Audience measurement is a narrow, national exception. In France, CNIL exempts an analytics tool from consent only if it is used solely to measure your own audience for your own account, produces anonymous statistics, does not combine the data with other processing or pass non-anonymous data to third parties, and does not follow people across sites or apps. CNIL also recommends limiting the cookie's lifetime, giving 13 months as an example, not extending it automatically on return visits, and keeping the data for at most 25 months. Tools whose provider reuses the data for its own purposes fall outside the exemption. Other EU regulators set their own conditions, and the UK has its own rules, explained in our guide to UK cookie rules and the analytics exception. For how GA4 fits this picture, see is Google Analytics 4 GDPR compliant.
What Google requires on top of the law
Google's EU user consent policy applies to visitors in the European Economic Area, the UK and Switzerland when your agreement for a Google product incorporates it. It asks you to obtain legally valid consent for cookies or other local storage where the law requires it, and for collecting, sharing and using personal data to personalise ads. You must keep records of consent, give clear instructions for revoking it, and clearly identify each party that may collect, receive or use visitors' personal data because you use a Google product, with prominent information on how each one uses it. Breaches can lead Google to limit or suspend your use of the product or end the agreement.
In practice this means your banner should name Google and every other ad and analytics vendor, and the visitor's choice has to reach Google's tags. Consent mode is the mechanism for passing it on, covered in Google Consent Mode v2 explained.
What each rule does to your measurement
- Rule 1 means GA4, the Meta Pixel and the TikTok Pixel must wait for consent or run in a restricted mode. Google's advanced consent mode still sends cookieless pings while consent is denied; read consent mode basic vs advanced before choosing it. The Meta Pixel needs its own gate, explained in Meta Pixel and cookie consent.
- Rules 2 to 4 usually lower the share of visitors who accept. How much varies, so measure your own accept rate.
- Rule 6 is a common leak: an analytics cookie filed as essential fires for everyone, so reports look healthy while the banner breaks the rules.
- Rule 8 means a withdrawal must stop tags from the next page onwards, and server-side conversion sends should carry only events from visitors whose consent is current.
How to check your own banner
- 1In a private window, open developer tools (F12 in Chrome) and load a landing page without touching the banner.
- 2In the Application tab, under Storage and Cookies, check that no _ga, _fbp or similar cookies exist. In the Network tab, filter for google-analytics and facebook.com/tr. With advanced consent mode some Google requests will appear, but they should not set cookies.
- 3Scroll and click to a second page without answering. Nothing should change.
- 4Clear cookies, reload, click Reject all and browse to a form and the checkout. The site should work and the tracking cookies should stay absent.
- 5Clear cookies, open the settings layer and confirm every toggle starts off.
- 6Accept all and confirm your tags now fire, so measurement works for people who agree.
- 7Find the link or icon that reopens the settings, withdraw consent and check that tags stop on the next page.
- 8Ask your consent platform for an export of consent records and check it shows the time, the banner version and each choice.
The free tracking audit lists the marketing tags one public page loads, which is the list your banner has to cover; it does not test the banner itself. If a traffic fall follows the launch of a new banner, GA4 traffic drop after a cookie banner explains how to tell expected loss from a broken setup. EndFrame is not a consent tool and does not replace a banner: if you use it, its snippet is one more tag your banner and cookie list need to cover.
Frequently asked questions
Do I need a cookie banner if I only use Google Analytics?
In most EU countries, yes. Analytics cookies are not strictly necessary for the service a visitor asked for, so they need consent unless a national audience-measurement exemption applies. France's exemption excludes tools whose provider reuses the data for its own purposes, and other regulators set their own conditions. Check the guidance of the regulator in each country you target before running analytics without consent.
Is a Reject all button on the first layer a legal requirement everywhere?
Not word for word. The ePrivacy Directive does not mention a reject button, and a few authorities in the EDPB taskforce said they could not find an infringement on that basis. A vast majority took the opposite view: a layer with an accept button but no way to refuse does not produce valid consent. CNIL also says refusing must be as easy as accepting, so treat it as required.
Can I block my content until visitors accept cookies?
The EDPB's consent guidelines say access to services must not be made conditional on accepting cookies, and give a cookie wall that hides content until the visitor clicks accept as an example of consent that is not freely given. National positions differ: in 2020 France's Conseil d'Etat ruled that CNIL could not ban cookie walls outright. Check your regulator's current guidance and take legal advice before using a cookie wall or a paid alternative to consent.
How long should consent records be kept?
The EDPB says the duty to prove consent lasts as long as the processing based on it continues. After the processing ends, records should be kept no longer than strictly necessary to meet a legal obligation or to establish or defend legal claims. Records should show how and when consent was given and what the visitor was told, without collecting more data than needed.
Sources
- 1.Report of the work undertaken by the Cookie Banner Taskforce - European Data Protection Board
- 2.Guidelines 05/2020 on consent under Regulation 2016/679 - European Data Protection Board
- 3.Cookies et traceurs : que dit la loi ? - CNIL
- 4.Cookies : solutions pour les outils de mesure d'audience - CNIL
- 5.Le Conseil d'État annule partiellement les lignes directrices de la CNIL relatives aux cookies et autres traceurs de connexion - Conseil d'État
- 6.EU user consent policy - Company - Google
Try EndFrame
Add a server-side path for your conversions.
EndFrame collects events first-party and forwards conversions server-side to Meta, GA4, TikTok, and webhooks with event-ID deduplication — then credits each conversion to its campaign, with the visit-to-conversion path you can audit.
No credit card required