GDPR Module

GDPR Compliance for Websites: The Complete Guide

What the regulation actually requires from a website, in plain terms.

Quick answer

GDPR (the General Data Protection Regulation) requires websites that process personal data of people in the EU to have a lawful basis for that processing, disclose it clearly (typically in a privacy policy), and get informed consent before non-essential tracking — such as analytics or advertising cookies — runs. It applies regardless of where the website's owner is based, including US-based sites, as long as EU residents' data is processed. Non-compliance can result in fines, though enforcement in practice is usually proportionate to a business's size and the severity of the issue.

By GetGDPRScan Editorial · Last updated 2026-07-24

GDPR is a data protection law, not a website design spec — but in practice, most of what a website owner needs to do to comply is concrete and checkable: what runs before consent, what a privacy policy discloses, and how long data is kept.

This guide covers the parts of GDPR that apply specifically to running a website. It doesn't cover every provision of the regulation, and it isn't legal advice — see What Automated Compliance Scanners Can (and Can't) Detect for where a scan's usefulness ends and a lawyer's begins.

Does GDPR apply to my website?

GDPR applies to any organization that processes the personal data of people located in the EU, regardless of where that organization is based. A US-based blog with EU visitors, a Slovenian e-commerce store, and a German B2B SaaS product are all in scope if they process EU residents' personal data — which includes something as simple as an IP address captured by an analytics tool.

Size doesn't exempt a website either. A small business or side project that uses Google Analytics or a contact form is processing personal data, and GDPR applies the same core requirements regardless of company size — though enforcement priorities and realistic risk exposure differ significantly between a five-person startup and a large enterprise.

What does GDPR actually require from a website?

Three things come up in almost every website compliance review: a lawful basis for processing personal data, informed consent before non-essential tracking, and a privacy policy that discloses what's actually happening.

  • Lawful basis — a legal justification (most commonly consent, or "legitimate interest" for certain limited cases) for collecting and using personal data
  • Consent before non-essential tracking — analytics, advertising, and similar cookies/scripts should not fire before a visitor has actively agreed to them
  • A privacy policy — disclosing what data is collected, why, how long it's kept, and who it's shared with (GDPR Art. 13/14)
  • Data subject rights — mechanisms for people to request access to, correction of, or deletion of their data
  • Data retention limits — not keeping personal data indefinitely without a justified reason

What's the difference between a data controller and a data processor?

A controller decides why and how personal data is processed — typically the website owner. A processor handles data on the controller's behalf, under instruction — typically a third-party vendor like an email service provider or analytics platform. Most website owners are controllers, and most of the SaaS tools they embed (analytics, email marketing, live chat) are processors, which is why a Data Processing Agreement (DPA) with those vendors is usually expected, not optional.

Is Google Analytics GDPR compliant?

Google Analytics itself isn't inherently compliant or non-compliant — implementation is what determines that. The most common violation is Google Analytics (or Google Tag Manager loading it) firing before a visitor has given consent, since analytics is non-essential tracking under GDPR. Google's Consent Mode v2 is one accepted way to gate this correctly.

How GetGDPRScan checks this: GetGDPRScan's GDPR module specifically checks whether Google Analytics fires before consent and whether Consent Mode v2 is implemented — see the dedicated Google Analytics GDPR Checker for a focused scan.

What happens if a website isn't GDPR compliant?

Regulatory fines are the headline consequence, and they can be significant for serious or repeated violations — but for most small and medium businesses, enforcement in practice tends to start with a complaint or audit request rather than an immediate fine, and penalties are generally proportionate to the severity of the issue and the size of the business. The more common practical risk is smaller and more immediate: a visitor complaint to a data protection authority, reputational damage, or — increasingly — losing customers or partners who require compliance evidence during procurement.

How can I check if my website is GDPR compliant?

The technical parts — tracking-before-consent, cookie banner presence, privacy policy completeness — are exactly what an automated scan is well suited to check continuously. The parts a scan can't check — whether your legal basis is documented correctly, whether DPAs are signed with your vendors — need a human, ideally a professional, to review.

Key takeaways

  • GDPR applies based on whose data is processed (EU residents), not where the business is based.
  • The most common website-specific violation is tracking scripts firing before consent.
  • A privacy policy, a working cookie banner, and DPAs with vendors cover most of what's checkable for a typical website.
  • Fines exist but enforcement in practice is usually proportionate — the more immediate risk is complaints, reputational damage, and lost deals.

FAQ