Start with a simple inventory of tags and purposes
List every script that sets cookies or similar identifiers, or that sends user data to a third party: analytics, ads pixels, tag managers, chat tools, video embeds, heatmaps, and social widgets. For each, write the purpose in plain language: strictly necessary for the site to work, analytics, advertising, or preference storage. You will usually find more tags than anyone remembered, including old pixels from a campaign last year. This inventory is the foundation of both a honest banner and a cleaner data layer. If you cannot explain a tag, it is a candidate for removal. Less software on the page also helps privacy and speed.
Give people a real choice before non-essential tags fire
Essential cookies that are required to provide the service the person asked for are treated differently from analytics and advertising in many regimes, including the UK guidance referenced above. For non-essential cookies and similar technologies, people typically need a clear choice before those tags run. The banner or preference centre should explain the categories in ordinary language, allow accept and reject, and be as easy to refuse as to accept. It should be possible to change the decision later. Do not use dark patterns, such as a tiny reject control or a claim that “by browsing you agree” when that is not a valid mechanism for what you are doing. The exact legal test depends on where you operate and who you target; design the interface to be fair, then confirm it with advice if the stakes are high.

Connect consent to the tags, then check that it works
A banner that is only visual, while the tag manager still fires everything on page load, is worse than no banner: it creates a false sense of safety. Use a consent tool or a carefully built tag-manager setup so that advertising and, where required, analytics tags wait for a choice. If you use Google’s products, read the current official documentation for Consent Mode and related tags rather than copying an old blog snippet. After setup, test three paths on a clean browser: accept all, reject non-essential, and change the decision later. Confirm with a tag inspector or network view that pixels do not load when they should not, and that essential forms still work when someone rejects advertising cookies.
Keep analytics useful under a consent-led setup
You may see a change in reported traffic after you stop firing tags without a choice. That can be a sign the new setup is honest, not necessarily a sign that the site is failing. Be careful when you compare periods, and avoid inventing “corrected” figures you cannot explain. Where the law and the tool allow, use a configuration that still models some measurement without storing prohibited identifiers, but do not pretend modelled numbers are the same as observed ones. Align marketing, product and leadership on this so nobody quietly turns the old tags back on to “fix the charts”. For decisions, you can often supplement analytics with first-party events you have a clear basis to collect, such as a logged-in product, and with offline facts such as completed jobs or signed contracts.
Look after the records, the policy and the vendor list
Your cookie or privacy notice should match the inventory: who the vendors are, what the tags do, and how long you keep data, as far as you reasonably know and as the law requires. Update the notice when you add a new marketing tool. Keep a record of the consent tool’s configuration and of major changes. If you share data with ad platforms, understand what you are sending and what controls you have enabled. This is also a good moment to delete unused pixels and old tag-manager containers. A short quarterly review, in the same habit as website maintenance, prevents the slow return of ungoverned scripts.
Do not let consent theatre replace a measurement plan
Even a perfect banner will not help if you have no definition of a conversion, duplicated events, or a tag firing on the wrong page. While you are doing this work, tidy the events you care about: a submitted form, a completed purchase, a booked call. Name them consistently, document them, and make sure marketing and the website team share the same list. Consent and measurement quality are one project, because they meet in the tag manager. A clean, lawful, slightly less complete dataset is more useful than a complete-looking dataset you cannot defend.
Who this guide is for: Marketers, site owners and developers who need analytics and advertising tags on a public website, and who want a consent setup that is honest and still useful in 2026.
A worked example
A retailer has a banner that only offers “OK”, while six marketing tags load with the page, including a pixel from a campaign two years ago. They inventory the tags, remove the unused ones, and configure the banner so advertising and analytics wait for a choice, with reject as easy as accept. In tests, rejected visits no longer fire the ads pixel, and the checkout still works. Reported sessions fall in the following week. The team records the change date, explains it in the monthly report, and judges campaigns against the new baseline rather than silently reverting the tags to “fix” the numbers.
Illustrative scenario, not a client case study.
Common mistakes to avoid
- Running all tags on load and putting a banner on top for appearanceThe interface suggests a choice that the page has already ignored.
- Making “reject” harder than “accept”If the only easy path is to agree to advertising cookies, the choice is not genuine.
- Comparing pre- and post-consent numbers as if nothing changedYou will make false decisions about traffic and campaigns. Document the break and explain it.
Checklist
- Inventory every tag, cookie or pixel and assign it a clear purpose.
- Remove scripts you cannot explain or no longer use.
- Present a genuine accept and reject choice before non-essential tags fire.
- Test accept, reject and a later change in a clean browser, and inspect the network requests.
- Update the privacy or cookie notice so it matches the live inventory.
- Document conversions and treat a change in reported traffic as a measurement break, not a panic.
Questions about this topic
Is this legal advice?
No. This is a practical checklist. Cookie, privacy and e-privacy rules depend on your location, your customers’ locations, and the tools you use. Read official guidance, such as the ICO page linked in this guide if you are concerned with the UK, and get advice when you need it.
Do we still need a banner if we only use a single analytics tool?
It depends on the tool, how it is configured, and the law that applies to you. Some analytics setups can be designed with fewer identifiers, and some uses may still require a choice. Do not assume that “it is only analytics” is automatically fine. Check the current guidance and the vendor’s documentation.
Why did our reported traffic drop after we added consent?
Often because tags were previously firing for everyone, including people who would have refused. You should also check that essential measurement you intended to keep is still working. Then compare trends carefully across the change date.
Does Consent Mode replace a banner?
No. Consent Mode and similar tools are ways to pass a person’s choice into Google tags. You still need a genuine way for the person to make that choice, and a correct default before they do. Follow Google’s current official documentation for the implementation details.
How often should we review the setup?
Whenever you add or remove a marketing tool, and at least a few times a year. New pixels have a habit of appearing during campaigns. A quarterly inventory is a reasonable habit for a small team.
We handle this as part of marketing analytics and conversion tracking, CAPI and tag hygiene, often alongside technical SEO and website maintenance so tags, speed and policy pages stay in step.
Explore our Marketing Analytics service .






