TapCub is live — analytics, insights and live chat, free on one platform
Glossary

What is PII? Personally identifiable information, with examples

PII is any information that identifies a person directly or can be linked to them. Direct vs indirect identifiers, sensitive PII, how PII differs from GDPR personal data, and where it leaks into analytics data.

Ethan Brooks Reviewed by Lucas Hayes Also called personally identifiable information Last updated Nov 7, 2026 Glossary

Quick answer

PII (personally identifiable information) is any information that can identify a specific person, either on its own (a name, email address, ID number) or when combined with other data (a ZIP code plus birth date plus gender).

What is PII?

PII (personally identifiable information) is any information that can identify a specific person, either on its own or when combined with other information. A name, an email address or a passport number identifies someone directly. A ZIP code, a birth date and a gender do not, but put the three together and they often point to exactly one person.

The US National Institute of Standards and Technology (NIST) defines PII in two parts: information that can be used to distinguish or trace an individual's identity, and any other information that is linked or linkable to that individual. The second part is what most people miss. Whether a field is PII depends on what else you hold.

Direct vs indirect identifiers

TypeWhat it doesExamples
Direct identifiersIdentify a person on their ownFull name, email address, phone number, government ID, passport number, bank or card number, account username, photo of a face
Indirect (quasi-) identifiersIdentify a person when combinedDate of birth, ZIP or postal code, gender, job title, employer, IP address, device ID, cookie ID, precise location, user agent
Not PII on its ownDescribes behaviour without pointing to a personPage views per day, country-level location, browser family, aggregated conversion rates

Indirect identifiers are not a technicality. In a well-known study, Latanya Sweeney estimated that 87% of the US population could be uniquely identified by ZIP code, gender and date of birth alone. "We removed the names" does not make a dataset anonymous.

Sensitive vs non-sensitive PII

Sensitive PII is information whose exposure could cause real harm: identity theft, financial loss, discrimination or physical danger. Examples are government ID numbers, financial account numbers, health and genetic data, biometric data, precise location history and login credentials. It needs encryption at rest, tight access control and, in many jurisdictions, explicit consent.

Non-sensitive PII is easy to find or low-risk on its own, such as a business email address or a city. It is still PII and still subject to privacy law; the difference is the level of protection.

PII vs personal data vs personal information

Different laws use different terms, and the scope is not the same.

TermWhereScope
PIIUS federal guidance (NIST, OMB), sector lawsIdentifying or linkable information, judged in context
Personal dataEU and UK GDPR, Article 4(1)Any information relating to an identified or identifiable person, explicitly including online identifiers and location data
Personal informationCalifornia CCPA / CPRA §1798.140Information that identifies, relates to or could reasonably be linked with a consumer or household, including IP addresses and browsing history
Personal information (个人信息)China PIPL, Articles 4 and 28Information relating to an identified or identifiable natural person; anonymised data excluded; "sensitive personal information" needs separate consent

In practice, if you work with EU, Californian or Chinese users, treat the broader definitions as the standard. Cookie IDs, device IDs and IP addresses all count.

Where PII leaks into analytics data

Most analytics setups do not intend to collect PII. It arrives by accident:

  • URLs. A sign-up form submitted with GET puts ?email=jane@example.com in the address bar, and every page view stores it.
  • Page titles. Account pages titled "Orders for Jane Smith".
  • Event properties. A developer sends user_email with a signup event "for debugging".
  • Autocapture text. Capturing the visible text of clicked elements picks up names in greeting banners.
  • User IDs. Using an email address as the login ID that you pass to analytics.
  • Free text. Search queries, form fields and chat messages where people type phone numbers and order details.
  • Network data. Full IP addresses and precise geolocation.

A worked example: auditing page URLs

Sample data: export one day of page URLs (1,000 rows) and search the query strings for an @ sign and for runs of 9 or more digits.

PatternRows matchedShareCause
Email in ?email=313.1%Newsletter form submitted with GET
Email in ?ref=60.6%Partner links with the user's email as the referral code
Long digit runs121.2%Order IDs, not PII (checked by hand)
Emails total373.7%

Fixing the form method and the partner links removes the problem at the source. Masking afterwards is a second line of defence, not the fix.

How to protect PII: a practical checklist

  1. Do not collect what you do not need. This is data minimization, and it removes more risk than any later control.
  2. Keep identifiers out of URLs and titles. Use POST for forms; use opaque IDs, not emails, in links.
  3. Pseudonymize identifiers you need. Replace emails with an internal user ID. Remember that hashing an email is pseudonymization, not anonymization.
  4. Truncate network data. Drop the last part of the IP address before storage; store country or city, not coordinates.
  5. Classify every property. Mark each field as a direct identifier, indirect identifier or non-personal, and mask direct identifiers by default.
  6. Limit retention. Delete raw events after a set period; see data retention policy.
  7. Restrict and log access. Not every analyst needs to see raw emails.
  8. Be able to answer requests. Access, deletion and portability requests must be findable by user ID.

How TapCub handles PII

  • IP addresses are not written on events. The collector truncates the address (by default the last two IPv4 octets) before a city lookup, uses it for geography and the visitor hash, then discards it. See IP truncation and retention.
  • Email- and phone-like strings are replaced with a placeholder when stripping is on, which is the default. Autocapture does not record visible element text by default, and email or phone passed at login stay out of the profile by default.
  • Every property has a sensitivity. In All-platform analytics › Data › Property dictionary, each key is a direct identifier, indirect identifier or non-personal. Direct identifiers are masked by default in lists and exports, and member-level masking combines with it by taking the stricter level.
  • Live chat masks numbers before storage if you turn on sensitive data masking: card numbers that pass a checksum and phone numbers keep only the last four digits.
  • Data subject requests (access, erasure, restriction, portability) are handled in Configuration › Privacy center. See handling data subject requests and keeping personal data out of analytics.

Sources

Was this explanation clear?

We use your answers to fix and expand this page.

Ethan Brooks

Solutions Engineer

Covers SDKs, API integrations, and data implementation, with an emphasis on validation, system interoperability, and troubleshooting.

FAQ

Questions people ask

Short answers to the follow-up questions that come up most.

Still have a question?

Chat with the team behind TapCub — we usually reply within a few hours on business days.

What is considered PII?

Anything that identifies a person directly (name, email, phone, government ID, account number) or that can be linked to them with other data (IP address, device ID, precise location, date of birth, ZIP code).

Is an IP address PII?

Under GDPR an IP address is personal data because it can be linked to a person. US definitions usually treat it as indirect PII. That is why many analytics tools truncate it before storing anything.

Is a hashed email still PII?

Usually yes. A hashed email is a stable identifier that can be matched against other lists, so GDPR treats it as pseudonymous personal data, not anonymous data.

What is the difference between PII and sensitive PII?

Sensitive PII is the subset that causes real harm if exposed, such as government ID numbers, financial account numbers, health and biometric data. It needs stricter handling than a work email.

Is PII the same as personal data?

Not exactly. PII is a US term with narrower, context-based definitions. GDPR personal data covers anything relating to an identifiable person, including online identifiers, so it is broader.

See this number on your own site

Add one script tag for web and apps, and the first reports fill in within minutes.

See your data clearly. Find your growth.

Every click, backed by data. Install one line of code and see your first numbers in a minute.

No credit card · Free plans for analytics and chat · Cookieless analytics