Find the tracking that starts before visitors answer your cookie banner
Run a 10-minute audit in a private browser window to list every request and cookie your site sets before a visitor answers the cookie banner. TermsFeed Privacy Consent (CMP) holds back only the vendors you add in the TermsFeed app, and it does not scan your site. A tracker hard-coded in a template, added by a plugin, or fired by a tag manager runs before the visitor chooses, whatever the consent banner says.
The ePrivacy Directive and, in the UK, PECR require consent before a site stores or reads optional information on a device. Regulators check what a page loads before the visitor answers. The French regulator, the CNIL, fined SHEIN 150 million euros on 1 September 2025 over advertising cookies placed as soon as visitors arrived, according to its decision announcement. Run the audit to find that fault on your own site first.
What to check before you start the audit
Test as a visitor the consent banner asks, or the audit shows trackers that are allowed to run. A visit follows the opt-in model when the consent banner asks and only Essential vendors run until the visitor answers. It follows the opt-out model when no consent banner appears and every vendor runs at once by design.
Read the "Consent logic" section on the Settings page of your consent banner, whose table shows what each visitor area gets. A new consent banner starts on "Strict", which asks every visitor. On "Standard", a visitor outside the EU, the EEA, the UK, Switzerland, and Quebec usually gets the opt-out model, so test from one of those places with Test Visitor Location.
You need a desktop Chrome or Edge browser and your main page templates. Those are the home page, a product or service page, a blog post, and a form or checkout page. Keep the "Vendors" page of the TermsFeed app open too, so you recognize which hosts belong to a vendor.
How to run a 10-minute audit of tracking before consent
The audit takes 6 steps and about 10 minutes for 4 page templates. Each step reads what the browser loaded before you touched the consent banner. Replace example.com with your own domain, and the pattern covers the bare domain and every subdomain.
- Close every private window, open a new one, open DevTools with F12, and select the Network tab. Tick Preserve log and Disable cache.
- Load your home page and leave the consent banner unanswered. Do not click, scroll, or close anything.
- Type
-domain:*example.com -domain:cdn.termsfeedtag.comin the Network filter box. The list now shows only requests to other hosts. - Write down every host in the list, such as
google-analytics.com,connect.facebook.net,clarity.ms, orfonts.googleapis.com. - Select the Application tab, open Cookies under Storage, and write down every cookie listed for your domain and for any other host.
- Close the private window and repeat steps 1 to 5 on each of the other templates.
You now hold a list of hosts and cookies, and each one needs a reason to be there.
What is allowed to appear before a visitor chooses
Before a choice, the page loads your own files, the Privacy Consent script, the vendors you filed as Essential, and the Google tag of a Google vendor template. An Essential vendor is a service your site needs to work, such as a fraud prevention script every page needs or a login check. A vendor in any of the other 4 vendor categories waits for the answer.
Compare your list with the requests a first visit is expected to make.
| Request | Host | Why it appears |
|---|---|---|
| Your own pages, images, scripts, and styles | Your domain | The site itself |
| The Privacy Consent script and its settings (7 requests) | cdn.termsfeedtag.com |
They show the consent banner and hold back the vendors |
| Vendors in the Essential vendor category | The host of each vendor | You filed them as necessary for the site to work |
| The Google tag, from the Google Analytics 4, Google Tag Manager, or Google Ads template | googletagmanager.com, google-analytics.com |
The template runs Advanced Consent Mode |
Advanced Consent Mode loads the Google tag on every page view with every consent type denied. The tag does not set a cookie, and it sends cookieless pings with gcs=G100 in the address. The TermsFeed app tells you to check with your legal adviser that this suits the regions you serve. Add Google as a custom vendor with an on-accept vendor tag where you want no Google request before consent, and compare both with Set Up Google Consent Mode v2.
A cdn.termsfeedtag.com request with events.push in its address reports to the consent log, so expect it on page load and at each answer or Close. Anything else in the filtered list is tracking that starts before consent. Review what belongs in Essential with Choose a Vendor Category.
How to read the cookies and local storage on the first visit
Read the cookie list as closely as the Network list, because a script that ran and finished leaves its cookies behind. Cookies such as _ga, _gcl_au, _fbp, or _clck before a choice mean an analytics or advertising script already ran. Article 5(3) of the ePrivacy Directive covers a first-party cookie set by a tracker as well as a third-party one. Paste the names you wrote down into "Add cookie names" on the "Cookies and storage" page, which names the vendor template that sets each name it knows.
The Privacy Consent script does not set a cookie. It keeps its record in local storage under the key termsfeed_privacy_consent_state, and before any answer that record holds only {"user_token": "..."}. Read what each field holds in the device storage reference.
Where tracking before consent usually comes from
Most tracking before consent comes from code outside the vendors Privacy Consent controls. Match each host on your list to the source that added it.
- A snippet still in your templates. You added a vendor in the TermsFeed app but left the original snippet in your theme, header, or page builder, so the tracker loads twice and once without consent.
- A plugin, app, or platform integration. Shopify apps, WordPress plugins such as Site Kit, and the marketing integrations of Wix, Squarespace, and Webflow add their own tracking code.
- A tag manager container. A Google Tag Manager container fires its tags on its own triggers, and Consent Mode reaches only the tags that read it.
- Embeds and fonts in your content. A YouTube video, a Google Maps frame, a social post, or a Google Fonts stylesheet loads its host the moment the page renders.
A vendor tag set to run on load runs before a choice too, because on-load vendor tags ignore the answer by design. Check how each vendor tag is set with Vendor Tag Trigger Actions.
How to fix tracking that starts before consent
The fix takes 4 steps per tracker, and the last step repeats the audit. Each one moves the tracker behind a vendor, so the answer decides whether it runs.
- Add the service as a vendor in the right vendor category. Pick its template in Add a Vendor From a Template, or paste its code into the on-accept vendor tag with Add a Custom Vendor.
- Swap an embed, an image pixel, or a stylesheet in your content for a replaceable tag, a page element that names the vendor and loads only after consent. Set up the element with Replaceable Tags.
- Delete the original snippet from your templates, and turn off the tracking inside the plugin, app, or integration that added it. Set up tag manager containers with Use Google Tag Manager.
- Save the vendor, publish your template change, and close every private window. Open a new one, open the DevTools Network tab with Disable cache ticked, enter the filter
-domain:*example.com -domain:cdn.termsfeedtag.com, and load each template without answering. The filtered list is empty or shows only Essential vendors and the Google tag of a Google template.
Some tracking stays outside the browser, such as cookies your server sets and conversion events your server sends. Check which requests stay out of reach in Blocking Limits.
How often to repeat the audit
Run the audit again whenever someone adds a plugin, an app, a tag, an embed, or a new page template. A marketing tool added after launch arrives with its own snippet, and nothing in Privacy Consent warns you that a new tracker is on the page. Add the audit to the checks you run before and after launch with Go-Live Checklist.