Cookie consent
Cookie banner examples: what good (and bad) looks like
By the Kiescy teamUpdated 6 min readChecked against the official text on
Most people click whatever button makes a cookie banner go away fastest, which is exactly why regulators look so closely at how banners are designed. Below are drawn examples of the layouts that work, the tricks that get sites fined, and wording you can copy for your own banner.
The short version
A good cookie banner says in one or two plain sentences what you'd like to use cookies for, offers "Accept all" and "Reject all" as equal buttons on the first screen, lets people choose categories (all off by default), links to your cookie policy, and loads no tracking until the visitor chooses. The layout (corner box, bottom bar, centre pop-up or two layers) is up to you; equal choices and real blocking are what make it compliant.
Words you'll see in this guide (3)
- First layer:
- What visitors see immediately, before clicking anything. The second layer is the detailed settings screen.
- Dark pattern:
- A design trick that nudges people into a choice they might not make freely, like a bright Accept button next to a hidden Reject link.
- Granular consent:
- Letting visitors choose separately for each category, such as yes to analytics but no to marketing.
On this page
4 cookie banner layouts that work
Tip: You can try all four layouts, with your own colours and text, in the free cookie banner generator.
5 dark patterns that get sites fined
The fifth is invisible in a screenshot, and it's the most common: trackers that fire anyway. The banner looks perfect, but Google Analytics or the Meta Pixel loads the moment the page opens, before anyone clicks. The free website check catches it in seconds.
A typical complaint
A fashion retailer's banner showed a large black "Accept" button and a small "Settings" link. Refusing meant opening settings and switching off four categories one by one. After a complaint, the regulator required a "Reject all" button on the first screen, the same size as Accept.
What every compliant banner has in common
A clear heading, such as "We value your privacy" or "Cookies on Acme"
One or two plain sentences on what you'd use cookies for
Accept all and Reject all as equals: same type, size and weight
A way to choose categories, all optional ones off by default
A link to your cookie policy
No analytics or ad scripts before a choice
A "Cookie settings" link in the footer to change your mind
A record of each visitor's choice
These points come from the common position European regulators published in the EDPB's Cookie Banner Taskforce report. The GOV.UK cookie banner component is a good public example of a plain, equal-choice banner.
Cookie banner text you can copy
General business site
We value your privacy We use cookies to make our site work and, with your permission, to understand how it's used and show you relevant ads. You can change your choice any time. [Accept all] [Reject all] [Customise] Cookie policy
Online store
Cookies on Acme Store We'd like to use cookies to remember your basket, measure what's popular and personalise offers. Necessary cookies are always on. [Accept all] [Reject all] [Choose cookies]
Blog with analytics only
Your privacy choices We use analytics to see which articles people read. We don't use advertising cookies. [Allow analytics] [No thanks]
SaaS product
Cookies in Acme We use cookies to keep you signed in and, if you agree, to see which features people use so we can improve them. We never sell your data. [Accept all] [Reject all] [Settings]
Tip: Use everyday words. "Measure visits" and "show relevant ads" are clearer than "process data for audience measurement and personalised advertising purposes", and clearer wording tends to get more people to say yes.
The US version: an opt-out, not a banner
Most US state privacy laws don't require asking first. Instead, if you sell or share data for targeted advertising, you must let people opt out and, in California and several other states, honour the browser's Global Privacy Control signal.
If you have visitors from both Europe and the US, show each the right version rather than the strictest one to everyone. Kiescy's consent banner detects the visitor's region and does this automatically.
Will a Reject button hurt my analytics?
Some visitors will reject, yes. But a banner that hides Reject doesn't give you valid consent anyway, so data collected through it isn't safe to use. Honest ways to keep acceptance reasonable:
- Keep the message short and specific about what you use cookies for.
- Match your site's design, so the banner looks trustworthy rather than like an ad.
- Don't block the whole page unless you must.
- Use Google Consent Mode v2, which lets Google model some conversions from visitors who decline. See Consent Mode v2: basic vs advanced.
Questions
Does a cookie banner need a Reject button?
In the EU and UK, regulators expect refusing to be as easy as accepting, which in practice means a "Reject all" button on the first layer, as visible as "Accept all".
What should a cookie banner say?
What you'd use cookies for, in plain words, the choices available, and a link to your cookie policy. One or two sentences is enough on the first layer.
Where should a cookie banner appear?
Anywhere clearly visible that doesn't block essential content. A corner box or bottom bar works for most sites.
Can my cookie banner match my brand?
Yes. Use your colours and fonts, as long as Accept and Reject get equal prominence.
How long should I remember a visitor's choice?
France's CNIL recommends asking again after about six months; many sites use six to twelve. Ask sooner if you add new kinds of cookies.
Can I use humour in a cookie banner?
Yes, if the choices stay clear and equal. A playful heading is fine; jokes that make rejecting feel wrong ("No, I hate cookies") are a dark pattern called confirmshaming.
Sources
The facts in this guide come from these official sources, last checked on . We review the guide whenever they change.
Design your banner and copy the code
Try every layout below in a live preview, with Reject on the first layer, categories and Consent Mode v2. Free.
Open the free toolThis guide explains the law in general terms and isn't legal advice. Laws change and how they apply depends on your situation; for high-risk processing, ask a lawyer.