GDPR Website Requirements

A practical guide to what every website needs for EU data protection compliance.

Quick Summary

  • The GDPR applies to any website that collects data from EU residents.
  • Key requirements: privacy policy, cookie consent, data processing records.
  • Non-essential trackers must be blocked until the user explicitly opts in.
  • Fines can reach €20 million or 4% of global annual revenue.

Introduction

The General Data Protection Regulation (GDPR) is often seen as something that only matters to large European corporations. In reality, it applies to any website in the world that is accessible to EU residents and collects any form of personal data, including IP addresses captured by basic analytics scripts.

For website owners, the GDPR creates specific requirements around how you collect, process, and store user data. This includes technical measures like security headers, functional requirements like cookie consent banners, and organizational practices like maintaining data processing records.

This guide provides a practical, actionable checklist of what every website needs to comply with the GDPR. Whether you are a solo founder, a developer preparing for a compliance audit, or a product manager managing vendor integrations, this covers the essentials. For exact legal texts, see the official European GDPR documentation.

What Is the GDPR?

The Modern Data Privacy Baseline

The General Data Protection Regulation (GDPR) is the EU's data protection law, effective since May 2018. It regulates how organizations collect, process, store, and share personal data of EU residents. It replaced the older Data Protection Directive and significantly increased both the scope and the penalties.

For website owners, it imposes specific technical and organizational requirements that affect how your site handles cookies, trackers, forms, analytics, and user data. The key principle is “privacy by default”, personal data processing must not happen unless you have a valid legal basis.

The GDPR works alongside the ePrivacy Directive (the “Cookie Law”), which specifically regulates the use of cookies and similar technologies for storing data on user devices.

Why It Matters

Global Enforceability and Trust

  • Global reach: The GDPR applies based on where the user is located, not where your company is headquartered. A US-based website with EU visitors is subject to the GDPR.
  • Massive fines: Penalties can reach €20 million or 4% of global annual turnover, whichever is higher. Even small businesses have been fined thousands of euros.
  • Active enforcement: EU Data Protection Authorities are actively scanning websites and issuing fines. Automated tools make it easy for regulators to detect violations at scale.
  • Customer trust: GDPR compliance is increasingly expected by enterprise customers, with many requiring proof of compliance before signing vendor contracts.
  • Legal precedent: Court rulings continue to expand the practical scope of the GDPR, from the Google Fonts ruling to decisions about Google Analytics and data transfers.

Website Compliance Checklist

Key Compliance Pillars

GDPR Website Compliance Checklist FlowYour WebsitePrivacy PolicyCookie ConsentSecurity HeadersData Rights (DSAR)DPA ContractsBreach Protocol✓ GDPR Compliant Website
RequirementWhat It MeansPriority
Privacy PolicyPublicly accessible page explaining what data you collect and whyCritical
Cookie Consent BannerMust block non-essential scripts until explicit opt-inCritical
Data Processing RecordsDocument what data you process, and your legal basisHigh
Data Subject Access RequestsMechanism for users to request, export, or delete their dataHigh
Data Processing AgreementsContracts with third-party processors (analytics, hosting)High
Security HeadersTechnical measures to protect data in transitMedium
Data Breach Notification72-hour notification obligation to supervisory authorityMedium
Legitimate Interest AssessmentDocumented assessment if relying on legitimate interest basisMedium
Use the Privacy Policy Generator to create a GDPR-compliant policy for your website, and the Cookie Scanner to audit your cookies.

Check if your website is GDPR compliant.

Run Free GDPR Check

Real-World Enforcement

Financial Repercussions

GDPR enforcement has resulted in some of the largest regulatory fines in history:

OrganizationFine AmountViolation
Meta (Facebook)€1.2 billionIllegal data transfers to the US
Amazon€746 millionNon-compliant ad targeting
Google (France)€150 millionNon-compliant cookie consent
H&M€35 millionExcessive employee surveillance
Clearview AI€20 millionBiometric data collection without consent
Criteo€40 millionCross-site tracking without valid consent

Small Businesses Too

GDPR fines are not limited to large corporations. Small businesses, individual professionals, and startups have been fined thousands of euros for missing consent banners, absent privacy policies, and uncontrolled PII exposure.

How to Check Your Compliance

  1. Run a GDPR scan: Use the GDPR Quick Check for an instant compliance assessment covering consent banners, privacy policies, and tracker behavior.
  2. Scan your cookies: Use the Cookie Scanner to identify every cookie your site sets and verify they are properly classified and gated behind consent.
  3. Check your trackers: Run the Tracker Detector to identify all tracking scripts running on your pages.
  4. Review security headers: Check security headers with the Security Headers Checker to verify you have appropriate technical measures in place.
  5. Audit PII exposure: Use the PII Leak Checker to verify your site is not accidentally leaking personal data to third parties.

