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
| Law | Text in short | What it means in practice |
|---|---|---|
| GDPR Art. 5(1)(c) | Personal data shall be adequate, relevant and limited to what is necessary for the purposes | Every 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 accessibility | Minimal 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 proportionate | Same idea, US wording |
| China PIPL Art. 6 | Processing must be limited to the minimum scope needed for the purpose; excessive collection is prohibited | The "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
- Do we need it at all? What decision or feature depends on it?
- Do we need it about a person, or would an aggregate do? Daily totals by country answer most traffic questions.
- What is the least identifying form that still works? City instead of coordinates, age band instead of birth date.
- How long do we need it? Raw rows for 90 days, aggregates for years is a common pattern.
Minimised forms of common analytics data
| Field | Full form | Minimised form |
|---|---|---|
| IP address | 203.0.113.42 | Truncated (203.0.0.0) or used for country lookup then discarded |
| Location | Latitude / longitude | Country or city |
| User identifier | Email address | Internal user ID, or no ID for anonymous analytics |
| Page URL | Full URL with query string | Path plus allow-listed parameters (UTM, campaign) |
| Birth date | 1991-04-17 | Age band (30–39) |
| Clicked element | Visible text ("Hi, Jane") | Element selector or a named event |
| Form input | What the user typed | Whether the field was completed |
| Session replay | Every input field | Inputs 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).
| Outcome | Properties | Examples |
|---|---|---|
| Kept as is | 15 | plan, feature_name, button_id, step, error_code |
| Transformed | 5 | ip → country; email → user_id; birth_date → age_band; full_url → path; company_name → account_id |
| Dropped | 4 | phone, street_address, free-text "notes", device serial number |
| Total | 24 |
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
- GDPR Article 5: Principles relating to processing of personal data and Article 25: Data protection by design and by default.
- UK Information Commissioner's Office, Principle (c): Data minimisation.
- European Data Protection Board, Guidelines 4/2019 on Article 25.
Was this explanation clear?
We use your answers to fix and expand this page.
Couldn’t send. Please try again in a minute.
Thanks for the feedback. We’ll use it to improve this page.You’ve already sent feedback on this page. Thanks.

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