GDPR and web analytics in the EU: what applies (2026 guide)

In this article (13 sections)

When you run web analytics on visitors in the EU, the GDPR provisions that come up include the lawful basis, data minimisation, the contract with your provider, transfers outside the EU, data subject rights and records of processing. This guide sets out what each one says and what to ask an analytics provider, based on the text of the Regulation and on published sources; the decisions of European data protection authorities on analytics tools cited below concern transfers outside the EU (Chapter V). It is not legal advice and does not assess any particular site.

Quick answer

The GDPR applies to the processing of personal data. It defines personal data broadly (Article 4(1)), and Recital 26 says that pseudonymised data which could be attributed to a person with additional information should be considered information on an identifiable person. The provisions most often discussed for web analytics are the lawful basis (Article 6), the contract with a processor (Article 28), data minimisation (Article 5(1)(c)), the rules on transfers to third countries (Chapter V), data subject rights (Articles 15 to 22) and records of processing (Article 30). EU-hosted analytics without persistent identifiers, cross-site tracking or stored IP addresses changes some of those questions, for example Chapter V for the analytics data, but does not remove the others. Atriqo makes no legal assessment of your site; for your situation, consult a qualified legal professional.


Key takeaways

  • Personal data is defined broadly in Article 4(1), and Recital 26 treats pseudonymised data attributable to a person with additional information as information on an identifiable person. Analytics identifiers such as hashes derived from an IP address and a user agent are pseudonymous, not anonymous.
  • Article 6 requires a lawful basis for processing. Consent (Article 6(1)(a)) and legitimate interests (Article 6(1)(f)) are two of the six bases. Which one fits depends on the tool and on your authority's guidance. The ePrivacy rules on cookies are a separate question (see our article on cookie banners and analytics).
  • Article 28(3) provides that processing by a processor is governed by a contract with minimum content. An analytics provider that processes data on your behalf is a candidate for that role.
  • Chapter V governs transfers outside the EU/EEA. In 2021 and 2022 the Austrian, French and Italian authorities issued decisions on specific uses of Google Analytics on that basis.
  • Article 5(1)(c) sets out data minimisation. Tools that discard raw IPs, use short-lived identifiers and avoid persistent browser storage collect less personal data.
  • Data subject rights (Articles 15 to 22) apply where individuals can be identified. What a tool can retrieve or delete for a specific visitor depends on its architecture.

Definitions

Personal data (Article 4(1) GDPR): any information relating to an identified or identifiable natural person. In Breyer (C-582/14, 19 October 2016) the Court of Justice held that a dynamic IP address registered by a website provider constitutes personal data in relation to that provider where it has the legal means to identify the person with additional data held by the internet service provider (judgment). Recital 26 GDPR says that pseudonymised data which could be attributed to a person by the use of additional information should be considered information on an identifiable person.

Data Processing Agreement (DPA): the contract or other legal act that Article 28(3) GDPR requires to govern processing by a processor. It sets out the subject matter and duration of the processing, its nature and purpose, the type of personal data and categories of data subjects, and the obligations and rights of the controller.

Data minimisation: the principle in Article 5(1)(c) that personal data be adequate, relevant and limited to what is necessary for the purposes of processing. In analytics terms, a question such as whether a raw IP is needed if a hash serves the purpose.

Standard Contractual Clauses (SCCs): model clauses adopted by the Commission for transfers to third countries (Implementing Decision (EU) 2021/914 of 4 June 2021).

GDPR-native by design: a product positioning claim, not a certification, meaning the tool was designed from the ground up around EU data protection principles rather than retrofitting consent mitigations onto a tracking-first architecture.


Provision 1: lawful basis for analytics processing

Article 6 lists the bases on which personal data may be processed. For web analytics, two are most often discussed.

Consent (Article 6(1)(a)): the data subject has given consent to the processing for one or more specific purposes. Cookies and similar technologies are subject to a separate consent rule in Article 5(3) of the ePrivacy Directive, which operates independently of the GDPR.

Legitimate interests (Article 6(1)(f)): processing necessary for the legitimate interests of the controller or a third party, except where those interests are overridden by the interests or fundamental rights and freedoms of the data subject. Whether a given analytics set-up fits this basis depends on how the tool operates and on the guidance of your data protection authority; we do not assess it here.

What to ask your provider: What lawful basis does your DPA template assume? Does your tool architecture rely on cookies or persistent identifiers, and what does that mean for the basis you choose?


