Skip to content

GDPR compliant analytics: what the law asks of your analytics setup

  • 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.

GDPR compliant analytics is an analytics setup that collects as little personal data as it needs, stores nothing on the visitor's device without consent, keeps data for a stated period and is covered by a data processing agreement. No tool is compliant on its own, because compliance depends on how you use it, but CrispStats is built to make it straightforward: no cookies, no stored IP addresses and a published DPA. This is general information, not legal advice.

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

What the defaults take care of

  • Nothing stored on the device

    Realtime
    This settles the ePrivacy question for analytics: no cookie, no localStorage entry and no cached id, so there is nothing on the device for Article 5(3) consent to cover.
  • No IP address or raw user agent stored

    Live globe
    Both are read at the edge to compute a daily visitor hash, an approximate location and the device type, then discarded. Location is rounded to about 11 km.
  • Revenue without the customer's email

    Revenue attribution
    Payments are matched to visits through a visitor id your checkout passes along. The buyer’s email is kept only as a one-way hash and a masked form such as j*@e*.com, never in plain text.
  • Journeys that end at midnight

    Visitor journeys
    Visitor journeys hold for one day. Linking visits across days or devices only happens if you identify signed-in users yourself.

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

On this page
  1. Which laws apply to website analytics?
  2. What does GDPR compliant analytics need?
  3. What does CrispStats collect, and for how long?
  4. Where does Google Analytics stand under the GDPR?

Which laws apply to website analytics?

Two European rules apply, and they ask different questions:

Two rules, two questions
RuleThe question it asksWhat it means for analytics
ePrivacy Directive, Article 5(3)May you store or read anything on the visitor’s device?Analytics cookies and local storage ids need prior consent in most EU countries
GDPRDo you process personal data, and on what legal basis?IP addresses and cookie ids count as personal data, so you need a basis, limits and contracts

The GDPR defines personal data in Article 4(1) as information about an identifiable person, and Recital 30 names IP addresses and cookie identifiers as online identifiers. The European Data Protection Board’s Guidelines 2/2023 explain that the ePrivacy rule reaches beyond cookies to other ways of reading or storing data on a device, and they include some tracking that relies on the IP address alone. That is why regulators do not all read cookieless analytics the same way. Read the GDPR and ePrivacy Directive entries for the background.

What does GDPR compliant analytics need?

A short checklist, in the order a regulator or a customer’s privacy team tends to ask:

  1. Data minimisation. Collect what answers your questions and nothing more. Full IP addresses, long-lived ids and full URLs with query strings are the usual excess.
  2. A legal basis. Consent or legitimate interests are the two usual bases for analytics. Less data makes legitimate interests easier to argue.
  3. No device storage without consent. This is the ePrivacy part. A tool that stores nothing leaves no analytics cookie for your banner to ask about.
  4. A retention limit. A number of months, written down, after which data is deleted.
  5. A data processing agreement. The vendor processes data for you, so you need a DPA and a list of its subprocessors.
  6. A lawful route for transfers. If data leaves the EU, you need a mechanism for it, such as an adequacy decision or standard contractual clauses.
  7. An honest privacy policy. Say what you collect, why and for how long.

What does CrispStats collect, and for how long?

What each event holds
Data pointStoredPersonal data?
Page path, referrer, UTM tagsYes, query strings trimmed in the browserNot on its own
Country, region, cityYes, approximateNot on its own
Browser, operating system, device typeYesNot on its own
Daily visitor hashYes, for one day’s countingPseudonymous, and unlinkable after the day
IP address and raw user agentNoRead in memory, then discarded
Customer email from paymentsOnly as a one-way hash and a masked formPseudonymous: treat as personal data
User ids you send with identifyYes, if you send themYes: treat as personal data

Traffic data is deleted when it passes your plan’s retention period:

Revenue history is kept on every plan.
PlanTraffic data kept
Starter24 months
Growth60 months
ScaleKept while subscribed

The data processing agreement, the subprocessors and our privacy policy are published. The database is hosted outside the EU, in the region named on the subprocessors page, and the DPA covers transfers out of the EEA with a recognised mechanism such as the Standard Contractual Clauses. If you need data stored only in the EU, that is a reason to pick a different tool. Whether your overall setup complies is for you and your lawyer to decide.

Where does Google Analytics stand under the GDPR?

Google Analytics can be used under the GDPR, but it takes more work, mainly because it stores identifiers on the device. What Google’s own help pages say:

  • Cookies. GA4 sets _ga and _ga_<container-id> cookies, kept for 2 years by default, according to Google’s page on GA4 cookies. In most EU countries that means asking for consent first.
  • Consent mode. In the advanced setup of consent mode, visitors who decline send cookieless pings instead, and Google models the missing data. In the basic setup, tags wait for consent and decliners send nothing. See consent mode in the glossary.
  • IP addresses. Google states that in GA4 IP addresses “are not logged or stored”, per its IP masking page.
  • Retention. Event-level data is kept for 2 or 14 months on standard properties, as Google’s retention page lists it.

The data still goes to Google, a US company, so the transfer question applies. Since 10 July 2023 the European Commission’s adequacy decision for the EU-US Data Privacy Framework covers transfers to US companies certified under it. If you keep GA4, put it behind a consent banner, turn on consent mode and sign Google’s data processing terms. If you would rather not run a banner for analytics, analytics without a cookie banner covers what that takes. What regulators decided about it, case by case, is in is Google Analytics GDPR compliant?, and the product comparison is on CrispStats vs Google Analytics.

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, Matomo compared
Capability
CrispStats
Ours
Matomo
Works without cookiesYes1No

Uses first-party cookies

Yes2Optional3
Cookie consent needed in the EUFor the default setup. Not legal advice.No cookies set4Yes5Not needed, says PlausibleDepends on setup

Narrow cookieless setup only

Self-hostingNo

Hosted only

No

Hosted by Google

Yes6Yes

Free On-Premise edition

  1. No cookies, no stored IP addresses
  2. No cookies, no persistent identifiers
  3. Cookies on by default, can be disabled
  4. Nothing is stored on the device by default
  5. Consent mode for visitors who decline
  6. Community Edition, without funnels or revenue

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.

  • Usually not for the device-storage question, because nothing is stored on the device. You still need a legal basis for any personal data processed, and many sites rely on legitimate interests for minimal analytics. National regulators differ, so check with your lawyer. This is not legal advice.

  • While the day lasts it is pseudonymous data derived from an IP address, so treat it with care. Because the salt is deleted after the day, nobody can recompute it or link it to later visits, which is why it is far less sensitive than a cookie id kept for two years.

  • Yes. The data processing agreement is part of the terms of service, so it applies from the moment you accept them with nothing to sign. A countersigned copy is available on request by email, and the subprocessors are listed on the legal pages.

  • Traffic data holds no name, email or stored IP address, so there is usually nothing to find for one person. Payment records for one customer are deleted on request by email with their address, and deleting a site deletes all of its data.

Not answered here? Write to hello@crispstats.com

Go further

Read more

  • GDPR

    The GDPR (General Data Protection Regulation, Regulation (EU) 2016/679) is the EU law that governs how organisations collect and use personal data about people in the EU.

  • 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.

  • Privacy-friendly analytics

    Privacy-friendly analytics measures pages, sources and conversions without cookies, stored IP addresses or profiles.

  • Analytics without a cookie banner

    Run website analytics with no cookie banner: a tool that stores nothing on the device, plus a checklist of what else on your site still needs consent.

  • Data processing agreement

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.