Security

Do I need a cookie banner on my website?

By Purlock · Updated 2 min read

The short answer

If you have visitors in the EU or UK and use cookies or similar storage that your site doesn't need to work, like analytics, advertising or session recording, you usually need to ask first, which is what a cookie banner does. If you only use what's strictly needed, like a login session or a shopping cart, you usually don't. Just as important: the banner has to actually hold trackers back until people agree. Purlock's free cookie banner checker shows what loads before anyone chooses. This is general information, not legal advice.

Key points

  • Analytics and ad cookies usually need consent for EU and UK visitors.
  • Strictly necessary cookies, like a login or cart, don't.
  • Saying no must be as easy as saying yes.
  • A banner that doesn't block trackers is the most common mistake.
Which cookies usually need consent for EU and UK visitors
UseUsually needs consent?
Login session, shopping cart, securityNo, strictly necessary
Remembering a language or theme choiceUsually no
Google Analytics and similar analyticsYes
Meta Pixel, TikTok and ad trackingYes
Session recording and heatmapsYes
Embedded videos and social widgets that set cookiesUsually yes

Cookie banner checker

See what loads on your site before a visitor has chosen anything about cookies.

Try it free

For EU and UK visitors, usually yes, because its cookies aren't needed for the site to work. Google's consent mode changes what's sent when someone says no, but you still need to ask. Some privacy focused analytics tools work without cookies or identifiers, which can remove the need for a banner for analytics alone.

  1. Run the cookie banner checker on your homepage. It visits as someone who hasn't clicked anything and lists every tracker, cookie and visitor ID that already loaded.
  2. If a tracker appears, it isn't waiting for consent. Set it to fire only after the matching consent in your tag manager or consent tool.
  3. Check the banner offers a reject option as easy to find as accept.
  4. Run the check again after any new tag is added, or set up a monitor to tell you.

Most problems come from a tag added straight to the page or tag manager, outside the consent tool.

  • Accept and reject buttons with the same prominence, on the first screen.
  • A short, plain description of what each category of cookies is for.
  • A way to change the choice later, usually a link in the footer.
  • No trackers loading until someone chooses, and only the ones they agreed to after.
  • A link to your cookie or privacy policy with the list of tools you use.

Pre ticked boxes and a tiny "reject" link hidden behind "settings" are the most common reasons banners fail regulators' checks.

More questions

Do US websites need a cookie banner?
Not in the same way, but several US states require ways to opt out of selling or sharing data, and EU and UK visitors still bring their rules with them.
Is a banner that says "by using this site you accept cookies" enough?
Not under EU and UK rules. Consent has to be an active choice, with a real option to refuse.