How to Fix Non-Compliance

Immediate Action Steps

  1. Publish a privacy policy: Use the Privacy Policy Generator if you do not have one. It must describe what data you collect, why, and who you share it with.
  2. Implement a compliant consent banner: Your cookie consent banner must actually block non-essential scripts until the user opts in. Accept and reject buttons must have equal visual weight.
  3. Classify your cookies: Audit every cookie and classify each as “strictly essential” or “non-essential.” Only essential cookies are exempt from consent.
  4. Sign Data Processing Agreements: Ensure you have DPAs with every third-party service that processes user data on your behalf (analytics, hosting, email).
  5. Create a DSAR process: Document how users can request access to, correction of, or deletion of their personal data. You must respond within 30 days.
  6. Deploy security headers: Implement HSTS, CSP, and Referrer-Policy as baseline technical security measures.

Best Practices

  1. Practice “privacy by default”, collect only the data you actually need, and delete it when you no longer need it.
  2. Document everything, maintain records of processing activities (Article 30), including what data you collect, why, and who processes it.
  3. Conduct regular audits, GDPR compliance is not a one-time project. Run compliance scans quarterly and after every major deployment.
  4. Train your team, marketing teams adding GTM tags and developers building user-facing pages both need to understand GDPR basics.
  5. Plan for data breaches, have a documented incident response process that includes the 72-hour notification requirement.
  6. Review third-party integrations, every third-party service you use is a potential compliance risk. Audit them regularly.

Common Mistakes

  • Treating cookie banners as compliance checkboxes: A banner that pops up but does not actually block scripts until consent is given is a direct violation. Most enforcement actions target this specific issue.
  • Ignoring US-based tools: Using US-based analytics (Google Analytics) or CDNs without appropriate safeguards creates potential GDPR violations due to EU-US data transfer restrictions.
  • No privacy policy: Surprisingly common. Every website that collects any personal data needs a publicly accessible privacy policy.
  • Pre-ticked consent boxes: All consent checkboxes must default to OFF. Pre-ticked “I agree to marketing” boxes are explicitly illegal under the GDPR.
  • Not handling DSARs: If a user requests their data and you cannot respond within 30 days, or have no process to do so, that is a separate violation.
  • Assuming “we are too small to be fined”: EU regulators have fined individual professionals and micro-businesses. Size does not determine applicability.

Conclusion

GDPR compliance for websites is not as overwhelming as it seems. It starts with three critical items: a privacy policy, a working consent banner, and proper classification of your cookies and trackers. From there, you build out data processing records, sign DPAs with third-party services, and implement technical measures like security headers.

The key is to treat compliance as an ongoing practice, not a one-time project. Regular audits, team training, and automated monitoring will keep you ahead of regulatory scrutiny.

Scan Your Website

Scan your website with SitePrivacyScore to detect GDPR compliance issues automatically. Our free scanner checks consent banners, cookies, trackers, security headers, and privacy policy presence.

Related Guides

Frequently Asked Questions

Does GDPR apply to my website if I'm based in the US?+
Yes, if your website is accessible to EU residents and collects any personal data (including IP addresses via analytics). The GDPR applies based on where the user is, not where you are.
Is Google Analytics GDPR compliant?+
Not by default. EU Data Protection Authorities (DPAs) in Austria, France, and Italy have ruled that standard GA implementations transfer data to the US in violation of GDPR. Consent and additional safeguards are required.
What counts as 'personal data' under GDPR?+
Any data that can identify a person directly or indirectly: names, emails, IP addresses, cookie identifiers, device fingerprints, behavioral profiles, and location data.
How much can GDPR fines reach?+
Up to €20 million or 4% of global annual turnover, whichever is higher. Even small businesses have been fined for missing cookie consent banners.
Do I need a Data Protection Officer (DPO)?+
Only if your core activities involve large-scale monitoring of individuals or processing of special category data. Most standard websites do not need a DPO.
Is a privacy policy enough to be GDPR compliant?+
No. A privacy policy is just one requirement. You also need a working consent mechanism, data processing records, data subject access request procedures, and appropriate technical security measures.
How do I handle data subject access requests (DSARs)?+
You must respond within 30 days, providing all personal data you hold about the individual in a machine-readable format. Have a documented process before you receive your first request.

Full GDPR Compliance Audit

Get a comprehensive report covering every GDPR requirement, trackers, consent, policies, headers, and data exposure.

For deeper runtime checks, run the full privacy audit →