Skip to content

Privacy

PII examples: what counts as personal data in analytics, by regulator

PII examples from NIST, the GDPR and the CCPA side by side: names, emails, IP addresses, cookie ids and more, and where each one leaks into analytics.

The CrispStats team · · 10 min read

In short

PII examples include direct identifiers such as a name, email address, phone number, passport or social security number, and indirect ones such as an IP address, a cookie id, a device id or precise location that can single a person out once linked. The US standard (NIST SP 800-122) and California’s CCPA list IP addresses and online identifiers, and the European Commission names IP addresses and cookie ids as personal data under the GDPR. In analytics, PII most often leaks through URLs, page titles, form fields and event properties, which is where to check first.

“Do we collect PII?” is a question every analytics setup gets asked eventually, by a customer, an auditor or a privacy notice you have to write. The honest answer depends on whose definition you use. The US tends to say PII and lists types of data. Europe says personal data and asks whether a person can be identified. The lists overlap, but not completely, and the gaps are exactly the identifiers analytics tools rely on.

Below is a table built from the regulators’ own texts, then the places PII turns up in analytics data without anyone meaning to send it, with a worked example.

What is PII?

Personally identifiable information is information that can identify a person on its own or when combined with other information. The standard US definition comes from NIST SP 800-122 (2010): any information that can be used to distinguish or trace an individual’s identity, such as name, social security number, date and place of birth or biometric records, plus any other information that is linked or linkable to an individual.

The GDPR uses a different term, personal data, and a wider test. Article 4(1) covers any information relating to an identified or identifiable person, and names “an online identifier” among the things that can identify someone. California’s CCPA sits in between: personal information is anything that identifies, relates to or could reasonably be linked with a consumer or a household, and the statute lists categories from real names to browsing history and inferences.

The practical difference: under NIST’s framing, an IP address is PII when it consistently links to a person or a small group. Under the GDPR and the CCPA it is named outright. For analytics, that means the European and Californian answers are usually the stricter ones.

PII examples: a table from the regulators’ definitions

Each cell says what the named source states. “Not listed” means the source does not name it, not that it is safe.

Sources: NIST SP 800-122 section 2.2; the European Commission’s “What is personal data” page; the ICO’s personal information guide; Cal. Civ. Code 1798.140(v) and (aj). Read 23 November 2026.
DataNIST SP 800-122 (US)GDPR, per the European Commission and ICOCCPA (California)Where it shows up in analytics
Full nameListedListedListed (real name, alias)Form fields, event properties, user profiles
Email addressListed (address information)Personal data when it identifies a personListedURLs after sign-up, UTM tags in emails, form events
Phone numberListedPersonal dataCovered as an identifierForm fields, click-to-call events
Social security, passport or driver’s licence numberListedListed (ID card number)ListedRare; form fields in regulated sectors
Street addressListedListed (home address)Listed (postal address)Checkout events, URLs on delivery pages
IP addressListed (asset information, when it links to a person)ListedListedEvery web request
Cookie idNot listed by nameListedListed (cookies, as a unique identifier)Cookie-based analytics client ids
Mobile advertising idNot listed by nameListedListed (mobile ad identifiers)App analytics and ad SDKs
Device id or MAC addressListed (MAC address)Online identifierListed (device identifier)App analytics, some fingerprinting scripts
Your own user id or customer numberLinkable informationPersonal data (pseudonymous)Listed (customer number)Identify calls after login
Precise geolocationLinkable informationPersonal dataListed (geolocation data)GPS or fine-grained location in apps
Browsing historyLinkable informationPersonal data when linked to a personListed (internet activity)Page view streams tied to an id
Inferences and profilesNot listed by namePersonal dataListedAudience segments, interest categories
Photo, fingerprint, voiceListed (biometrics)Personal data; special category when used to identifyListed (biometric information)Uploads and session recordings that capture them
Company registration numberNot listedNot personal dataNot listedB2B form fields
Truly anonymous or aggregate statisticsNot PII once de-identifiedNot personal dataExcluded (deidentified and aggregate)Dashboard totals

