The General Data Protection Regulation (GDPR) is the European Union's main data protection law, officially Regulation (EU) 2016/679. It sets the rules for collecting and using personal data about people in the EU, and it has applied since 25 May 2018.
Personal data is any information about a living person who can be identified, directly or by combining pieces of information. On a website that covers a lot more than names: email addresses, IP addresses, cookie IDs and advertising identifiers all count. Data you've pseudonymised still counts if it can be linked back to a person. Only data that's truly and irreversibly anonymised falls outside the law.
The GDPR uses two roles you'll meet in every contract. The controller decides why and how personal data is used: usually you, the site owner. A processor handles the data on your behalf: your analytics tool, email platform or hosting company.
What follows is the law in plain terms, not legal advice; for a specific case, ask a lawyer or your data protection authority.
Does the GDPR apply to you?
It applies if either of these is true:
- You're established in the EU and process personal data as part of your activities, wherever the data is processed.
- You're outside the EU but offer goods or services to people in the EU, paid or free, or monitor their behavior there.
So a US shop that ships to Germany, or a site that tracks EU visitors with analytics and ad cookies, is covered. A business outside the EU that doesn't target people in the EU isn't covered just because an EU resident happens to visit while traveling. The law also doesn't apply to purely personal or household use. European Commission
The UK has its own version, the UK GDPR, with guidance from the Information Commissioner's Office (ICO).
What the law asks of you
Follow the seven principles
Every use of personal data must respect seven principles: lawfulness, fairness and transparency; purpose limitation; data minimisation; accuracy; storage limitation; integrity and confidentiality; and accountability. In practice: collect only what you need for a stated purpose, keep it accurate and secure, delete it when you no longer need it, and be able to show how you comply.
Have a legal ground for each use
You may only process personal data on one of six grounds:
- the person's consent
- a contract with the person, or steps they asked for before one
- a legal obligation
- a task in the public interest
- protecting someone's vital interests
- your legitimate interests, but only after checking that the person's rights don't outweigh them
Marketers mostly rely on consent or legitimate interests. When you rely on consent, it must be freely given, informed, specific to a purpose and given by a clear action, such as ticking an unticked box. People must be able to withdraw it as easily as they gave it. European Commission
Respect people's rights
People can ask you to tell them what you hold about them, correct it, delete it, restrict or object to its use, and hand it over in a portable format. They also have rights around decisions made purely by automated processing.
You must answer a request within one month. You can extend that by two more months for complex requests, as long as you tell the person within the first month. If someone objects to direct marketing, you must stop, and they don't have to give a reason. EDPB
Where the GDPR touches SEO and marketing work
Most of a marketer's GDPR work happens in a few places:
- Analytics. Tools such as Google Analytics process IP addresses and cookie IDs, which are personal data. Configure them to collect only what you need and list them in your privacy notice. Some site owners choose a self-hosted tool like Matomo to keep data in-house.
- Cookies and tracking. Cookie consent comes from a second EU law, the ePrivacy Directive. Its Article 5(3) allows storing or reading information on a visitor's device only with consent, unless it's strictly necessary for a service the visitor asked for. This covers cookies and similar technologies such as pixels and fingerprinting. That's why non-essential analytics and ad cookies need a consent banner in the EU.
- Google products. Google's EU user consent policy requires sites that use its products to get valid consent from users in the EEA, the UK and Switzerland for cookies where the law requires it and for personalized ads. You must keep records of consent and explain how to withdraw it. Google Consent mode is how Google tags receive those choices.
- Email lists and forms. Know which legal ground each list relies on, collect only the fields you need, and honour unsubscribes and deletion requests promptly.
- Vendors. Every tool that handles your visitors' data on your behalf is a processor and needs a contract that sets out how it may use the data. When data leaves the EU, you also need a transfer safeguard: either the Commission has decided that the destination country protects data adequately (an "adequacy decision"), or your contract with the vendor uses the Commission's standard contractual clauses.
- Data breaches. If personal data leaks, you must notify your data protection authority within 72 hours of becoming aware of it, unless the breach is unlikely to put people at risk. EDPB
What happens if you don't comply
National data protection authorities enforce the GDPR. Their tools range from warnings and orders to fines. The highest fines can reach €20 million or 4% of a company's global annual turnover. EDPB People can also complain to their national authority.
Changes under discussion
In November 2025 the European Commission proposed a "Digital Omnibus" package that would amend both the GDPR and the ePrivacy Directive, including the cookie rules. As of October 2026, it's still in the European Parliament's committee stage, so the current rules apply. Check your data protection authority's guidance before you change how you handle consent.
For the bigger shift in how browsers treat tracking, see third-party cookie deprecation.