TapCub is live — analytics, insights and live chat, free on one platform
Glossary

Cookie consent banner: what it is and what it must include

A cookie consent banner asks permission before non-essential cookies run and records the answer; a cookie notice only informs. What EU rules and regulators require, how the consent rate changes your analytics, and a design checklist.

Ethan Brooks Reviewed by Lucas Hayes Also called cookie banner Last updated Nov 29, 2026 Glossary

Quick answer

A cookie consent banner is the first-visit message that asks permission before a website stores or reads non-essential cookies or similar identifiers, offers accept and reject choices, and records the answer. A cookie notice only informs and is not consent under EU and UK rules.

Formula: Consent rate = visitors who accept analytics storage ÷ visitors shown the banner

What is a cookie consent banner?

A cookie consent banner is the message a website shows on a visitor's first visit to ask permission before it stores or reads non-essential cookies and similar identifiers on the device, and to record the answer. A cookie notice (the classic "This website uses cookies" bar with a single OK button) only informs; it does not ask. The difference is legal, not cosmetic: under EU and UK rules, a notice is not enough for analytics or advertising cookies, because consent has to be an active choice made before the cookies are set.

A banner that works has three parts:

  1. The message: what is stored, for which purposes, and by whom, with a link to the full cookie policy.
  2. The choice: buttons to accept, reject, or choose purposes, and nothing non-essential running until a choice is made.
  3. The record: proof of what each visitor chose and when, plus a way to change the choice later.

Cookie notice vs consent banner

TypeWhat the visitor seesWhat happens before a clickWhere it can be enough
Cookie notice ("This website uses cookies")Information and an OK or close buttonAll cookies already setOnly strictly necessary cookies, or jurisdictions without prior-consent rules
Opt-out bannerInformation and a link to opt outCookies set; removed if the visitor opts outUS state laws built on opt-out of sale or sharing
Opt-in consent bannerAccept, Reject and Settings with equal weightNothing non-essential setEU (ePrivacy Directive Art. 5(3) with GDPR consent) and the UK

If your site sets only strictly necessary cookies (a shopping cart, a login session, a security token), you do not need a consent banner in the EU for those cookies, though you still have to explain them in your privacy information. The moment an analytics, advertising or social-media cookie runs, the opt-in model applies to visitors from the EU.

What regulators require from a consent banner

The rules come from three places: Article 5(3) of the ePrivacy Directive (consent before storage or access), the GDPR definition of consent (freely given, specific, informed, unambiguous; Article 7(3): as easy to withdraw as to give), and case law. In January 2023 the European Data Protection Board published the report of its cookie banner taskforce, which collected the positions of national authorities on common banner designs. Combined with the Court of Justice's Planet49 judgment (C-673/17, 1 October 2019), they give a practical checklist:

PracticePositionSource
Accept button on the first layer but no reject optionNot compliant for the vast majority of authoritiesEDPB taskforce report, 2023
Pre-ticked purpose boxesNot valid consentPlanet49; GDPR Recital 32
"Reject" hidden as a text link inside a paragraphGenerally not valid consentEDPB taskforce report, 2023
Reject button with very low contrast or misleading coloursAssessed case by case; can be misleadingEDPB taskforce report, 2023
Analytics or advertising cookies justified by "legitimate interest"Not a valid basis for the storage itselfEDPB taskforce report, 2023
Analytics cookies labelled "strictly necessary"Inaccurate classificationEDPB taskforce report, 2023
No easy way to withdraw consent laterMust be as easy as giving itGDPR Article 7(3)
Consent by scrolling or continued browsingNot an active choiceGDPR Recital 32

This page is not legal advice. National authorities differ in detail, and the UK added exceptions for statistics and site appearance in 2026 that change what needs opt-in there.

The banner's effect on your data is measured by the consent rate:

Consent rate = visitors who accept analytics storage ÷ visitors shown the banner

Sample data: 10,000 visitors from the EU see the banner in a month. 5,800 accept analytics, 2,700 reject, and 1,500 close the page without choosing. Consent rate = 5,800 ÷ 10,000 = 58%.

What each analytics setup then reports, assuming 2.5 pageviews per visitor:

SetupVisitors in reportsPageviews in reportsShare of real traffic visible
Reality10,00025,000—
Tool that loads only after consent5,80014,50058%
Cookieless counting with a tier-1 fallback for non-consenting visitorsPageviews and events for all hits received; cross-day recognition only for the 5,800Up to 25,000Pageviews: up to all; returning visitors: 58%

