Skip to content

Analytics without a cookie banner: how to drop the banner and keep the data

  • CookiesNever storedThe script sets none and writes nothing to the device.
  • IP addressesNever storedHeld in memory for a moment to count the visit and limit abuse. Never stored or logged.
  • Raw user agentsNever storedReduced to a browser, OS and device family. The string is not kept.
  • A lasting identityNever storedA visitor is a hash that rotates daily. Each salt is deleted 35 minutes after its day ends, so past days cannot be recomputed.
What the script and the collector never store by default, the same on every plan.

You can run website analytics without a cookie banner for it when the tool stores nothing on the visitor's device and keeps no personal identifier. CrispStats works that way by default: no cookies, no localStorage id, no stored IP address. Whether your site can drop the banner altogether depends on everything else it loads, such as ad pixels, embeds and chat widgets, so check those too; this is general information, not legal advice.

Every feature on every plan and in the 14-day free trial. Updated

What you keep without the banner

  • Every visitor counted

    Realtime
    No one declines what is not asked, so the numbers describe your whole audience, not only the people who clicked accept.
  • Sources and campaigns

    Live globe
    A newsletter link or an ad still shows up under its campaign, because the referrer and UTM tags arrive with the visit itself, not from a cookie the visitor had to accept.
  • Revenue by source

    Revenue attribution
    Payments from your provider are credited to the visit behind them through checkout metadata, not a tracking cookie.
  • Funnels and goals

    Funnels and goals
    Signups, checkouts and custom events are counted for everyone who reaches them.
  • Site health

    Web vitals
    Web vitals, JavaScript errors and uptime come from the same script and account, with nothing extra stored.

All of it is on every plan and in the 14-day free trial.

On this page
  1. Why do sites show a cookie banner for analytics?
  2. What makes analytics work without a banner?
  3. What on your site still needs consent?
  4. How do you remove the banner safely?

Because most analytics tools store an identifier on the device, usually a first-party cookie, so they can recognise a returning browser. In the EU and the UK, storing or reading information on a device generally needs consent unless it is strictly necessary for the service the visitor asked for, and analytics is usually not treated as strictly necessary. The banner is how sites ask. The rules are summarised under the ePrivacy Directive and GDPR. The UK is moving: the Data (Use and Access) Act 2025 added an exception to PECR for storage used only to collect statistics about how a site is used, on conditions that include clear information and a simple, free way to object; read the ICO’s guidance on the exceptions before relying on it.

The cost is data. Visitors who decline, or close the banner, disappear from your reports, and the ones who remain are not a random sample. Consent mode tries to model the gap; it does not measure it.

What makes analytics work without a banner?

Three things, all of which have to hold:

  1. Nothing is stored on the device. No cookie, no localStorage or sessionStorage id, no cached identifier.
  2. No lasting identifier is built. No browser fingerprinting that recognises the same device next week.
  3. No personal data is kept. IP addresses and raw user agents are not stored, and events carry no names or emails.

CrispStats meets all three in its default setup. Unique visitors are counted with a visitor hash built from a secret salt that changes every day, so the hash stops recognising anyone at midnight in the site’s timezone. The full mechanics are in cookieless analytics, and what that still lets you see about each visit is in website visitor tracking. European regulators read the device rule broadly, beyond cookies, which is one reason their views on cookieless tools differ.

Removing analytics from the banner is half the job. The banner can only go when nothing else on the page needs it. Audit the scripts and embeds your site loads:

A typical audit, not legal advice
Item on the pageUsually needs consent?What to do
Cookieless analytics in its default setupNo identifier storedKeep it
Ad pixels and conversion tagsUsually yesKeep them behind consent, or remove them
Video embeds from large platformsOften yesUse a privacy-enhanced mode or a click-to-load preview
Chat and support widgetsOften yesLoad on click instead of on every page
A/B testing and session replay toolsUsually yesKeep them behind consent
Social share buttons with trackingOften yesReplace with plain links
CrispStats persistent visitors modeYes, it stores an idLeave it off, or switch it on only after consent
Your own login session cookieUsually no, it is strictly necessaryKeep it, and list it in your cookie policy

How do you remove the banner safely?

  1. List every script and embed. Open your site with the browser’s developer tools and note every cookie and storage entry after a fresh visit, before any click.
  2. Replace or gate what needs consent. Use the table above. Anything you keep that stores data still needs a prompt.
  3. Add cookieless analytics next to the old tool. Run both for a week and compare trends, then remove the old one.
  4. Check again on a clean browser. No cookies or storage entries should appear except strictly necessary ones.
  5. Update your privacy and cookie pages. Say what analytics collects and that it sets no cookies. Our own cookie policy is an example.
<script defer src="https://in.crispstats.com/d.js" data-site="YOUR_SITE_KEY"></script>

The tag above is the whole install, and nothing about it needs a line in your banner. Because the banner no longer filters who is counted, expect visitor numbers to rise when you switch; your plan’s events a month, 250,000 on Starter, is the allowance to check that against.

Read do you need a cookie banner for analytics for the reasoning by region, and cookieless analytics explained for what gets counted.

How the options compare

Only facts read on each product's own pages are shown. Anything we could not confirm says so instead of guessing.

CrispStats, Google Analytics, Plausible, Fathom, Umami compared
Capability
CrispStats
Ours
Works without cookiesYes1No

Uses first-party cookies

Yes2YesYes
Cookie consent needed in the EUFor the default setup. Not legal advice.No cookies set3Yes4Not needed, says PlausibleNot needed, says FathomNot needed, says Umami
  1. No cookies, no stored IP addresses
  2. No cookies, no persistent identifiers
  3. Nothing is stored on the device by default
  4. Consent mode for visitors who decline

Prices are monthly list prices in US dollars. Each product counts its own unit (events or pageviews), so volumes are close but not identical.

Topic questions. Straight answers.

What people ask about this part of analytics.

  • Yes, if the analytics tool stores nothing on the device and keeps no personal identifier, and nothing else on your site needs consent. A cookieless tool solves the first part; the audit of other scripts solves the second. This is not legal advice.

  • GA4 sets first-party cookies that last two years by default, so sites with EU or UK visitors usually ask for consent before loading it.

  • For daily questions it usually counts more visitors, because nobody is lost to a declined banner. It cannot recognise the same person across days, so weekly and monthly unique visitors run higher than a cookie-based count.

  • Yes. A privacy policy should say what analytics collects, even without cookies. Dropping the banner does not remove the duty to tell visitors what you do with their visit.

Not answered here? Write to hello@crispstats.com

Go further

Read more

  • Do you need a cookie banner for analytics?

    When analytics needs consent: what the device storage rule covers, where GDPR comes in, and a checklist.

  • Cookieless analytics

    Cookieless analytics counts visitors with a daily rotating hash instead of a cookie.

  • GDPR compliant analytics

    What GDPR compliant analytics needs: less personal data, no device storage without consent, retention limits and a DPA.

  • Website visitor tracking

    What website visitor tracking can tell you without identifying anyone: sources, pages, device, country and conversions, and what it will never reveal.

  • Cookie consent

    Cookie consent is the permission a website asks for before storing or reading information on a visitor's device that is not strictly necessary, such as analytics or advertising cookies.

  • Third-party cookie

    A third-party cookie is a cookie set by a domain other than the one in the browser's address bar, typically by an ad, social or embed script loaded on the page.

Your traffic, crisp and clear

One script, no cookies, and every feature from the first day. Set up takes about as long as pasting a snippet.