Skip to content
Start free trial
BlogPrivacy-first analytics

Is analytics data personal data under the GDPR?

A client’s questionnaire asks whether your analytics processes personal data, and you’re not sure what to write. Here’s how IP addresses, IDs, hashes and aggregates are generally treated.

Say you’ve just won a new client. Before they sign, their procurement team sends a security questionnaire, and question 14 reads: “Does your website analytics process personal data? If yes, list the categories.”

You could write “no” and hope. Or you could work out the real answer to a question plenty of teams get stuck on: is analytics data personal data?

Under the GDPR, some of it is, some of it isn’t, and some sits in between, depending on what it is and who holds it. This post goes through each kind of data an analytics tool handles so you can answer question 14 accurately. It explains the concepts, and your legal obligations remain a call for your own adviser.

Key takeaways

  • Under the GDPR, data is personal if it relates to someone who can be identified, directly or indirectly, by means reasonably likely to be used.
  • IP addresses and device or cookie identifiers are generally treated as personal data in analytics.
  • Pseudonymous data, such as a hashed ID whose key still exists, is still personal data. Only truly anonymous data falls outside the GDPR.
  • Aggregated counts with no identifier are usually far from personal data, though very small groups can still point at a person.
  • FunnelSights stores no IP addresses, user agent strings or cookie IDs by default, but custom event properties are yours to fill and can hold personal data.

What counts as personal data under the GDPR?

Personal data is any information relating to an identified or identifiable living person. “Identifiable” is the word that matters.

A person is identifiable if they can be singled out, directly or indirectly, through things like a name, an ID number, location data, an online identifier, or a combination of details.

Two more points shape how this applies to analytics. First, you count every means reasonably likely to be used to identify someone, by you or anyone else, considering cost, time and available technology.

Second, the GDPR’s recitals name online identifiers, such as IP addresses and cookie IDs, as traces that can be combined with other information to profile and identify people. Analytics deals in exactly those traces.

Is an IP address personal data?

Generally, yes. In the Breyer case in 2016, the Court of Justice of the EU held that even a dynamic IP address can be personal data for a website operator, because there are legal routes, through the internet provider, to identify the person behind it.

Regulators have treated IP addresses as personal data ever since. For your questionnaire, that has a consequence that’s easy to miss.

Every request to an analytics endpoint arrives with an IP address. Even if the tool never writes it down, it receives it and uses it, and receiving and using personal data is processing.

So “we don’t store IPs” and “we don’t process personal data” are different answers. Not storing an IP sharply reduces what’s kept, but some personal data was still handled. Analytics without storing IP addresses looks at the options for handling it.

A cookie ID is a random string, so it can look harmless. But its whole purpose is to single out one browser and recognise it again, and singling someone out is what makes data identifiable.

That’s why analytics client IDs, mobile advertising IDs and the IDs inside third-party cookies are generally treated as personal data. Device fingerprints are too.

A simple rule of thumb: if an identifier exists so you can tell one person’s activity from another’s over time, assume it’s personal data.

What’s the difference between pseudonymous and anonymous data?

This distinction does most of the work in analytics, and marketing often blurs it.

Pseudonymised data has had its direct identifiers swapped out (a name replaced with a code, or an IP replaced with a hash) while the means to reverse the swap still exists somewhere. The GDPR treats pseudonymisation as a useful safeguard, but the data is still personal data for anyone who can reasonably re-link it.

Anonymous data can’t be linked to a person by anyone, by any means reasonably likely to be used. Only anonymous data falls outside the GDPR.

Identified, pseudonymous and anonymous analytics data
ExampleGenerally treated as
IdentifiedAn email address or customer ID sent with an eventPersonal data
Online identifierAn IP address, a cookie ID, a device fingerprintPersonal data
Hashed without a secretAn unsalted hash of an IP addressPersonal data, since it can be reversed by trying every address
PseudonymousA keyed hash whose key still existsPersonal data, with a safeguard
AggregatedPageviews per page per day, with no identifierUsually not personal data, unless a group is small enough to point at someone

General treatment, not a ruling on any particular setup.

Hashing deserves its own warning. An unsalted hash of an IP address isn’t anonymous, because there are only about four billion IPv4 addresses and a computer can hash them all and look up the match.

A hash keyed with a secret salt can’t be reproduced without the salt, which makes it a pseudonym. Whether it becomes anonymous once the key is destroyed is a legal judgement about what else could link it back.

Recent case law keeps the focus on who holds the data and what means they could realistically use. Don’t assume the answer either way.

What does FunnelSights store by default?

