Skip to content
all posts
Guide 2 min read updated July 20, 2026

GDPR-compliant analytics without consent banners

How to run website analytics that is GDPR compliant without a cookie consent banner, what the law actually requires, and a checklist for choosing a compliant tool.

By Sourav · Building sonex
All posts

You can run GDPR-compliant analytics without a consent banner. The trick is not clever legal drafting; it is collecting no personal data in the first place. If there is no cookie and no identifier, there is nothing to consent to, and the banner disappears.

What the GDPR actually requires

The GDPR governs personal data. An IP address and a device or client identifier both count. The separate ePrivacy rules require consent to store or read information on a visitor’s device, such as a cookie, unless it is strictly necessary, and analytics is not strictly necessary. So a tool that sets a cookie or keeps an identifier needs consent first. That is the banner.

Compliance by avoidance beats compliance by paperwork. If you never process personal data, you skip consent, data-transfer assessments, and most of the obligations that make analytics a legal project.

The no-banner path

To lose the banner legitimately, choose analytics that:

  • Sets no cookies and stores no local identifier
  • Does not fingerprint the device or browser
  • Keeps only anonymous, aggregated numbers, never a per-person profile
  • Honours Do Not Track signals
  • Lets you delete your data on request

A cookieless tool that meets these has no personal data to consent to. sonex is built to this standard: it counts a visit without ever identifying the visitor, so it is GDPR, PECR and CCPA-ready by default, with no consent banner required.

A checklist for choosing a compliant tool

QuestionWhy it matters
Does it set cookies?Cookies trigger the ePrivacy consent rule
Does it store identifiers?Identifiers make data personal under the GDPR
Does it fingerprint?Fingerprinting is tracking without a cookie
Where is data stored?Data location affects transfer obligations
Is a DPA available?You need one if any personal data is processed
Can data be deleted?Deletion supports data-subject rights

What you keep

Choosing the no-banner path does not cost you the numbers. You still see visitors, views, bounce and duration, referrers and top pages, coarse country, region and city geography, and realtime, funnels and sessions. The reports that answer real questions do not depend on tracking individuals.

Start without the banner

Remove the cookie-based tag and its consent modal, and add one script to your <head>:

<script defer
  src="https://api.trysonex.com/sonex.js"
  data-website-id="YOUR_WEBSITE_ID"></script>

This is practical guidance, not legal advice. Your obligations depend on your jurisdiction and setup, so confirm the specifics with a qualified advisor, then enjoy a site with no banner to click.

Frequently asked questions

Can analytics be GDPR compliant without a consent banner?
Yes. If your analytics collects no personal data, no cookies, no identifiers, no fingerprints, there is nothing to consent to, so no banner is required. Cookieless tools like sonex are built this way and are GDPR, PECR and CCPA-ready by default.
What makes analytics GDPR compliant?
The shortest route is to avoid processing personal data at all. Tools that store no identifiers and only keep anonymous aggregates fall outside the consent requirement. Also confirm data location and the availability of a data processing agreement for your records.
Do I need a data processing agreement for cookieless analytics?
If any personal data could be processed, a data processing agreement is prudent. Genuinely anonymous analytics processes none, but a clear privacy policy and a DPA where offered are still good practice. Confirm your obligations with a qualified advisor.

sonex is privacy-first web analytics. No cookies, no consent banner, no personal data. Drop one script and read realtime visitors, funnels and a world map in seconds.

Try sonex free
Questions

Frequently asked.

Cookies, install and pricing, answered. Still stuck? Ask us anything .

01 Can sonex show revenue next to my traffic?

Yes. Connect Stripe or Polar with a read-only key and sonex reads revenue straight from your payment provider, per website. Revenue then appears as a focusable series on the Overview chart and as its own report, beside the traffic that earned it. No tracked event is needed for it to work.

02 Does sonex use cookies?

No. sonex sets no cookies and needs no consent banner. It counts visits without cookies, fingerprinting, or any personal data, so it is GDPR, PECR and CCPA-ready by default.

03 How do I install sonex?

Add one script tag to your site's <head> with your website id. It is a single lightweight tracker — no build step and no SDK required.

04 Is sonex a Google Analytics alternative?

Yes. sonex gives you the reports that matter — visitors, pages, referrers, funnels, revenue and a world map — without surveilling your audience or drowning you in configuration.

05 How is sonex priced?

By monthly tracked events. Free covers 2k events, Pro is $20/mo for 200k events, and Business is $200/mo for 2M events with team seats.

See what your traffic actually earns.

Revenue beside the visitors that produced it. No cookies, no credit card, no consent banner.

Get started