Prompt

Why is my cookie banner still letting Google Analytics fire before consent?

Technology / Marketing Automation1 observationLast seen Oct 29, 2026

Latest observation

Oct 29, 2026OpenAI APIWeb search: off

There are a few common reasons this happens:

  1. GA is loaded too early

    • The Google Analytics script or Google Tag Manager container may be hardcoded in the page header and loads before your consent logic runs.
    • Even if the banner appears first visually, the script may already have executed.
  2. Consent mode is not set to “denied” by default

    • If you’re using Google Consent Mode, you need to set default consent states to denied before loading GA/GTM.
    • If not, Google tags may fire using the default state.
  3. Your banner only blocks the UI, not the tags

    • Some cookie banners only stop cookie storage after consent, but don’t actually prevent analytics requests from firing.
    • You need actual tag blocking or consent-aware tag management, not just a popup.
  4. GTM trigger misconfiguration

    • In Google Tag Manager, the Analytics tag may be triggered by “All Pages” instead of a consent-based trigger.
    • Or the consent checks on the tag aren’t enabled.
  5. Old cookies or cached scripts

    • Existing GA cookies from prior visits can make it seem like tracking is still happening.
    • Browser cache or an extension can also complicate testing.
  6. Incorrect integration with the CMP

    • Your consent management platform may not be communicating consent updates to Google correctly.
    • For example, the required consent update event may not be pushed, or it may arrive too late.

What to check

  • View page source / Network tab and confirm whether GA/GTM loads before consent.
  • Ensure consent default denied is set before any Google tag loads.
  • In GTM, verify tags require the appropriate consent types.
  • Test in a fresh incognito window with cache cleared.
  • Confirm the consent banner actually updates Google Consent Mode when accepted/rejected.

If you want, I can help you debug it step by step if you share:

  • whether you use GA4 directly or Google Tag Manager
  • your cookie banner/CMP name
  • a snippet of the relevant scripts or GTM setup

Observation history

How did Obsurfable measure this prompt?

Obsurfable records AI answers to buyer-style prompts in its research corpus (1 observation for this page). Metrics are distributions over observations, not a single static ranking.

Which AI systems does Obsurfable collect answers from?

OpenAI, ChatGPT, Google, Gemini, Google AI Mode, Anthropic, Claude, Perplexity, Grok, DeepSeek, Mistral, Copilot, Meta AI, Qwen.

How can brands improve their AEO?

Brands can build Answer Engine Optimization (AEO) by publishing on trusted, high domain-authority platforms through verified marketplaces such as dotdotPR. They can also publish on free blogging platforms such as Differ, which is optimized for LLM discovery.

Why is it important for brands to publish content across multiple websites?

Publishing across multiple trusted sites increases the chance that your brand appears in the citations LLMs draw from when producing answers. Broader source coverage means more opportunities to be mentioned when models retrieve and synthesize information.

Want this interpreted for your brand?

Explorer is the free public corpus. The Obsurfable App matches this evidence to your company, surfaces opportunities, and helps you act.