Conversion6 min readBy

Cookie banners that don’t scare visitors away

A cookie banner is the first thing many visitors see. Here is how to make yours quick to answer, fair to both choices and easy on your page speed.

A glass jar of round butter biscuits on a wooden table with its red lid lying beside it

Think about the first second of a visit to your site. Someone taps a link, your page starts to appear, and before they see your products or your headline, a box slides up asking about cookies. For many visitors, that box is your first impression.

If your site uses cookies that need consent, you can’t skip the banner, but you can design it well. A good one is answered in a moment and forgotten. A bad one covers half the screen, speaks in legal jargon, hides one of the choices and makes the page jump. That is when people tap back.

This post shows you how to look at your own banner the way a new visitor does, and what to change so it stops getting in the way.

A quick note before we start: this is about design and user experience, not legal advice. What your site must ask for depends on which cookies and tools you use, so check the details with whoever set up your consent tool or with a legal adviser.

Why the banner matters more than it seems

The banner appears at the worst possible moment: before the visitor has decided whether your site is worth their time. Everything about it sends a signal.

  • A huge banner says “we care more about tracking you than showing you anything”.
  • A wall of legal text says “this will take effort”.
  • A big “Accept all” and a tiny grey “settings” link says “we are trying to trick you”, and many visitors notice.

Most small business owners installed a banner because a plugin suggested it and never looked at it again. That is why it is worth five minutes today.

Give both choices the same weight

The single most important fix is fairness. If visitors can accept with one tap, they should be able to say no with one tap too.

This isn’t only good manners. In 2023 the European Data Protection Board, which brings together the EU’s data protection authorities, published the report of its cookie banner taskforce. Among the practices it looks at:

  • No reject option on any layer that has an accept button. A vast majority of authorities considered that an infringement.
  • Pre-ticked boxes. The report states plainly that “pre-ticked boxes to opt-in do not lead to valid consent”.
  • A reject option shown as a small link while “accept” is a button, when it lacks enough visual support to be noticed.

The same report also says that withdrawing consent “must be as easy as to give consent”, and that sites should offer an easily accessible way to change the choice at any time. A link in the footer is a simple way to do that.

From a design point of view, all of this points in the same direction:

  • Put “Accept all” and “Reject all” side by side, in the same size and style.
  • Keep “Settings” or “Choose” as a third option for people who want detail.
  • Make sure no box is ticked in advance except the ones that are strictly necessary for the site to work.
  • Add a “Cookie settings” link in your footer so people can change their mind.

Some visitors will say no. But a visitor who says no and keeps browsing is worth far more than one who leaves because the banner felt like a trap.

Write it like a person, not a contract

Most banners are answered in a couple of seconds, so every word has to earn its place. Aim for two short sentences and clear buttons.

Compare these two:

“We and our partners use cookies and similar technologies to store and/or access information on a device for the purposes described in our Cookie Policy, including…”

“We use cookies to keep the site working and, if you agree, to understand which pages are useful. You can change this any time.”

The second one says what happens, what is optional and that the choice isn’t final. Link to your full cookie policy for people who want the details; the banner itself doesn’t have to contain them.

Button labels follow the same rule as any other button: say what happens. “Accept all” and “Reject all” are clear. “OK”, “Got it” or “Continue” are not, because visitors can’t tell what they are agreeing to. We covered why plain labels work better in our post on choosing a single call to action.

Keep it small and out of the way

On a phone, a banner that fills most of the screen hides your headline, your product photo and your main button. Visitors can’t judge your site if they can’t see it.

Google’s guide to best practices for cookie notices on web.dev looks at this from the speed side, and its advice matches good design:

  • It calls cookie notices “a very common source of layout shifts”, the annoying jump when content moves just as you are about to tap it. A bar that appears at the top and pushes the page down is the typical case.
  • It says a footer placement “is generally preferable because it is unobtrusive” and typically doesn’t cause layout shift. A small, partial-screen box is another option.
  • It warns that with full-screen pop-ups, “smaller sites may find that users bounce”.

So, in plain terms: a compact bar or box at the bottom of the screen, which sits over the page instead of pushing it around, is usually the friendliest choice.

Make sure it doesn’t slow the page down

Your banner is powered by a script, often from an outside provider. How that script is added to your site affects speed. The web.dev guide recommends loading it asynchronously and directly in the page, rather than through a tag manager, which it says “delays the loading of the cookie notice script”.

You don’t need to touch any code. Ask whoever set up your consent tool two questions: “Is the cookie banner script loaded asynchronously?” and “Is it added directly or through a tag manager?” If you want to see whether the banner is causing jumps, our guide on reading a Google PageSpeed report shows where to find layout shift in the results.

Don’t forget keyboard users

The banner also has to work for people who don’t use a mouse. If they can’t reach its buttons with the Tab key, they are stuck before they have started. Our 2-minute keyboard check covers how to test this, and it is worth running with the banner open.

How to check your banner in five minutes

Use a phone and a private (incognito) browser window, so the site treats you as a first-time visitor.

  1. Look at the first screen. How much of it does the banner cover? Can you still see your headline and main button?
  2. Time yourself. Could someone read the text and decide in a few seconds?
  3. Compare the buttons. Are “accept” and “reject” the same size, shape and style? Is one of them a faint link?
  4. Open the settings. Are any optional boxes already ticked?
  5. Watch the page. Does anything jump when the banner appears or disappears?
  6. Say no. Reject cookies and keep browsing. Does the banner come back on every page? Can you find a link to change your choice later?

This is one of the first screens we look at in our audits, because it shapes how visitors feel about everything that comes after it.

  • “Accept all” and “Reject all” are on the first layer, side by side, in the same size and style
  • No optional cookie boxes are ticked in advance
  • The banner text is two short sentences in plain words, with a link to the full policy
  • On a phone, the banner sits at the bottom and your headline and main button are still visible
  • Nothing on the page jumps when the banner appears or closes
  • The banner buttons can be reached and pressed with the Tab and Enter keys
  • A “Cookie settings” link in the footer lets visitors change their choice later

More from the blog