A banner often asks visitors to accept or reject cookies as soon as they land on a business website. If they can’t find how to refuse, they may accept just to get rid of it: researchers have measured this effect. The CNIL, France’s data protection authority, penalizes websites that hide the refusal this way.
The CNIL requires that rejecting cookies be as easy as accepting them, from the banner’s first screen. Two identical buttons, “Accept all” and “Reject all”, are in our view the safest way to follow this rule, even though the CNIL allows other layouts.
Terms to know before you start
| Term | Meaning |
|---|---|
| Cookie | A small file a website stores in the visitor’s browser to recognize them from one page or visit to the next |
| Tracker | Any means of following a visitor, cookies included: an advertising pixel or an analytics script |
| Cookie banner | The bar or window where the visitor accepts or rejects the trackers that require their consent |
| Consent tool | The service that displays the banner and loads trackers only after the visitor agrees |
| First layer | The banner’s first screen, visible without clicking anything. The second layer opens through a button such as “Settings” |
| Consent | The visitor’s free and explicit agreement, given through an action of their own, such as a click |
| Audience measurement | Counting a website’s visits and page views |
| Deceptive design | A layout built to steer the visitor toward a choice they would not have made on their own (also called a dark pattern) |
| Pre-checked box | A box checked in advance, which the visitor who wants to refuse has to uncheck |
Make refusing as easy as accepting
The CNIL, France’s data protection authority, details this rule in the Q&A of its “cookies and other trackers” recommendation, on a page dated April 29, 2026. A refusal kept for the banner’s second layer, behind a “Settings” button, is not enough5.
For the CNIL, a “Reject all” button shown on the first screen, next to “Accept all” and in the same style, follows the rule. It still leaves the layout free as long as it does not mislead the visitor or make refusing harder5.
Example of the same banner, with a hidden refusal and with a refusal on the first layer
Refusal hidden on the second layer
We use cookies to measure the site’s audience and show you our offers on social media.
Accept all
Settings
To refuse, the visitor has to open the second layer.
Refusal on the first layer
We use cookies to measure the site’s audience and show you our offers on social media.
Accept all
Reject all
One click is enough to accept or refuse.
On December 31, 2021, the CNIL fined a search engine and its video platform €150 million for this flaw. The same day, a social network received a €60 million fine. On these three services’ websites, one click was enough to accept cookies, while refusing them took several actions, at least five in one case1.
While the decisions published on Légifrance, the French government’s legal database, do not name these companies, the press named Google, YouTube and Facebook in January 20226.
On December 29, 2022, the CNIL fined a group of content platforms €5 million, a group the press identified as TikTok7. On this group’s websites, refusing took more clicks than accepting until a “Reject all” button was added in February 20228. The same rule applies to any website that sets trackers requiring consent, whatever its size.
Prefer two identical buttons
We recommend placing “Accept all” and “Reject all” side by side, with the same size and the same color. With two identical buttons, which the CNIL does not require, you don’t have to wonder whether your banner makes refusing harder. The visitor then chooses without any layout steering them.
Many banners put acceptance ahead of refusal. In August and September 2024, researchers at Aarhus University in Denmark automatically collected the banners of the top 10,000 websites in 31 countries covered by the GDPR. On these websites, the accept button was on average 1.5 times more visible than the reject button2.
In France, 63% of the 6,626 banners collected offered a reject button. Only 23% met the minimum, more than the 15% across all countries2.
To count as compliant, a banner only had to offer accepting and refusing on the first screen, pre-select no purpose (a use of trackers, such as advertising) and let visitors choose purpose by purpose. According to the researchers, the real share of banners that comply with the law is likely even lower.
The first author of this survey, Midas Nouwens, had already measured the effect of a hidden refusal. In 2020, he published with researchers from MIT and University College London the results of an experiment with 40 American internet users.
Each participant saw several versions of a banner. Without a “Reject all” button on the first screen, the share of participants who accepted cookies rose by 22 to 23 points3.
The participants were young, highly educated and lived in a country where the GDPR does not apply. The gap measured still points the same way as the 2024 survey: a less visible reject button can raise the share of visitors who accept.
In 2025, researchers at the Technical University of Munich looked into why designers still build such banners. The fifteen designers interviewed, mostly in Germany, knew the rules of an honest banner. Tight deadlines and requests from their managers still led them to stray from these rules. Lacking a reference, they often copied their competitors’ banners9.
These designers suggested to the researchers banners in line with our recommendation: two equal buttons, no pre-checked box, consent withdrawn in one click and simple words9.
Skip consent for anonymous audience measurement
Not all trackers require the visitor’s consent: the CNIL exempts from consent an anonymous audience measurement used only by the website’s publisher. It then recommends a lifetime of thirteen months at most for the tracker and a retention of twenty-five months at most for the data. The CNIL also advises telling visitors about this measurement, for example in the website’s privacy policy10.