Your questionnaire needs real fields rather than a vendor’s summary, so this is the full FunnelSights inventory.

  • Page path and hostname. The query string isn’t stored as such: campaign parameters become UTM fields, and if site-search capture is on, the search term is kept after scrubbing.
  • The referrer as host and path, plus the source and channel worked out from it.
  • Device type, browser and version, and operating system and version, parsed from the user agent. The user agent string itself isn’t stored.
  • Country, region and city where available, resolved during the request. The IP address used for that isn’t stored.
  • Event names, scroll depth, engaged time and revenue amounts.
  • A daily visitor hash, stored with raw events and sessions until they’re purged after 180 days.
  • Daily totals for reporting, which carry no visitor ID at all.

Not stored: IP addresses, user agent strings, cookie IDs, or any identifier that lasts beyond the day. Nothing is written to the visitor’s device.

The daily hash is the field to think about carefully. It’s a pseudonym, because within a day it singles out one browser on one network on one site.

The salt behind it is deleted after 48 hours, after which the hash can’t be recomputed by anyone. Before then, somebody holding a current salt could compute the hash for a known IP and user agent and match it.

So treat raw events as pseudonymous data with a short-lived key, not as anonymous data. How cookieless visitor counting works explains the mechanism.

What can you put in custom event properties?

The defaults are what the software decides. Custom event properties are what you decide, and the privacy design doesn’t touch them.

Anything you attach to an event is stored exactly as you sent it. Compare these two calls:

funnelsights('Signup', { props: { plan: 'pro' } })        // a category
funnelsights('Signup', { props: { email: user.email } })  // personal data

The first tells you which plan people choose. The second puts an email address into your analytics, where it’s stored like any other value and shows up in breakdowns by that property.

The same goes for values your Google Tag Manager setup already sends. Scalar parameters on a dataLayer event become properties, so check what your existing tags push before you rely on the defaults.

Site-search capture is a middle case. Search terms are lowercased and stripped of email addresses and long runs of digits at ingest, but they’re still text your visitors typed.

Fields the design controls, and fields you control
Default fieldsCustom properties
Who decides what goes inThe tracker and ingestYou, in your tagging
IP addresses and user agentsUsed for the hash, never storedStored if you put them there
Email addresses, names, customer IDsNot collectedStored if you send them
Covered by the privacy designYesNo. It stores what you send
Where it ends upRaw events, then daily totals without visitor IDsRaw events, and the daily totals as a breakdown value

The rule is simple: send categories, not identities. A plan name, a product category or a yes/no flag answers almost every analytics question. Event naming conventions and deciding what to measure show how to keep properties useful without making them personal.

How to answer the questionnaire

So what goes in question 14? For a FunnelSights setup on the defaults, an accurate answer says the IP address is processed briefly at collection, a short-lived pseudonymous ID is stored with raw events, and reports run on totals without IDs. Then you list anything you add through custom properties.

Even a small inventory still brings the usual GDPR questions: a lawful basis, a privacy notice, retention limits, and a contract with your analytics provider. For the visitor data your analytics collects, you’re usually the controller and the provider is a processor acting for you.

A small inventory makes all of that easier. There’s less to describe in your notice, less to protect, and less to hand over when someone asks what you hold about them.

It also changes the consent question without settling it, which do you need a cookie banner for analytics? covers. How long each kind of data is kept matters too, and analytics data retention covers that.

Two more facts belong in the answer. FunnelSights processes data in the United States, so for EU and UK visitors it’s an international transfer that needs a safeguard, and every third party that can access the data is named in the sub-processor register. For the bigger picture, read the cookieless analytics guide.

Frequently asked questions

Is an IP address personal data under the GDPR?

Generally, yes. The Court of Justice of the EU held in 2016 that even a dynamic IP address can be personal data for a website operator, because the person behind it can be identified with the internet provider’s help in the right circumstances. Treat IP addresses as personal data in analytics.

Is hashed data anonymous?

Not automatically. An unsalted hash of an IP address can be reversed by hashing every possible address. A hash keyed with a secret salt is pseudonymous while the key exists, and whether it becomes anonymous once the key is destroyed is a legal judgement about what else could link it back.

Is aggregated analytics data personal data?

Usually not, when it’s counts per page, source or day with no identifier attached. Very small groups are the exception to watch: a breakdown that shows one visitor from a small town on a given day can point at a person when combined with other information.

Is a Google Analytics client ID personal data?

It’s generally treated as personal data. It’s a random string, but it exists to single out one browser and recognise it on later visits, and singling someone out is what makes data identifiable under the GDPR.

Can I send user IDs or emails in analytics events?

You can, but you then hold personal data in your analytics, stored like any other value and kept as long as the events and totals are. In FunnelSights, custom event properties are fields you control and the privacy design doesn’t filter them. Send categories such as plan or product type instead.

More in this series

This post is part of Cookieless analytics: how it works, what it costs, and how to choose, our guide to privacy-first analytics.