On this page
How do you make your website GDPR compliant? Six things: a privacy notice that says what you collect and why, consent before any non-essential cookie or tracker, forms that ask only what you need, a processing agreement with every provider that handles personal data for you, security that fits the risk, and a plan for where data goes outside the EU. A cookie banner alone is one of the six, not the whole job.
This guide is for a business anywhere that runs a website seen by people in the EU or the UK. It goes through each requirement, answers the Google Analytics question here rather than on a separate page, and uses our own site as the worked example: vbsmarketing.eu measures visitors without cookies and without sending anything to a third party. It is the technical side; for advice on your own situation, talk to a lawyer.
The six things a GDPR compliant website needs
| Requirement | What it means on your site | GDPR or ePrivacy source |
|---|---|---|
| Privacy notice | Who you are, what you collect, why, on which legal basis, how long, who receives it, and the visitor's rights | GDPR Article 13 |
| Consent for cookies and trackers | Analytics and marketing tags wait for a yes; reject as easy as accept | ePrivacy Article 5(3), GDPR Article 6 |
| Data minimisation in forms | A name, an email and a message usually do; no date of birth "just in case" | GDPR Article 5 |
| Processing agreements | With your host, form handler, mail service, analytics and CRM | GDPR Article 28 |
| Security | HTTPS, updates, two-factor sign-in, backups, and a plan for a breach | GDPR Articles 32 and 33 |
| Transfers outside the EU | Know where each provider stores data and on what basis it leaves the EU | GDPR Chapter V |
Fines run up to 20 million euro or 4% of worldwide turnover, whichever is higher, but the everyday risk for a small business is a complaint to the data protection authority, a formal order and the time it costs to answer it.
Our own setup: where a visit and a form go
CloudFront serves the static page, fonts and images from our own domain
The visit
- 1Page, source and campaign code
- 2Lambda function in the EU
- 3DynamoDB in Stockholm
No cookie, nothing on the device
The form
- 1Name, email, message
- 2Own function filters bots
- 3Amazon SES to the mailbox
Only what the visitor types in
Google, Meta, ad networks: nothing
No tracker, so no cookie banner. Still a privacy notice, because the form processes personal data.
Example of a GDPR compliant website: ours
The site you are reading is a static export on Amazon S3 behind CloudFront. There is no database on the web server and no plugin to keep up to date. Three flows touch personal data or could:
- The visit. A small function on AWS (Lambda) counts the page, the source and any campaign code, and writes it to a database (DynamoDB) in Stockholm, inside the EU. It sets no cookie and reads nothing from the device, so there is nothing to ask consent for and nothing sent to Google or Meta.
- The contact form. A submitted form goes to our own function on AWS, which filters out bots and sends the message by email through Amazon SES. We ask a name, an email address, optionally a phone number, and the message. The same form service runs the contact forms of eleven client domains.
- The fonts and images. Served from our own domain, so no request leaves for a font service when the page loads.
That is why our privacy statement can be short, and why there is no cookie banner on this site. It is a design choice with a price: we see fewer details than Google Analytics would give us, and we cannot build advertising audiences from our visitors. For most small business sites that trade-off is worth it; for a site that advertises heavily, it may not be.
Is Google Analytics GDPR compliant?
It can be, with conditions. In 2022 the Austrian, French and Italian authorities ruled that specific uses of Google Analytics broke the GDPR, because personal data went to the United States without adequate protection. On 10 July 2023 the European Commission adopted the EU-US Data Privacy Framework, which covers transfers to certified US companies, Google among them. Since then the transfer question is settled for most uses, as long as that framework stands.
What remains is consent. Analytics sets cookies and processes personal data, so in the EU and the UK it needs a yes from the visitor first. Consent Mode does not remove that need: it is the mechanism that tells Google tags whether the visitor said yes, and in its advanced setting it sends cookieless pings when the answer is no. Since 15 June 2026 Google Ads takes its data from Analytics through consent mode only; see the consent mode change. The full setup is in Google Analytics 4 setup.
| Setup | Consent banner needed | What you see | Data to third parties |
|---|---|---|---|
| Google Analytics, consent mode basic | Yes | Only visitors who said yes | Google, for consenting visitors |
| Google Analytics, consent mode advanced | Yes | Consenting visitors, plus modelled estimates | Google, cookieless pings for the rest |
| Server-side tagging | Yes, for the same purposes | More control over what leaves | What your server passes on |
| Cookieless first-party measurement | Not for the measurement itself | Counts, sources and enquiries | None |
Server-side tagging is often sold as a way around the banner. It is not; server side tracking explains why.
GDPR compliant website analytics without cookies
If all you need is how many people visit, where they come from and how many send an enquiry, measurement without cookies does the job and keeps the banner off your site. The condition is that nothing is stored on or read from the visitor's device, and no identifier follows a person across visits. That is what our own setup does, and the Business Centrum site measures the same way. Whether you need a banner at all is set out in do I need a cookie banner.
Forms, email and the providers behind them
Every form on your site sends personal data somewhere: a mailbox, a CRM, a newsletter tool. Each of those providers processes data for you and needs a data processing agreement; most offer one in their terms. Ask only what you need, say in one line next to the form what you do with it, and keep a list of where the data ends up. A form that leaks spam or gets abused is also a security problem; stop contact form spam covers the filters.
GDPR compliant web hosting
GDPR does not require hosting inside the EU, but it does require you to know where data goes and on what basis. Hosting with a European provider, or with a US provider in an EU region, keeps the question simple. Our sites run on AWS in EU regions, with the measurement database in Stockholm. Security matters as much as location: HTTPS with a valid SSL certificate, updates, two factor authentication on every admin account, and a plan for when things go wrong. A breach involving personal data must be reported within 72 hours; what to do when your website is hacked has the hour-by-hour plan.
Your privacy notice, and what is changing
The notice is where the six things come together: who is responsible, what you collect, why and on which basis, how long you keep it, who receives it, where it goes outside the EU, and how visitors exercise their rights. Whether you need one, and what goes in it, is in do I need a privacy policy. EU rules on cookies may ease for some low-risk purposes; the state of that debate is in the Digital Omnibus on cookies and the GDPR. Until it becomes law, today's rules apply.
Your site against the six
- A privacy notice that matches what the site really does, linked in the footer.
- No analytics or marketing tag before consent, and reject as easy as accept.
- Forms that ask only what you need, with one line on what you do with it.
- A processing agreement with every provider that handles visitor data.
- HTTPS, updates, two-factor sign-in and a tested backup.
- A list of where each provider stores data and on what basis it leaves the EU.
Short questions on GDPR and websites
Does GDPR apply to a website outside the EU?
Yes, when it offers goods or services to people in the EU or monitors their behaviour, for example with analytics. A UK site follows the UK GDPR and PECR, which are close to the EU rules.
Is a cookie banner enough for GDPR compliance?
No. It covers consent for cookies and trackers, one of six things. A site without trackers may need no banner at all and still needs a privacy notice.
Are Google Fonts a GDPR problem?
Loading fonts from Google's servers sends the visitor's IP address to Google; in January 2022 a court in Munich ordered a site owner to pay damages for it. Hosting the fonts on your own domain avoids the question.