Load no tracker before the visitor answers
Article 82 of the French Data Protection Act (loi Informatique et Libertés) forbids firing a tracker that requires consent before the visitor agrees11. The most carefully designed banner does not protect the visitor if an advertising pixel loads as soon as they land on the page.
To check this, open your website in a private browsing window and display the browser’s developer tools with the F12 key. In the Network tab, reload the page without touching the banner. No address of a third-party advertising or analytics service, such as googletagmanager.com, google-analytics.com or connect.facebook.net, should appear before you answer.
Example of requests in the Network tab, recorded before any answer to the banner
A website to fix
www.example.com
style.css
googletagmanager.com/gtm.js
connect.facebook.net/fbevents.js
Two third-party services load before the visitor answers.
A website that waits for the answer
www.example.com
style.css
logo.svg
script.js
Only the website’s own files load.
Spot the other interface traps on your website
Deceptive designs have a measurable effect on visitors’ choices. In 2026, a team from Georgetown University and the University of Chicago, in the United States, gathered 27 papers published from 2019 to 2025, 16 of them on consent banners. In 86 of the 101 controlled experiments it selected, people exposed to a deceptive design behaved differently from the control group4.
The choices these designs pushed were made on average twice as often as with a neutral version. Warning participants about the trap, one of the countermeasures tested, made almost no difference4.
Several of these traps are banned on a business website. In 2019, the Court of Justice of the European Union ruled that a cookie checkbox ticked in advance does not collect valid consent12. The GDPR does not accept consent given through a box checked by default either13.
Falsely claiming that an offer will only last a very short time is a commercial practice deemed misleading1415. A countdown that restarts at every visit falls into this category.
In our view, other practices can annoy visitors without always being banned. An unsubscribe link hidden at the bottom of a long email is one of them, as is a window that opens on its own and blocks the page. Remove these obstacles: a visitor who feels manipulated may not come back.

Example: an online tea shop
The owner of this fictional shop sells loose-leaf tea on her website. The screenshots come from a test website where we reproduced her banner as she had designed it, then fixed it.
The owner counts four clicks to refuse
The shop’s banner shows “We use cookies to improve your experience”, a large green “Accept” button and a gray “Settings” link. To refuse, the visitor clicks “Settings” and unchecks two pre-checked boxes, “Audience measurement” and “Advertising”, before clicking “Save”. It takes four clicks to refuse and only one to accept.

