OutPerformerz
BACK TO SIGNALS
Consent#19

Tracking before consent: how to check your own online store

Nov 24, 2026 · 7 min read

Many online stores send data to Google, Meta or TikTok before visitors have accepted the cookie banner. With your browser's developer tools you can see within minutes which requests and cookies appear before consent, and where they come from.

Preparation: start from a clean test state

The most common mistake: testing in your everyday browser, where you accepted the banner long ago. What you see then is the state after consent, not before it.

  1. Open a private or incognito window. It starts without existing cookies.
  2. Turn off ad blockers and privacy extensions for the test. Otherwise they block exactly the requests that real visitors would trigger.
  3. Open the developer tools (F12, or right-click → Inspect) before you type in your store's address.
  4. In the Network tab, enable “Preserve log” and “Disable cache”. Requests stay visible across redirects, and every file is loaded fresh.
  5. Load the homepage and leave the banner alone. No clicks, not on the X and not outside the banner either.

Repeat the test on a product page and, if possible, in the cart. Some apps and plugins only load their scripts on certain page types, such as a reviews widget on product pages or a payment script in the cart.

Use the Network tab to see which data is already flowing

The Network tab lists every request the page makes. Use the filter box and search for typical domains and paths one after the other:

  • google-analytics.com or collect: GA4 sends events to a path ending in /g/collect.
  • googletagmanager.com: this is where Google Tag Manager (gtm.js) or the Google tag (gtag/js) is loaded.
  • googleadservices.com and doubleclick.net: Google Ads and remarketing.
  • facebook.com/tr and connect.facebook.net: Meta Pixel.
  • analytics.tiktok.com: TikTok Pixel.

Keep loading and sending apart. Seeing gtm.js load does not mean data is being collected. Many consent setups actually require Tag Manager to load early and then wait for the visitor's choice. Requests that transmit events are more telling, for example a /g/collect request with en=page_view or a call to facebook.com/tr with ev=PageView.

Special case: Google Consent Mode

If your store uses Consent Mode in advanced mode, GA4 sends requests even without consent, but without cookies. You can recognise these cookieless pings by the gcs parameter in the request: G100 means ad_storage and analytics_storage are denied. If you see G111 before any choice has been made, the default state is set incorrectly and Google tags treat the visitor as if they had already consented. If gcs is missing entirely, Consent Mode is probably not set up.

Common causes and how to fix them

Pixels hard-coded into the theme

An agency or a previous developer often pasted tracking code straight into the theme, usually into the head section. That code knows nothing about the banner and fires immediately. Fix: remove it and control the tag through Tag Manager or your consent tool.

Store apps and plugins with their own tracking

Many extensions for Shopify, WooCommerce or Shopware ship with their own pixel. If Tag Manager also fires the same tag, events are counted twice, and the app may ignore consent altogether. Check the app settings for an integration with your consent tool and pick one way of loading the tag.

Tag Manager tags without a consent condition

A tag with an “All Pages” trigger fires straight away unless consent is required first. Google tags respond to Consent Mode, but tags from other vendors such as Meta or TikTok, and custom HTML tags, do not do so on their own. They need a trigger that only fires after consent, or an additional consent check in the tag's consent settings.

Wrong order

If the Consent Mode default is set only after the first tags have run, data goes out without restrictions. In Tag Manager, the default belongs in the “Consent Initialization – All Pages” trigger.

Embeds and external resources

YouTube videos, maps, review widgets, chat windows and fonts loaded from third-party servers send at least the visitor's IP address to the provider when they load. That is not tracking in the classic sense, but it shows up in the Network tab and should be a deliberate decision.

Next step: let your store be checked automatically

If you would rather not click through the test by hand, the free self-check opens your homepage and one product page like a visitor who has not consented, and shows in about a minute which tracking requests and cookies appear before consent and whether Consent Mode is active.

Where does your shop stand?

The free self-check reviews tracking, consent, speed and basics of your shop in about a minute.

Check your shop for free