Provision 2: the contract with a processor

Article 28(3) GDPR provides that processing by a processor is governed by a contract or other legal act that is binding on the processor. It sets out the subject matter and duration of the processing, its nature and purpose, the type of personal data and categories of data subjects, and the obligations and rights of the controller. The contract also provides, among other things, that the processor:

  • processes the data only on documented instructions from the controller;
  • ensures that the people who process the data are bound by confidentiality;
  • takes the security measures required by Article 32;
  • respects the conditions for engaging sub-processors;
  • assists the controller with data subject requests;
  • deletes or returns the data at the end of the services.

What to ask your provider: Do you offer a DPA? Is it available without a paid plan or enterprise tier? Does it cover all your sub-processors (infrastructure, email, error tracking and so on)?

For reference, the service providers Atriqo uses include Hetzner (analytics infrastructure, Germany), OVHcloud (encrypted backups, Paris, France), Scaleway (transactional email, Paris, France), Sentry (error tracking, EU region), Cloudflare (DNS only, no proxy) and Stripe (billing). Atriqo's DPA lists which of them act as sub-processors for your analytics data. One more sits outside that chain: MaxMind GeoLite2 is a locally installed geolocation database (visitor IPs are never sent to MaxMind).


Provision 3: data minimisation in practice

Article 5(1)(c) GDPR provides that personal data must be "adequate, relevant and limited to what is necessary in relation to the purposes for which they are processed". For analytics, the question arises at three layers:

Collection: does the tool need raw IP addresses? If visitor identification works with a cryptographic hash that discards the IP right after, as in Atriqo (HMAC(secret, IP + user_agent + daily_salt), IP discarded after hashing; sessions are then grouped separately in fixed 30-minute windows derived from that hash), the raw IP is not stored.

Retention: how long is event-level data kept? Aggregate counts at weekly or monthly granularity can serve trend analysis; detailed page-level event logs kept for a long time are a larger personal data set. What period fits your purposes is for you to determine.

Granularity: do you need individual session-level data, or are aggregate counts enough for your use case? Tools that store per-visit event streams create a richer personal data set than tools that count page views in aggregate.

What to ask your provider: What raw data fields are stored at event time? Is the IP address stored? Are user agent strings stored verbatim? What is the default and configurable retention period? Can data be deleted for a specific visitor or time window?


Provision 4: transfers outside the EU

Article 44 GDPR sets a general principle: any transfer of personal data to a third country or international organisation takes place only if the conditions in Chapter V are complied with. For analytics, Chapter V is the framework behind the 2021 and 2022 European authority decisions on Google Analytics.

The decisions:

Each concerned a specific website and configuration, not a categorical ban, and each predates the EU-US Data Privacy Framework adopted on 10 July 2023. Our guide to Google Analytics alternatives for GDPR sets out the later developments with sources and compares the main privacy-focused alternatives.

How EU hosting changes the question: when analytics infrastructure is hosted within the EU, the analytics layer does not involve sending analytics data to a third country as part of collection and storage. The rest of your stack may still involve transfers, and the other provisions in this guide still apply.

What to ask your provider: Where exactly is analytics data stored, in which country and data centre, or is the answer vague ("EU regions")? Which parent company and which sub-processors are involved, and are any of them outside the EU? What transfer mechanism applies where they are?


Provision 5: data subject rights

Articles 15 to 22 GDPR grant individuals rights over their personal data, including access (Article 15), erasure (Article 17) and objection (Article 21). For analytics, the question is whether the stored data allows identification or re-identification of the individual.

Where erasure is straightforward to scope: tools that store event-level data with persistent user identifiers (cookies, fingerprints) can search by that identifier, so a request to delete the records tied to one person maps onto a lookup.

Where it is less so: tools that use daily-rotating hashes without persistent identifiers cannot use the stored hashes to link records to a specific individual across days. A request about "visitor X" cannot be matched with precision, because the identifier changes daily and cannot be reversed to an IP. That limits what the tool can retrieve or delete for one person, and how you describe that limit in your privacy information is for you to settle.

What to ask your provider: Does your tool retain any data that could be linked to a specific individual over time? What is the procedure for responding to an access request? Can data be deleted by visitor or by date range?


Provision 6: records of processing activities