The gap is not random. The 42% who did not accept differ from those who did (privacy-conscious users, some mobile users, visitors who bounce fast), so a consent-only tool both shrinks and skews the data: conversion rates, channel mix and landing-page rankings are computed on the 58% who said yes. Track your consent rate by month and by banner version, and annotate changes to the banner, or you will mistake a banner redesign for a traffic change.

Consent banner vs consent management platform

The banner is the visible part. A consent management platform (CMP) is the software behind it: it scans the site for cookies, shows the banner in the right language, blocks tags until consent, stores consent records and passes the choice to other tools. You can build a banner without a CMP, but then you have to do the blocking, record keeping and withdrawal yourself. Which cookies a banner has to cover depends on who sets them: a first-party cookie set by your own analytics is still a non-essential cookie if its purpose is measurement, and needs consent under the opt-in model unless an exemption applies.

A banner design checklist

  1. First layer: Accept all and Reject all buttons of equal size, colour weight and position, plus a Settings button.
  2. One short paragraph naming purposes (analytics, advertising, personalisation) and the main third parties.
  3. Purpose toggles in Settings, all off by default except strictly necessary.
  4. No non-essential script, pixel or storage before the choice. Test in a clean browser profile.
  5. A persistent link or icon to reopen the banner and withdraw.
  6. Consent records stored with timestamp, banner version and purposes.
  7. Re-ask when purposes or vendors change, not on every visit.

Cookie banners and TapCub

Take the 10,000-visitor example. Whether you need a banner for TapCub itself depends on the region and the tier you choose; the product's own answer is in do I need a consent banner.

  1. Start from what the script stores. At the default tier 2, the TapCub script writes no cookie and no local storage; it is cookieless by design. Tier 3 writes a device ID and needs consent in most jurisdictions.
  2. Check the EEA and UK rule. In Configuration › Privacy center, the built-in rule for the EEA and the UK is tier 2 with consent required. Hits that arrive without an analytics-purpose consent bit are stored at tier 1: daily salt, no persistent ID, no autocapture, but pageviews and custom events are kept. In the example, that is why pageviews from the 4,200 non-consenting visitors can still be counted.
  3. Connect your banner. If you run a banner, pass the analytics purpose to the script. Before consent, events are queued in memory by default; you can switch that to drop.
  4. Mark banner changes on your charts. Add an annotation in Configuration › Annotations on the day you change the banner, so a jump or drop in consented traffic is not misread.

Sources

Was this explanation clear?

We use your answers to fix and expand this page.

Ethan Brooks

Solutions Engineer

Covers SDKs, API integrations, and data implementation, with an emphasis on validation, system interoperability, and troubleshooting.

FAQ

Questions people ask

Short answers to the follow-up questions that come up most.

Still have a question?

Chat with the team behind TapCub — we usually reply within a few hours on business days.

Is a 'This website uses cookies' message enough?

Not in the EU or UK if the site uses analytics, advertising or social-media cookies. That message is a notice: it informs but does not ask. Consent must be an active choice made before non-essential cookies are set, with a reject option as easy to use as accept. A notice is enough only for strictly necessary cookies.

Does a cookie banner need a reject button?

For EU visitors, in practice yes. In the EDPB Cookie Banner Taskforce report of January 2023, the vast majority of national authorities considered a first layer with an accept button but no reject option a breach. Reject should be as visible and as easy as accept.

How does a cookie banner affect analytics?

Tools that load only after consent see only visitors who accept. With a 58% consent rate, 42% of traffic disappears from reports, and the missing visitors are not a random sample. Cookieless counting with a fallback for non-consenting visitors can keep pageviews while limiting identifiers.

Do I need a cookie banner if I only use cookieless analytics?

It depends on what the tool stores or reads on the device and on local law. If nothing non-essential is stored or read, the cookie-consent requirement may not be triggered, but GDPR transparency still applies. Check the regulator guidance for each country you serve; this is not legal advice.

See this number on your own site

Add one script tag for web and apps, and the first reports fill in within minutes.

See your data clearly. Find your growth.

Every click, backed by data. Install one line of code and see your first numbers in a minute.

No credit card · Free plans for analytics and chat · Cookieless analytics