Collect user data without breaking the law: the 16-item GDPR checklist
The short version
If anyone in the EU or UK can use your app, GDPR applies to the personal data you collect from them. It comes down to: ask before you track, take only what you need, tell people plainly what you do with it, let them see and delete it, control the vendors that touch it, and report leaks fast.
Most apps miss the first item: analytics, ad pixels and session replay fire before the user has said yes.
| What | Detail |
|---|---|
| Applies to | anyone collecting personal data from people in the EU/UK |
| Fines | up to EUR 20 million or 4% of global yearly turnover, whichever is higher (Art. 83) |
| Breach deadline | 72 hours to tell the regulator (Art. 33) |
| Deletion deadline | one month to answer a request (Art. 12(3)) |
General information, not legal advice. Have a qualified lawyer review your app.
The checklist (the 16 items in the reel)
| # | Fix | Why / where it comes from |
|---|---|---|
| 1 | Block every tracker until the user says yes | Non-essential cookies and trackers need prior consent (ePrivacy Art. 5(3)); consent must be informed and active (GDPR Art. 4(11), 7) |
| 2 | Make rejecting as easy as accepting | A "Reject all" as visible as "Accept all"; withdrawing must be as easy as giving consent (Art. 7(3)). French regulator CNIL fined Google and Facebook in 2022 over exactly this |
| 3 | Never pre-tick a box | Pre-ticked boxes are not valid consent (CJEU Planet49, C-673/17, 2019) |
| 4 | Write a privacy policy | Say what you collect, why, how long, who gets it, how to use their rights, in plain language (Art. 12-14) |
| 5 | Collect only what you need | Data minimisation (Art. 5(1)(c)). If you can't say why a field exists, delete the field |
| 6 | Keep marketing consent separate | Consent must be specific and distinguishable from other terms (Art. 7(2), recital 43). No bundling it into "I accept the terms" |
| 7 | Record who agreed and when | You must be able to show consent (Art. 7(1)): user, timestamp, which version of the text |
| 8 | Get a parent's OK before collecting kids' data | For online services relying on consent, the default age is 16, and each EU country may lower it to as low as 13 (Art. 8) |
| 9 | Let users download their data | Right of access and portability (Art. 15, 20): a readable export |
| 10 | Delete it all when they ask | Right to erasure (Art. 17). Answer within one month (Art. 12(3)). Some data can stay if the law requires it, e.g. invoices |
| 11 | Auto-delete old data | Storage limitation (Art. 5(1)(e)): set a retention period per data type and run the deletion |
| 12 | List your subprocessors | Every vendor that handles user data for you (analytics, email, hosting, payments). You must know them and have your customers' OK where they are your controllers (Art. 28(2)); publishing the list is the standard way to show it |
| 13 | Sign data processing agreements with every vendor | A written contract with each processor is required (Art. 28(3)). Most big vendors offer one to accept online |
| 14 | Use approved terms when data leaves the EU | Transfers need an adequacy decision or Standard Contractual Clauses (Chapter V, Art. 44-46) |
| 15 | Encrypt it | Art. 32 names encryption as an example of an appropriate security measure: in transit (HTTPS) and at rest |
| 16 | Report breaches within 72 hours | Tell your regulator within 72 hours of becoming aware, where feasible (Art. 33); tell users if the risk is high (Art. 34) |
Copy these prompts
Audit your app against the 16 items
Claude, I want to collect user data without breaking the law. Audit this codebase against the 16-item GDPR checklist below. For each item, say PASS, FAIL or NOT APPLICABLE, point to the file and line, and propose the smallest fix. Do not change anything until I approve. Items: block trackers until consent; reject as easy as accept; no pre-ticked boxes; privacy policy; data minimisation; separate marketing consent; consent records; parental consent for kids; data export; deletion on request; retention limits; subprocessor list; data processing agreements; transfer terms outside the EU; encryption; breach reporting within 72 hours. Flag anything you are unsure about instead of guessing.
Fix the cookie banner first
Claude, find every analytics, ad and session-replay script in this app. Make sure none of them load or set cookies until the user clicks Accept, give "Reject all" the same size, colour and position weight as "Accept all", and store the choice with a timestamp and the banner version. Show me the diff before applying it.
If you are building…
- Start with 1 and 2: it is the most common failure and the one regulators actually fine.
- Put a "Download my data" and a "Delete my account" button in settings before launch.
- Keep a spreadsheet: vendor, what data, where it is stored, agreement signed (yes/no).
Run this on your codebase
Paste the audit prompt above into Claude Code at the root of your repo. It returns a PASS / FAIL / NOT APPLICABLE table with file and line for each of the 16 items; fix the FAILs one at a time.
Limits
This covers the common technical fixes. It does not replace advice on your lawful basis, a data protection officer, impact assessments, or rules outside the EU/UK (for example California's CCPA). Have a lawyer review your app.