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:
- The message: what is stored, for which purposes, and by whom, with a link to the full cookie policy.
- The choice: buttons to accept, reject, or choose purposes, and nothing non-essential running until a choice is made.
- The record: proof of what each visitor chose and when, plus a way to change the choice later.
Cookie notice vs consent banner
| Type | What the visitor sees | What happens before a click | Where it can be enough |
|---|---|---|---|
| Cookie notice ("This website uses cookies") | Information and an OK or close button | All cookies already set | Only strictly necessary cookies, or jurisdictions without prior-consent rules |
| Opt-out banner | Information and a link to opt out | Cookies set; removed if the visitor opts out | US state laws built on opt-out of sale or sharing |
| Opt-in consent banner | Accept, Reject and Settings with equal weight | Nothing non-essential set | EU (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:
| Practice | Position | Source |
|---|---|---|
| Accept button on the first layer but no reject option | Not compliant for the vast majority of authorities | EDPB taskforce report, 2023 |
| Pre-ticked purpose boxes | Not valid consent | Planet49; GDPR Recital 32 |
| "Reject" hidden as a text link inside a paragraph | Generally not valid consent | EDPB taskforce report, 2023 |
| Reject button with very low contrast or misleading colours | Assessed case by case; can be misleading | EDPB taskforce report, 2023 |
| Analytics or advertising cookies justified by "legitimate interest" | Not a valid basis for the storage itself | EDPB taskforce report, 2023 |
| Analytics cookies labelled "strictly necessary" | Inaccurate classification | EDPB taskforce report, 2023 |
| No easy way to withdraw consent later | Must be as easy as giving it | GDPR Article 7(3) |
| Consent by scrolling or continued browsing | Not an active choice | GDPR 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.
Consent rate: how a banner changes your analytics
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:
| Setup | Visitors in reports | Pageviews in reports | Share of real traffic visible |
|---|---|---|---|
| Reality | 10,000 | 25,000 | — |
| Tool that loads only after consent | 5,800 | 14,500 | 58% |
| Cookieless counting with a tier-1 fallback for non-consenting visitors | Pageviews and events for all hits received; cross-day recognition only for the 5,800 | Up to 25,000 | Pageviews: 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
- First layer: Accept all and Reject all buttons of equal size, colour weight and position, plus a Settings button.
- One short paragraph naming purposes (analytics, advertising, personalisation) and the main third parties.
- Purpose toggles in Settings, all off by default except strictly necessary.
- No non-essential script, pixel or storage before the choice. Test in a clean browser profile.
- A persistent link or icon to reopen the banner and withdraw.
- Consent records stored with timestamp, banner version and purposes.
- 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.
- 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.
- 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.
- 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.
- 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
- European Data Protection Board, Report of the work undertaken by the Cookie Banner Taskforce, 18 January 2023.
- Regulation (EU) 2016/679 (GDPR), Article 4(11), Article 7(3) and Recital 32, EUR-Lex.
- Court of Justice of the EU, Planet49 judgment, press release No 125/19, 1 October 2019.
- Directive 2002/58/EC (ePrivacy Directive), Article 5(3), EUR-Lex.
Was this explanation clear?
We use your answers to fix and expand this page.
Couldn’t send. Please try again in a minute.
Thanks for the feedback. We’ll use it to improve this page.You’ve already sent feedback on this page. Thanks.

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