Consent & cookies

Can you track before consent if you anonymise it?

It is a tempting loophole: if you strip out anything identifying, surely you can measure people before they consent? Sometimes, within limits, but the line is finer than most assume, and getting it wrong is still a breach.

Where the line actually is

The law on cookies (PECR) is about accessing or storing information on a device, not only about personal data. So setting most cookies still needs consent even if the data is anonymous. What you can do without consent is genuinely anonymous, cookieless measurement that stores nothing on the device and cannot single anyone out.

What that looks like in practice

The honest takeaway

You cannot run normal GA4 or the pixel before consent and call it anonymous. You can capture privacy-safe, aggregate signals. This is not legal advice, but it is the technical reality, and Consent Mode is the mainstream way to do it properly. See how to track without cookies.

Want us to check your tracking in 10 seconds?

Pop in your domain and we will show you what is firing, what is not, and where data is leaking. Free, no signup.

Check my tracking free

Get a plain-English audit

We check your live GA4, Google Tag Manager and consent setup by hand and tell you exactly what is wrong. The audit comes off any build.

See how it works & pricing

Datahound are analytics and ad-tracking specialists. We fix broken GA4, Google Tag Manager and server-side tracking so every sale, form and call gets counted. Back to datahound.agency · All tracking guides · How to track without cookies