The owner gives both buttons the same visibility
She replaces the link with “Accept all” and “Reject all”, in the same size and color, followed by a “Customize” link. She unchecks the boxes on the second screen and describes each tracker in one sentence, for example “Advertising, to show you our teas on social media after your visit”. She adds a “Manage my cookies” link in the footer that reopens the banner.
Example of the tea shop’s banner after the fix
We use cookies to measure the shop’s audience and show you our teas on social media after your visit. You can change your mind at any time from the “Manage my cookies” link.
Accept all
Reject all
Customize
The owner removes her countdown and connects her pixel to the consent tool
While looking for the other traps, the owner finds and removes from her homepage an “Offer ends in 10 minutes” countdown that restarts at every visit.
In her browser’s Network tab, she discovers that a social network’s advertising pixel loaded before any answer to the banner. Once this pixel is connected to her consent tool, it only loads after the visitor agrees.
Check your banner in four steps
A quarter of an hour is enough. Work in a private browsing window: you arrive on your website as a new visitor, with no saved answer to the banner.
- Open your website in private browsing and count the clicks to accept, then start again in a new window to refuse. Write down both numbers before moving on to the next step.
- Check that refusing is as easy as accepting, from the first screen. Otherwise, adjust the banner to place “Reject all” next to “Accept all”, ideally with the same size and color. The step is done when a new count gives as many clicks to refuse as to accept.
- Open the Network tab of the developer tools, reload the page without answering and look for addresses of third-party advertising or analytics services. You can move on when none appears before you answer.
- Go through your pages, your forms and your checkout for pre-checked boxes, countdowns and windows that open on their own. You’re done when you have removed them.
You’re done when…
The “Accept all” and “Reject all” buttons look the same and can be reached from the first screen. Both choices take the same number of clicks. No third-party advertising or analytics tag fires before the visitor answers.
If it doesn’t work
If you can’t find how to add “Reject all” to the first layer, look in your tool’s settings for an option such as “reject button”. Only switch tools if this option doesn’t exist.
A tag that loads before the answer was probably added outside the consent tool, by a plugin or by code pasted into the site’s header. Ask the person who installed it to connect it to this tool.
Keep the visitor’s trust from the moment they arrive
The acceptance rate may drop once refusing becomes easier to find. Some visitors used to accept because they didn’t know how to refuse. With anonymous audience measurement, you still count those who say no.
Visitors can keep browsing after freely choosing to accept or reject cookies. On a phone, where the banner takes up a larger share of the screen, the reject button must stay clearly visible.
Previous chapter: Design a contact form
Next chapter: Make your website mobile-friendly
Sources
- ↑ CNIL, “Délibération de la formation restreinte n° SAN-2021-023 du 31 décembre 2021” [Restricted committee decision no. SAN-2021-023 of December 31, 2021], Légifrance, published January 6, 2022, and “délibération n° SAN-2021-024 du 31 décembre 2021” [Decision no. SAN-2021-024 of December 31, 2021], Légifrance.
- ↑ Midas Nouwens, Janus Bager Kristensen, Kristjan Maalt and Rolf Bagge, “A Cross-Country Analysis of GDPR Cookie Banners and Flexible Methods for Scraping Them“, Aarhus University, CHI 2025 conference proceedings, arXiv preprint 2503.19655, pp. 1, 10, 11 and 15.
- ↑ Midas Nouwens, Ilaria Liccardi, Michael Veale, David Karger and Lalana Kagal, “Dark Patterns after the GDPR: Scraping Consent Pop-ups and Demonstrating their Influence“, Aarhus, MIT and UCL, CHI 2020 conference proceedings (40 American participants, young and highly educated sample).
- ↑ Brennan Schaffner, Luis Heysen and Marshini Chetty, “A Systematic Review of User Experiments Measuring the Effects of Dark Patterns“, Georgetown University and University of Chicago, CHI 2026, arXiv preprint 2604.15323, pp. 7, 9 and 10.
- ↑ CNIL, “Questions-réponses sur les lignes directrices modificatives et la recommandation cookies et autres traceurs” [Q&A on the amending guidelines and the recommendation on cookies and other trackers], questions 37 to 39, page of April 29, 2026.
- ↑ Alexandra Patard, “Cookies : Google et Facebook lourdement sanctionnés par la CNIL” [Cookies: Google and Facebook heavily fined by the CNIL], Blog du Modérateur, January 6, 2022.
- ↑ Valérie Soriano, “La CNIL inflige une amende à TikTok : pour quelles raisons ?” [The CNIL fines TikTok: on what grounds?], Blog du Modérateur, January 13, 2023.
- ↑ CNIL, “Délibération de la formation restreinte n° SAN-2022-027 du 29 décembre 2022” [Restricted committee decision no. SAN-2022-027 of December 29, 2022], Légifrance.
- ↑ Anxhela Maloku, Alexandra Klymenko, Stephen Meisenbacher and Florian Matthes, “Privacy Starts with UI: Privacy Patterns and Designer Perspectives in UI/UX Practice“, Technical University of Munich, accepted at the USEC 2026 symposium, arXiv preprint 2601.13342 (15 interviews in 2025).
- ↑ CNIL, “Cookies : solutions pour les outils de mesure d’audience” [Cookies: solutions for audience measurement tools], page of July 4, 2025.
- ↑ CNIL, “Que dit la loi ?” [What does the law say?], September 29, 2020: Article 82 of the French Data Protection Act transposes into French law the obligation to obtain consent before reading or writing a tracker.
- ↑ Court of Justice of the European Union, “Planet49 judgment, C-673/17“, October 1, 2019, point 1 of the operative part.
- ↑ European Parliament and Council, “Regulation (EU) 2016/679 (GDPR)“, EUR-Lex, recital 32.
- ↑ European Parliament and Council, “Directive 2005/29/EC concerning unfair commercial practices“, EUR-Lex, Annex I, point 7.
- ↑ French Republic, “Code de la consommation, article L121-4” [Consumer Code, Article L121-4], Légifrance, point 7°, accessed November 16, 2026.
- ↑ European Parliament and Council, “Regulation (EU) 2022/2065 (Digital Services Act)“, EUR-Lex, Articles 3(i), 19 and 25.