Article 30 GDPR provides that controllers maintain a record of processing activities. For an analytics tool, the record would typically cover:

  • Name and contact details of the controller (and the DPO, if applicable)
  • Purposes of the processing (audience measurement, performance analysis and so on)
  • Categories of data subjects (website visitors)
  • Categories of personal data (session identifiers, device attributes, geographic region, page URLs visited)
  • Recipients (your analytics provider and its sub-processors)
  • Transfers to third countries, if any
  • Retention periods
  • A general description of security measures

What to ask your provider: Do you provide documentation you can use for your record of processing? Does your DPA or privacy documentation map onto the Article 30 content?


Summary table

Summary table
Provision Key question for your provider What a privacy-first architecture changes
Lawful basis (Art. 6) Does your tool rely on cookies or persistent identifiers? One input to the choice of basis; it does not replace the choice
Processor contract (Art. 28) Is a DPA available? Does it cover all sub-processors? Nothing: the provision applies whatever the architecture
Data minimisation (Art. 5(1)(c)) Is the raw IP stored? What is the retention period? IP discard and short-lived hashes mean less personal data is stored
Transfers (Ch. V) Where is the data stored? Which parent company and sub-processors are involved? EU-hosted analytics means the analytics layer does not send data to a third country
Data subject rights (Arts. 15 to 22) Can you delete data for a specific visitor? Can you answer an access request? Daily-rotating hashes limit identification of one person across days
Records of processing (Art. 30) Can you provide documentation for the record? Nothing: documentation is still needed

What a privacy-first analytics tool changes in this picture

Atriqo is a privacy-first, cookieless web analytics tool, hosted in the EU (Germany), built as a GDPR-native-by-design alternative to Google Analytics.

Atriqo is designed around the following properties:

  • No cookies, no persistent browser identifiers. The tracker sets no cookies (see our article on cookie banners and analytics for the EDPB Guidelines 2/2023 nuance).
  • IP discarded after privacy hash. Less personal data is stored at event time. The hash is pseudonymous; the raw IP is never written to disk.
  • No cross-site tracking. Each site's data is siloed. No visitor data is combined or reported across different websites.
  • No fingerprinting. No combination of browser attributes is used to create a persistent cross-session identifier.
  • Hosted in the EU (analytics infrastructure in Germany, Hetzner Falkenstein). The analytics layer does not send analytics data to a third country as part of collection and storage.

What this does not change:

  • Article 28 still applies. Atriqo processes personal data (pseudonymous visitor and session identifiers) on your behalf as a processor; Atriqo's DPA is the contract.
  • A lawful basis is still needed. The architecture is one input to the choice of basis; it does not make the choice unnecessary.
  • Privacy information is yours to write. What is collected, for what purpose and on what basis are for your privacy policy to describe, whatever the architecture.
  • Data subject rights remain. The architecture limits what can be retrieved or deleted for one person; how you describe that is for you to settle.
  • Other vendors on your site are separate questions. Analytics is one processing activity among many. Ad pixels, social embeds, CRM integrations and support chat tools each raise their own questions.

For Atriqo's technical methodology, see our privacy documentation.


Facts vs interpretation

Documented facts: GDPR Article 4(1) defines personal data broadly, and Recital 26 addresses pseudonymised data. In Breyer (C-582/14, 19 October 2016) the Court of Justice held that a dynamic IP address can be personal data for a website provider with the legal means to identify the person. Article 28 provides for a contract with processors. Chapter V governs transfers outside the EU/EEA. The Austrian (22 December 2021), French (10 February 2022) and Italian (9 June 2022) authorities issued the decisions cited above on specific uses of Google Analytics. The Commission adopted the current SCCs on 4 June 2021.

Our interpretation: that a cookieless, EU-hosted analytics tool with IP discard and no persistent identifiers narrows some of the questions above for the analytics layer is Atriqo's commercial position. Whether it matters for your set-up, and which lawful basis applies in your context, are legal questions that depend on your jurisdiction, your full set of processing activities and the advice of a qualified legal professional. This article is not legal advice.


Getting started with Atriqo

The free tier is 10,000 billable events per month (a billable event is any tracked event: pageview, outbound click, file download, 404 if you enable it, or custom event), with no credit card and no expiry. It is available now.

Ready to try it? Get started for free.


This article is for informational purposes only and does not constitute legal advice. Any legal question about your site depends on your full data processing activities, your jurisdiction and the published guidance of the data protection authorities that apply to your organisation. Consult a qualified legal professional for advice specific to your situation.

Analytics without cookies

Privacy-first, GDPR-native, hosted in the EU (Germany).

Start for free All articles