Skip to content

Why GA4 data dropped after adding a cookie banner

Last updated October 31, 2026

A cookie banner reduces GA4 data when Analytics only runs after visitors accept. With basic consent mode, or a banner that simply blocks tags, nothing is sent for visitors who decline or ignore the banner, so reported users can fall sharply, and to zero if the banner never lets the tag fire. With advanced consent mode, tags send cookieless signals when consent is denied, and GA4 can estimate the missing behavior once the property meets Google's thresholds.

Basic and advanced consent mode

Google describes both setups in its consent mode documentation (sources 1 and 3). Which one you have depends on how your banner or consent platform is configured, not on GA4 itself.

Basic consent modeAdvanced consent mode
When Google tags loadOnly after the visitor acceptsStraight away, with consent set to denied by default
Visitor declines or ignores the bannerNothing is sent to GA4Cookieless pings without identifiers are sent
Behavioral modeling in GA4Not availableAvailable if the property meets the thresholds
Effect on reported trafficOnly visitors who accept are countedConsented visitors counted; others can be modeled

Confirm the banner is the cause

  1. 1

    Line up the dates

    Compare the day the drop started with the day the banner, its settings or your consent platform changed. A step change on that day is the strongest clue.

  2. 2

    Visit and decline

    Open the site in a private window, reject cookies, and click through a few pages with the GA4 Realtime report open. With basic consent mode you won't appear; that is expected.

  3. 3

    Visit and accept

    Repeat in a new private window and accept cookies. If you still don't appear, the banner isn't releasing the tag even after consent, which is a configuration error.

  4. 4

    Check consent in Tag Assistant

    Connect Google's Tag Assistant to the site and accept cookies. Its consent view shows the default and updated consent states, so you can see whether analytics_storage changes to granted.

  5. 5

    Check by region

    Many consent platforms only show the banner in some countries. A drop limited to Europe, for example, points at the banner; a drop everywhere points at the tag.

When GA4 drops to zero

  • The Accept button doesn't update consent, so analytics_storage stays denied for everyone.
  • The banner script fails to load, and the tag waits for a consent signal that never arrives.
  • Tag Manager triggers were changed to fire on a consent event with a different name than the one the banner sends.
  • The Google tag was removed from the page when the banner was installed, on the assumption that the banner adds it.
  • Run the GA4 tag checker to see whether the page still loads a GA4 tag, and which consent platform it detects.

Behavioral modeling

With advanced consent mode, GA4 can use behavioral modeling to estimate the activity of visitors who decline analytics cookies. Google's eligibility rules include at least 1,000 events per day with analytics_storage denied for at least 7 days, and at least 1,000 daily users with analytics_storage granted for at least 7 of the previous 28 days (source 2). Smaller sites usually don't qualify, so their reports show consented visitors only.

What to do

  • Fix outright errors first: a tag that never fires, even after Accept, is losing every visitor.
  • Decide between basic and advanced consent mode with whoever owns your privacy compliance; it is a legal choice as much as a technical one.
  • Annotate the change date in GA4 and in client reports, so the step down isn't read as lost traffic.
  • Compare trends from the same consent setup only: before and after the banner are not like for like.
  • After any banner change, watch traffic for a day. Silence alerts email you if a site stops sending data at times it normally has visitors.

Sources

Questions

Why did my GA4 traffic drop after adding a cookie banner?

If Analytics only runs after visitors accept, everyone who declines or ignores the banner is no longer counted. The visitors are still there; GA4 just isn't told about them.

Why does GA4 show zero after installing a consent banner?

Usually the banner never grants analytics consent, even after Accept, or the tag was removed or set to wait for a consent event that never fires. Accept cookies in a private window and check whether you appear in the Realtime report.

What is the difference between basic and advanced consent mode?

In basic mode Google tags only load after consent, so nothing is sent for visitors who decline. In advanced mode tags load straight away with consent denied by default and send cookieless pings, which GA4 can use for behavioral modeling if the property qualifies.

Will GA4 fill in the missing data?

Only with advanced consent mode and only if the property meets Google's thresholds for behavioral modeling. Otherwise reports show consented visitors only.