A Practical Guide to tracking consent
TL;DR — Quick Answer
4 min readValid GDPR consent requires a real choice, clear information, specific purposes, affirmative action, and withdrawal that is as easy as giving consent.
In practice, tracking consent is valid under GDPR only when the person has a real, informed choice. A banner that nudges, confuses, hides rejection, or bundles unrelated purposes may collect clicks, but it may not collect valid consent.
This matters for analytics because many website tracking tools rely on cookies or similar technologies. In Europe and the UK, non-essential analytics and advertising technologies often require consent before they run.
The GDPR Consent Standard
The EDPB explains valid consent as freely given, specific, informed, and unambiguous, with the ability to withdraw consent later (EDPB consent FAQ). Its consent guidelines provide deeper interpretation (EDPB Guidelines 05/2020).
For tracking, that means:
- Freely given: Users must be able to refuse without unfair pressure.
- Specific: Separate purposes need separate choices.
- Informed: Users need clear information about what data is collected, who receives it, and why.
- Unambiguous: Consent requires a clear affirmative action.
- Withdrawable: Withdrawal must be possible at any time and should be as easy as giving consent.
Pre-ticked boxes, silence, inactivity, or "by continuing to browse" are not reliable consent mechanisms.
Consent Is Not the Same as Notice
A privacy policy alone does not create consent. Notice tells people what you do. Consent asks for permission before a specific processing activity.
For analytics, a valid consent flow should explain:
- Which analytics tools will run.
- Whether cookies or similar technologies are used.
- What purposes apply: analytics, advertising, personalization, A/B testing, session replay.
- Whether data is shared with third parties.
- Whether data is transferred internationally.
- How the person can refuse or withdraw.
If the banner says "we use cookies to improve your experience" while also loading ad pixels, behavioral profiling, and conversion APIs, the consent is unlikely to be informed or specific.
Cookie Banner Mistakes
Common problems include:
- Only showing "Accept" on the first layer.
- Hiding "Reject" inside settings.
- Using low-contrast reject buttons.
- Preselecting analytics or advertising toggles.
- Bundling analytics and advertising into one switch.
- Loading trackers before consent.
- Making withdrawal harder than acceptance.
- Treating legitimate interest as a workaround for cookies that require consent.
The EDPB Cookie Banner Taskforce reported concerns with practices such as pre-ticked boxes and reject options that are harder to find than accept options (EDPB report PDF).
Analytics Consent in Practice
A compliant analytics setup starts before the banner design:
- Inventory all tags, cookies, SDKs, pixels, and scripts.
- Classify each purpose.
- Decide which tools are strictly necessary and which are optional.
- Block optional tools until the required consent is given.
- Store consent state without using it for extra tracking.
- Provide a persistent way to change preferences.
- Log enough consent evidence to demonstrate compliance.
For some low-risk audience measurement tools, certain regulators allow narrow exemptions when strict conditions are met. CNIL, for example, describes conditions for audience measurement trackers that may be exempt from consent when limited to measuring the audience on behalf of the publisher (CNIL). Do not assume every analytics tool qualifies.
Withdrawal Must Be Real
Withdrawal is often where consent programs fail. If accepting takes one click, refusing or withdrawing should not require searching through a footer, logging into an account, emailing support, or navigating a maze of toggles.
Good practice:
- Keep a visible cookie or privacy preferences link.
- Let users turn off categories individually.
- Stop future tracking after withdrawal.
- Avoid dark patterns in the settings panel.
- Explain whether previously collected data will be retained or deleted.
Privacy-First Alternative
The cleanest consent banner is the one you do not need because your site does not use optional trackers. Cookieless, privacy-first analytics can often answer core business questions with aggregate data, no advertising IDs, no cross-site tracking, no full IP storage, and no profiling.
Flowsery
Start Free Trial
Real-time dashboard
Goal tracking
Cookie-free tracking
You still need to review local ePrivacy rules and your exact implementation. But reducing tracking is more reliable than trying to make a manipulative consent interface legally acceptable.
Consent is not a growth hack. It is a user choice. If your analytics strategy only works when users are pushed into accepting, the strategy is already telling you something.
Consent Evidence
If you rely on consent, keep enough evidence to demonstrate what happened without creating a new tracking problem. Useful records include the consent version, timestamp, categories accepted or rejected, interface language, and the mechanism used to change preferences. Avoid storing unnecessary identifiers solely for consent proof.
Also review consent after major changes. Adding a new ad vendor, session replay tool, or analytics purpose can require a fresh choice because the old consent may not cover the new processing.
Consent QA Before Release
Test consent like a product feature. In a fresh browser profile, load the site and confirm optional analytics, advertising, replay, and personalization scripts do not fire before a choice. Click reject and verify they remain blocked. Click accept for one category and verify only that category loads. Then withdraw consent and confirm future page loads respect the new state.
Keep screenshots or logs for each state. This gives engineering, legal, and marketing the same evidence. It also catches subtle bugs, such as a tag manager firing a pixel before the consent manager initializes or a server-side event continuing after browser consent was withdrawn.
Consent Verification Checklist
Test consent in the browser, not only in the banner settings. Before any choice, after rejection, after analytics-only consent, after marketing consent, and after withdrawal, inspect network calls, cookies, local storage, pixels, tag-manager triggers, SDKs, and server-side events.
If relying on a narrow analytics exemption, document the exact configuration: audience-measurement purpose, no advertising reuse, no cross-site tracking, limited identifiers, short retention, publisher-only access, and clear user information. If optional tags still fire before a valid choice, the consent layer is cosmetic.
Was this article helpful?
Let us know what you think!
Before you go...
Flowsery
Revenue-first analytics for your website
Track every visitor, source, and conversion in real time. Simple, powerful, and fully GDPR compliant.
Real-time dashboard
Goal tracking
Cookie-free tracking
Related Articles
A Practical Guide to GDPR Legal Bases Explained
GDPR Legal Bases Explained: The Six Grounds for Processing Personal Data covers consent, contractual necessity, legitimate interest, and the other lawful bases organizations need to apply correctly.
A Practical Guide to 7 principles of gdpr
The 7 principles of GDPR shape everything from lawful processing to storage limits. This guide explains what each principle means in practice.
A Practical Guide to data processing agreement
A practical guide to the GDPR data processing agreement, including what it covers, which clauses it must contain, and why every SaaS tool and cloud service relationship should be reviewed.