The European column comes from the Commission’s examples of personal data, which name a home address, an IP address, a cookie id and the advertising identifier of a phone, and list a company registration number and irreversibly anonymised data as examples of data that is not personal. The UK ICO’s guide says online identifiers include IP addresses and cookie identifiers which may be personal data, that information about companies is not, and that truly anonymous information is outside the UK GDPR. The NIST column is from section 2.2 of SP 800-122, and the California column from the statute’s lists of personal information and of unique identifiers, which include cookies, beacons, pixel tags and IP addresses. The California Attorney General’s CCPA overview gives a plain-language version.

Is an IP address PII?

In Europe, generally yes for a website operator. In the 2016 Breyer judgment, the Court of Justice of the EU held that a dynamic IP address can be personal data for a website operator that has legal means to identify the visitor with additional data held by the internet provider. The Commission’s examples now list IP addresses without qualification. NIST lists IP and MAC addresses as PII where they consistently link to a person or a small group, and the CCPA names IP addresses in both its identifier lists.

This is why the IP address matters more than any other row in the table for analytics: every request carries one. A tool can avoid storing it, or truncate it before storage, but cannot avoid receiving it. Whether collecting it at all needs consent is a separate question, covered country by country in analytics and consent in Europe.

Is hashed or pseudonymised data still PII?

Usually, for the party that can reverse or link it. The ICO says pseudonymised data can reduce risk but is still personal data. A hashed email address is the standard example: anyone holding the same email can compute the same hash and match it, which is exactly why ad platforms ask for hashed emails.

The Court of Justice added a nuance in September 2025 in EDPS v SRB (case C-413/23 P): pseudonymised data may not be personal data for a recipient that has no realistic means to re-identify the people behind it, while it remains personal data for the party that holds the key. Commentators disagree on how far that goes, and it does not turn a hashed email into anonymous data for the company that hashed it.

Anonymous data is different in kind: aggregate counts such as “412 visitors from Portugal yesterday” that cannot be traced back to anyone. The Commission and the CCPA both place such data outside their definitions, provided the anonymisation cannot be reversed.

Where does PII leak into analytics?

Most analytics PII is not collected on purpose. Google’s own policy page on PII in Analytics forbids sending it and lists where it usually comes from. The same places apply to every tool:

  • Page URLs and query strings. Sign-up, password reset and checkout flows often put an email or a name in the URL, and every page view records the URL.
  • Page titles. “Welcome back, Ana” in the title is sent with every view of that page.
  • Campaign parameters. Email tools can add a subscriber’s address to UTM parameters or a custom query parameter for tracking clicks.
  • Site search terms. People type names, emails and order numbers into search boxes.
  • Form and event properties. A custom event that sends a field value instead of a field name.
  • User ids. An internal id is pseudonymous, but your database links it straight back to a person.
  • Precise location. Google defines fine-grained location as any area smaller than one square mile and warns that a UK postcode can map to a single residence.

A shop sends order confirmation emails with a link back to the site. The link looks like this:

https://shop.example/orders/1042?email=ana%40example.com&utm_source=newsletter&utm_medium=email

When Ana clicks it, the page view records the full URL. Her email address is now in the analytics database, tied to order 1042, the time of the visit and, in a cookie-based tool, a client id that links all her other visits. Across 3,000 confirmation emails a month with a 20% click rate, that is about 600 email addresses a month in a system that was never meant to hold them, and they stay for as long as the tool’s data retention period. The 20% is an assumption for the example; use your own click rate.

The fix happens before the data is sent, because removing it afterwards is much harder:

  1. Stop putting personal data in URLs. Use an opaque token that your server resolves, or keep the data in the request body.
  2. Strip query parameters you do not need before the page view is recorded, or configure the tool to drop them. Keep an allowlist (UTM tags, pagination) rather than a blocklist.
  3. Check page titles on account, order and profile pages.
  4. Review custom events: send form_submitted with the form’s name, not the values typed into it.
  5. Search the data you already hold for an @ in URLs and event properties. If you find any, delete it using the tool’s deletion features and fix the source.

