A practical technical guide to GDPR compliance for SaaS products — what the regulation actually requires engineers to build, lawful basis for processing, data subject rights implementation, consent management, and the architecture decisions that make compliance sustainable.
GDPR compliance is not a legal checkbox. It is an engineering problem. The regulation defines rights for individuals; your code either honours those rights or it doesn't. This guide covers what GDPR actually requires engineers to build, in plain terms — without the legal language that obscures the technical requirements.
This guide is for technical founders, engineering leads, and product teams building SaaS products with European users.
GDPR (General Data Protection Regulation) is a European Union regulation governing the processing of personal data. Its core principles:
These principles have specific technical implementations.
Before collecting or processing any personal data, you must have a lawful basis. There are six; for SaaS, the relevant ones are:
| Basis | When it applies | Technical implication |
|---|---|---|
| Contract | Processing necessary to perform a contract with the user | Core product functionality — logging in, storing their data to provide the service |
| Legitimate interests | Your business interest outweighs the user's privacy interest | Analytics, fraud prevention, security — must be assessed and documented |
| Consent | User has freely given, specific, informed, unambiguous consent | Marketing emails, tracking cookies, non-essential analytics |
| Legal obligation | Processing required by law | Tax records, legal hold situations |
The most common mistake: Treating "legitimate interests" as a catch-all that covers everything you want to do. It isn't. Legitimate interests requires a documented balancing test. If in doubt, use consent.
GDPR consent requirements are strict:
Engineering implication: You need a consent management system that records when consent was given, what the user consented to, and allows withdrawal.
GDPR gives individuals eight rights. For SaaS products, these translate into specific engineering requirements:
Users can request a copy of all personal data you hold about them.
What to build:
Users can request correction of inaccurate data.
What to build:
Users can request deletion of their personal data.
What to build:
The hard parts:
Users can request their data in a machine-readable format to transfer to another service.
What to build:
Users can object to processing based on legitimate interests or for direct marketing.
What to build:
Users can request that processing be limited (data retained but not used) in certain circumstances.
What to build:
This is where most SaaS products have visible compliance failures.
Option 1: Cookie consent banner A proper consent banner (not a notice — it must collect consent):
Option 2: Privacy-preserving analytics Tools like Plausible, Fathom, or Umami collect aggregate analytics without cookies and without personal data — they don't require consent. Simpler and cleaner for most SaaS products.
If you use any third-party service that processes personal data on your behalf, you must have a Data Processing Agreement (DPA) in place.
Common sub-processors most SaaS products use:
| Service | Data processed | DPA available? |
|---|---|---|
| AWS / GCP / Azure | Everything stored in the cloud | Yes — sign in account settings |
| SendGrid / Mailgun | Email addresses, content | Yes |
| Intercom / Zendesk | User data, support conversations | Yes |
| Stripe | Payment data, user identity | Yes |
| Mixpanel / Amplitude | Usage events, user identifiers | Yes |
| Sentry | Error data, may include PII | Yes |
Sign all DPAs before processing EU user data through these services. Keep a sub-processor register.
GDPR's Article 25 requires "data protection by design and by default." In engineering terms:
GDPR requires notification of data breaches to:
What to build:
72 hours is tight. The process must be pre-designed, not improvised.
GDPR Article 30 requires most organisations to maintain a record of processing activities — a document that describes:
This is primarily a documentation task, not an engineering one — but it requires understanding of what the engineering does. Build it from your actual data flows, not from a template.
Before launching to EU users:
Data collection:
Data subject rights:
Sub-processors:
Security:
Documentation:
Building a SaaS product for European users and need help getting the technical implementation of GDPR right from the start? Contact us — we've built GDPR-compliant systems across SaaS, fintech, and B2B products, and can help you architect compliance as a product feature, not an afterthought.
If this guide resonated with your situation, let's talk. We offer a free 30-minute discovery call — no pitch, just honest advice on your specific project.
A technical guide for building financial software — PCI-DSS, RBI regulations, UPI and account aggregator integrations, KYC/AML requirements, fraud systems, and the architecture decisions that separate functional fintech from production-ready fintech.
13 min readguideA technical guide to building compliant, reliable healthcare software — covering HIPAA requirements, HL7/FHIR integrations, PHI handling, audit logging, and the specific decisions that make or break healthtech products.
13 min read