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

What is data minimization? Meaning, GDPR rules and examples

Data minimization means collecting and keeping only the personal data you actually need for a stated purpose. What GDPR and other laws require, the minimised form of common analytics fields, and a worked tracking-plan review.

Ethan Brooks Reviewed by Lucas Hayes Also called data minimisation Last updated Nov 7, 2026 Glossary

Quick answer

Data minimization is the privacy principle that you should collect, use and keep only the personal data that is adequate, relevant and necessary for a specific purpose, in the least identifying form and for no longer than needed.

What is data minimization?

Data minimization is the principle that an organisation should collect, use and keep only the personal data it actually needs for a stated purpose, in the least identifying form, and for no longer than necessary. It is one of the core principles of the GDPR and appears, in similar words, in most modern privacy laws.

It is easy to agree with and hard to practise, because "we might need it later" is the default instinct in analytics. Data minimization asks you to name the purpose first and justify each field against it.

What the law says

LawText in shortWhat it means in practice
GDPR Art. 5(1)(c)Personal data shall be adequate, relevant and limited to what is necessary for the purposesEvery field needs a purpose; "just in case" is not one
GDPR Art. 25(2)By default, only data necessary for each specific purpose is processed, including amount, extent of processing, storage period and accessibilityMinimal settings must be the default, not an option users switch on
California CPRA §1798.100(c)Collection, use and retention must be reasonably necessary and proportionateSame idea, US wording
China PIPL Art. 6Processing must be limited to the minimum scope needed for the purpose; excessive collection is prohibitedThe "minimum necessary" principle

Minimization also works alongside purpose limitation (do not reuse data for unrelated purposes) and storage limitation (delete it when the purpose is met).

Four questions for every field

  1. Do we need it at all? What decision or feature depends on it?
  2. Do we need it about a person, or would an aggregate do? Daily totals by country answer most traffic questions.
  3. What is the least identifying form that still works? City instead of coordinates, age band instead of birth date.
  4. How long do we need it? Raw rows for 90 days, aggregates for years is a common pattern.

Minimised forms of common analytics data

FieldFull formMinimised form
IP address203.0.113.42Truncated (203.0.0.0) or used for country lookup then discarded
LocationLatitude / longitudeCountry or city
User identifierEmail addressInternal user ID, or no ID for anonymous analytics
Page URLFull URL with query stringPath plus allow-listed parameters (UTM, campaign)
Birth date1991-04-17Age band (30–39)
Clicked elementVisible text ("Hi, Jane")Element selector or a named event
Form inputWhat the user typedWhether the field was completed
Session replayEvery input fieldInputs masked, sampled share of sessions

A worked example: reviewing a tracking plan

Sample data: a SaaS company reviews its tracking plan of 24 event and user properties against its stated purposes (product analytics and billing reports).

OutcomePropertiesExamples
Kept as is15plan, feature_name, button_id, step, error_code
Transformed5ip → country; email → user_id; birth_date → age_band; full_url → path; company_name → account_id
Dropped4phone, street_address, free-text "notes", device serial number
Total24

Before the review, three direct identifiers were stored in raw form (email, phone, street address). After it, none are. The product team lost nothing it actually used; billing reports join on account_id in the billing system, where the company name already lives. Nine of 24 properties changed (37.5%), which is typical for a first review.

Why it is worth doing

  • Smaller breach impact. Data you never stored cannot leak.
  • Simpler consent. Analytics that does not identify people may not need the same consent as identified tracking in some jurisdictions; check with counsel for yours.
  • Fewer requests to handle. Data subject requests are easier when there is less personal data to search.
  • Cleaner, cheaper data. Fewer high-cardinality fields mean smaller tables and faster queries.

Common myths

  • "We might need it later." A possible future use is not a purpose. If it becomes one, start collecting then.
  • "It's hashed, so it's fine." Hashing an email is pseudonymization; the result is still personal data. See PII.
  • "Minimization means worse analytics." Behaviour does not need identity. Funnels, retention by cohort and channel performance all work on pseudonymous IDs.

Data minimization in TapCub

  • Collect tiers. In Configuration › Privacy center, tier 1 is anonymous aggregates with a daily-rotating salt, tier 2 (the default) is a cookie-free pseudonym, and tier 3 allows a device ID and login only when the project is in identified mode. See collection tiers.
  • IP addresses are not stored on events. The address is truncated, used for geography and the visitor hash, then discarded; geography can be city, country or none.
  • Stripping on by default. Strings that look like emails or phone numbers are replaced with a placeholder, and autocapture does not record element text by default.
  • Retention you choose. Project retention can be 30, 90, 365 or 730 days, set in Configuration › Settings › Privacy, and a scheduled job deletes expired rows. See data retention policy.
  • Validation rules can drop a property at intake, so a field that should never arrive is removed before storage.

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 an example of data minimization?

Storing a visitor's country or city instead of their full IP address and coordinates, or using an internal user ID instead of an email address in analytics events.

Is data minimization required by GDPR?

Yes. Article 5(1)(c) says personal data must be adequate, relevant and limited to what is necessary for the purposes for which it is processed. Article 25 requires it by default.

How is data minimization different from anonymization?

Minimization reduces how much personal data you hold. Anonymization removes the link to a person entirely. Minimized data can still be personal data; anonymous data is not.

Does data minimization mean collecting less analytics data?

It means collecting less personal data. You can keep rich behavioural data such as page views, events and conversions while dropping or coarsening the fields that identify people.

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