Which PII is especially sensitive?

The GDPR’s Article 9 sets apart special categories: health, racial or ethnic origin, political opinions, religious beliefs, trade union membership, genetic and biometric data used to identify someone, and sex life or sexual orientation. Processing them needs an extra legal condition. The CCPA has a similar list of sensitive personal information. Analytics can touch these by accident: a page path such as /clinic/hiv-testing/booking-confirmed tied to a visitor id says something about that person’s health. Health, faith and political sites should look at their URL structure with that in mind.

What CrispStats stores, and what it does not

CrispStats is built to keep the IP address and the user agent out of storage. Both are read at the edge to compute a daily rotating visitor hash and a device type, then discarded. No cookie id exists, because the script sets no cookies, and the hash cannot be linked across days or sites. In revenue attribution, the customer’s email is never stored. That removes the rows of the table that every request would otherwise add.

The URL leak in the worked example is handled in the browser: the script cuts the query string before anything leaves the page, keeping only UTM parameters, a few referral parameters such as ref, ad click ids with their value replaced by 1, and any parameters you choose to keep. Ana’s link would be sent as /orders/1042?utm_source=newsletter&utm_medium=email.

It does not remove the rows you send yourself. Anything in the URL path is stored as it is, so an email or a name in the path needs the page excluded or the URL changed. Custom event properties are stored as your code sends them. If you call identify with your own user id after login, that id and any traits are kept with the visitor’s events and link back to a person in your database, so they are personal data in your hands. The data collected page lists every field, and the privacy policy covers storage and retention.

Guide questions. Straight answers.

What people ask after reading this.

  • Direct identifiers such as a full name, email address, phone number, social security or passport number and home address, and indirect identifiers such as an IP address, a cookie id, a mobile advertising id, a device id, precise location and a customer number. NIST, the GDPR and the CCPA all treat indirect identifiers as PII or personal data when they can be linked to a person.

  • Yes. NIST lists email addresses under address information, the CCPA names them as identifiers, and under the GDPR an email that relates to a person is personal data. A generic company inbox such as an info address is the exception the European Commission gives.

  • Under the GDPR, generally yes: the European Commission lists a cookie id as an example of personal data, and the ICO says cookie identifiers may be personal data. The CCPA lists cookies among unique identifiers. NIST does not name cookie ids, but treats linkable information as PII.

  • No. PII is mainly a US term with lists of data types, while personal data under the GDPR covers any information relating to an identifiable person. Personal data is the wider concept: an IP address, a cookie id or a browsing history can be personal data even when no name is attached.

  • Not if it is truly anonymous. Totals such as visitors per country or page views per page, which cannot be traced back to a person, fall outside the GDPR's personal data and are excluded from the CCPA's definition as aggregate information. Small groups can be an exception, for example a count of one on a rare page.

Not answered here? Write to hello@crispstats.com

Go further

Free tools

  • UTM builder

    Build UTM-tagged links one at a time or in bulk from pasted rows, with presets, checks for capitals and spaces, CSV export and a channel preview.

  • Analytics cost calculator

    Pick a monthly volume and compare list prices of privacy-friendly analytics tools at that exact volume.

  • Traffic source classifier

    Paste a referrer or a tagged link and see the channel and source a visit is filed under, with the rule that decided it.

Use cases

  • CrispStats for SaaS

    See which channels bring paying customers, where trials stall in the funnel, and how your app performs for real users, from one cookieless script.

  • CrispStats for ecommerce

    Tie orders to the campaign, page and source they came from, find where checkout loses people, and watch page speed, without cookies.

  • CrispStats for agencies

    Run every client site from one account, share read-only dashboards by link, and send weekly reports, with no cookie banner to explain.

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.