ArticlesCookies & GDPR

Do I need a cookie banner? GDPR cookie rules explained

If your website uses analytics, ads, embedded videos or a chat widget, the answer is almost certainly yes. Here’s what the rules actually require, in plain language, and the banner mistakes regulators fine companies for.

Do I need a cookie banner on my website?

Yes, if your site sets any cookies or uses similar tracking that isn’t strictly necessary, such as Google Analytics, Meta Pixel, ad tags, YouTube embeds or most chat widgets, and it has visitors in the EU or UK. You need the visitor’s consent before those load. A site that only uses strictly necessary cookies, such as a shopping cart or login, doesn’t need a consent banner, but should still explain its cookies in a cookie policy.

The short version of the law

Two sets of rules work together in the EU:

The UK has its own versions of both, with very similar requirements. The EU has proposed moving the cookie rules into the GDPR, but until that’s decided and in force, the current rules apply.

CategoryExamplesNeeds consent?
Strictly necessaryShopping cart, login, load balancing, remembering the cookie choice itselfNo
PreferencesRemembered language or region, chat historyUsually yes
StatisticsGoogle Analytics, HubSpot analytics, Hotjar, MouseflowYes
MarketingMeta Pixel, Google Ads, LinkedIn Insight Tag, TikTok Pixel, YouTube and Vimeo embedsYes

“Cookies” here includes similar technology: pixels, local storage and fingerprinting are treated the same way. Many sites have more tracking than their owners realise, because plugins, embeds and third-party scripts add their own.

  1. Blocks first, asks second. Non-essential cookies and scripts don’t load until the visitor agrees.
  2. Makes “Reject” as easy as “Accept”. Both on the first screen, in the same style. Hiding “reject” behind a settings link is the most common reason for fines.
  3. Lets people choose by category. Statistics yes, marketing no, for example. No boxes ticked in advance.
  4. Says what it’s for. Which categories, which services, and a link to the full cookie policy.
  5. Lets people change their mind at any time, as easily as they agreed, usually through a link or icon on every page.
  6. Keeps a record. Under the GDPR you have to be able to show that a visitor consented, so each choice is logged.

The mistakes regulators fine for

Most of these happen with free banner plugins that show a message but don’t actually block anything, or with banners set up once and never checked again.

How to check your own site in ten minutes

  1. Open your site in a private browser window. Don’t click the banner.
  2. Open the browser’s developer tools and look at the cookies the site has set. Anything beyond strictly necessary means tracking runs before consent.
  3. Click “Reject”. Reload, and check that the analytics and marketing cookies are still absent.
  4. Compare the list with your cookie policy. Every cookie should be in it.

A consent platform such as Cookiebot does this checking for you: it scans your site regularly, finds every cookie and tracker, sorts them into categories, blocks them until consent and keeps the consent log.

Want it done for you? We’re a Cookiebot by Usercentrics agency partner. We set up the banner, check that nothing loads before consent, and connect it to Google Consent Mode. Tell us about your site.

Questions we get

Does Google Analytics need cookie consent?

Yes, in practice everywhere in the EU. Google Analytics sets cookies that aren’t strictly necessary, so it should only load, or only set cookies, after the visitor agrees. Google Consent Mode lets it send limited, cookieless data until then.

Is a banner that says “By using this site you accept cookies” enough?

No. Continuing to browse isn’t valid consent under the GDPR. The visitor has to actively agree, and has to be able to say no just as easily.

My business is outside the EU. Do the rules apply to me?

If you offer goods or services to people in the EU, or track their behaviour, the GDPR can apply even if your company is based elsewhere.

Is this legal advice?

No. This is a practical summary of the rules as they apply to typical business websites. For a specific legal question, ask a lawyer or your national data protection authority.

Want help with this?

We’re a Cookiebot by Usercentrics agency partner. We set up Cookiebot on your site, connect it to Google Consent Mode, your analytics and HubSpot, and you can get your Cookiebot subscription through us. See Analytics & cookie consent, or tell us what you’re working on and we’ll reply within one business day.