Skip to content

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
  1. Good layouts
  2. Dark patterns
  3. Compliance checklist
  4. Text to copy
  5. US opt-out
  6. Acceptance rates
  7. Questions
  8. Sources

4 cookie banner layouts that work

GoodCorner box. Noticeable without hiding the page. A good default for blogs and business sites. On phones it usually becomes full width, so keep the text short. Banner text: We value your privacy. We use cookies to run this site and, with your permission, to measure visits and show relevant ads. Buttons: Accept all, Reject all, Customise.
GoodBottom bar. Popular with online stores because the product stays visible. Make sure it doesn't cover "Add to cart" on small screens. Banner text: Cookies on Acme Store. We'd like to remember your basket, measure what's popular and personalise offers. Necessary cookies are always on. Buttons: Accept all, Reject all, Choose cookies.
GoodCentre pop-up. Gets a choice from almost everyone, but feels intrusive. Acceptable when Reject is just as easy as Accept; this is the layout regulators scrutinise most. Banner text: Your privacy choices. We'd like to use analytics and advertising cookies. You can accept, reject or choose below. Buttons: Accept all, Reject all, Customise.
GoodTwo layers. A short first message with Accept, Reject and Customise; the settings screen behind it. Best for sites with many tools. Optional switches start off. Banner text: Cookie settings. Choose which cookies we can use. You can change this any time from the footer. Buttons: Save choices, Accept all.

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

ProblemNo Reject on the first layer. Refusing takes several clicks, accepting takes one. France's CNIL fined Google €150 million and Facebook €60 million in 2021 for exactly this imbalance. Banner text: This site uses cookies. We use cookies to give you the best experience. Buttons: Accept, Settings.
ProblemPre-ticked boxes. The Court of Justice of the EU ruled in Planet49 (2019) that pre-ticked boxes are not valid consent. Optional switches must start off. Banner text: Cookie settings. Manage your preferences. Buttons: Save.
Problem"By continuing to browse, you agree." Scrolling isn't a clear affirmative action, so it isn't consent in the EU, UK or India. An OK button with no alternative isn't a choice either. Banner text: Cookies. By continuing to browse, you agree to our use of cookies. Buttons: OK.
ProblemColour and size tricks. A big bright Accept next to a faint text link. Regulators treat this as nudging; Accept and Reject should look alike. Banner text: Before you continue. We and our 842 partners use cookies to personalise ads and content. Buttons: Accept and continue, Manage options.

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

  1. A clear heading, such as "We value your privacy" or "Cookies on Acme"

  2. One or two plain sentences on what you'd use cookies for

  3. Accept all and Reject all as equals: same type, size and weight

  4. A way to choose categories, all optional ones off by default

  5. A link to your cookie policy

  6. No analytics or ad scripts before a choice

  7. A "Cookie settings" link in the footer to change your mind

  8. 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.

GoodUS opt-out notice. Pair it with a "Do Not Sell or Share" link in the footer and honour GPC automatically. See what is Global Privacy Control. Banner text: Your privacy choices. We share some data with advertising partners. You can opt out at any time. Buttons: Do Not Sell or Share My Personal Information, OK.

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.

  1. EDPB: Report of the work undertaken by the Cookie Banner Taskforce (2023)
  2. Court of Justice of the EU: Planet49, case C-673/17 (2019)
  3. GOV.UK Design System: cookie banner component

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 tool

This 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.

Keep reading

All guides

Get compliant this afternoon, not this quarter.

Set up your policies, banner and request form in one place. Free while Kiescy is in early access.