Do you need a cookie banner? Check your tools, not your cookies

7 min readChecked against sources on

Short answer

If your site stores or reads anything on a visitor’s device that isn’t strictly needed for what they asked for, EU and UK rules require consent first, so yes. Analytics like Google Analytics, ad pixels, session recorders and most video or map embeds need consent. A site with only a login cookie, a cart cookie and a cookie-free visit counter doesn’t need a banner.

The rule in one sentence

Article 5(3) of the EU ePrivacy Directive says you need consent before you store information on a visitor’s device, or read it from there, unless it’s strictly necessary to provide the service they asked for. The UK has the same rule in regulation 6 of PECR.

It isn’t only about cookies. The European Data Protection Board’s Guidelines 2/2023 confirm that local storage, tracking pixels and similar techniques count too. So “we don’t use cookies” doesn’t settle the question; what your tools do in the browser does.

12 common tools, one by one

  • Google Analytics 4: Needs consent. Google’s own documentation lists the _ga cookie, kept for two years by default to tell visitors apart. Consent Mode changes what Google receives, not whether you need to ask. Check what your tags report with our Consent Mode v2 checker. The difference between basic and advanced mode is explained in our next post.
  • Google Tag Manager: Doesn’t set cookies on its own, but everything it loads counts. If it fires analytics or ad tags before a choice, that’s tracking before consent.
  • Meta Pixel: Needs consent. Meta describes it as code that tracks visitor activity to measure ads, and it collects the Facebook cookie.
  • TikTok, LinkedIn, X and Pinterest pixels: Need consent, for the same reason as the Meta Pixel.
  • Hotjar, Microsoft Clarity and other session recorders: Need consent. They record how people move and click, and store identifiers in the browser.
  • YouTube and Vimeo embeds: Need consent for the player’s cookies and storage. YouTube’s privacy-enhanced mode (youtube-nocookie.com) means, in Google’s words, that views aren’t used to personalise YouTube, which isn’t the same as storing nothing. Show a placeholder and load the player on click.
  • Google Maps embeds: Load Google content and can set Google cookies. Use a static map image or load the map on click.
  • Google Fonts from Google’s servers: No cookie, but every page view makes the visitor’s browser contact Google. The Munich Regional Court ruled on 20 January 2022 (3 O 17493/20) that a site embedding Google-hosted fonts broke the GDPR. Host the font files yourself and the question goes away.
  • Live chat widgets: Usually need consent if they set cookies before anyone opens the chat. Load the widget when the visitor clicks “Chat”.
  • Stripe, Paddle and other payment pages: Cookies used for fraud checks on the checkout a visitor started are generally treated as strictly necessary. Keep payment scripts on payment pages, not on every page.
  • Login, cart and security cookies: No consent needed. They’re strictly necessary for what the visitor asked for. The cookie that remembers a visitor’s consent choice is exempt too.
  • Cookie-free analytics: Tools that store nothing on the device don’t trigger the consent rule. Cloudflare, for example, says its Web Analytics uses no cookies or local storage. Check your own tool’s documentation.

If you need a banner, it has to work

A banner that only says “we use cookies” isn’t consent. Regulators check what happens around it, and most fines in our fines tracker hit sites that had one. A working banner:

How to check your own site

Open your site in a private window, open your browser’s developer tools and look at the Network tab and the cookies before you click anything. Our 10-minute guide walks through every step.

Or run a free scan: untick loads your page as a first-time visitor, clicks “Reject” and shows every tracker, cookie and signal it sees, with screenshots and fixes.

To test only the reject button, use the free reject-all test. Shops can run the store test, which adds dark patterns, the EU withdrawal button and accessibility.

Questions people ask

Do I need a cookie banner if my site only has US visitors?

The EU and UK consent rules apply when you offer your site to people there. US state laws such as California’s CCPA mostly work the other way: people must be able to opt out of the sale or sharing of their data, and California’s Attorney General says businesses must honour the Global Privacy Control browser signal as that opt-out.

Is “by using this site you accept cookies” enough?

No. Consent has to be an active choice. The EU’s top court ruled in Planet49 (C-673/17) that a pre-ticked box isn’t consent, and the European Data Protection Board’s consent guidelines (05/2020) say scrolling or continuing to browse isn’t either.

Can I use Google Analytics without a banner?

Not in the EU or UK if it sets cookies or sends personal data to Google. Use a cookie-free analytics tool instead, or ask for consent before Google Analytics loads.

Does a small site or a personal blog need a banner?

The rule doesn’t depend on size. What matters is what the site stores on visitors’ devices. A blog with an ad network or YouTube embeds needs consent; one with no trackers doesn’t.

Sources

  1. ePrivacy Directive 2002/58/EC, Art. 5(3)
  2. UK PECR 2003, regulation 6
  3. EDPB Guidelines 2/2023 on the technical scope of Art. 5(3) of the ePrivacy Directive
  4. Google, [GA4] Cookie usage on websites
  5. Meta for Developers, Meta Pixel
  6. YouTube Help, Embed videos and playlists (privacy-enhanced mode)
  7. Cloudflare, Web Analytics
  8. California Attorney General, California Consumer Privacy Act (CCPA)
  9. EDPB Guidelines 05/2020 on consent under the GDPR
  10. CJEU Planet49 (C-673/17)
  11. LG München I, 20 January 2022, 3 O 17493/20 (Google Fonts), via Digital Policy Alert

Written by Mahmoud Shayeb. I build and run untick.Not legal advice. For your situation, ask a lawyer.