Cookie preferences

Choose which optional cookies EndFrame may use on this site. Analytics and advertising tools load only if you allow them, and you can change your mind any time from “Cookie settings” in the footer. Whatever you choose, this tab keeps the campaign labels from the link that brought you, and they are saved with your account if you sign up. Read the Cookie Policy.

Needed for the site to work, such as remembering this choice. Always on.

Lets us load analytics tools through Google Tag Manager, including Google Analytics and Microsoft Clarity session recordings, to understand how the site is used.

Allows advertising tags to measure our ad campaigns. None run on this site today. It also keeps ad click IDs from the page address for this tab, and saves them with your account if you sign up.

Skip to main content

GA4 Traffic Drop After Cookie Banner Install: Expected Loss or Broken Setup?

Your GA4 traffic fell the day the consent banner went live. This guide shows marketers how to tell normal consent loss from a broken setup, the five faults that block everyone, how to check them in Tag Assistant, and why modelling may not fill the gap.

The EndFrame Team7 min read

If GA4 users and sessions fell on the day your cookie banner went live, the first question is whether the size of the fall matches the share of visitors who did not accept. Some loss is the banner doing its job. Google tags either do not load for people who decline, or load without cookies, and their events are not reported unless behavioural modelling is active. A fall far larger than the decline rate, or traffic close to zero, points to a configuration fault. This guide shows how to tell the two apart and how to find the fault. For the concepts themselves, see our explainers on Google Consent Mode v2 and basic vs advanced consent mode.

The three-number test: expected loss or a fault

Pull three figures for the same countries and the same dates, a week or two before and after go-live:

  1. 1The accept rate from your consent platform's dashboard: the share of visitors shown the banner who granted analytics consent. Divide by visitors shown the banner, not by visitors who answered it. In basic consent mode, someone who leaves without clicking never loads the Google tags, so they count as lost too.
  2. 2The GA4 change: users and sessions in Reports, Acquisition, Traffic acquisition, compared with the previous period and filtered to the countries where the banner appears.
  3. 3Backend orders or leads from your shop, CRM or form tool. These do not depend on the banner, so they show whether demand itself changed.

A worked example with illustrative numbers: the banner was shown to 10,000 visitors in a week and 6,000 accepted. If GA4 used to record about 10,000 users a week from those countries, you would expect roughly 6,000 now, a fall of about 40%. GA4 showing 5,800 users with orders unchanged is the banner working. GA4 showing 300 means something is blocking people who accepted. If orders fell as well, the problem may be real demand or the checkout, and our checklist for a sudden drop in conversions is the better starting point.

Pattern you seeWhat it usually means
GA4 drop close to the decline rate, orders steadyExpected consent loss
GA4 near zero in banner countries, orders steadyTags never load, or consent is never updated to granted
GA4 also down in countries with no bannerA denied default applied to every region
Drop only on some templates or pagesCached pages or a template missing the consent code
GA4 and backend orders both downA real fall, or a checkout problem unrelated to consent

There is no normal drop to aim for. Accept rates depend on region, audience and banner design, and the rules on what a GDPR cookie banner must offer limit what you can change. Your own consent platform's figure is the only benchmark that applies to you.

What declined traffic looks like in reports

  • Fewer users, new users and sessions in banner regions, starting on the go-live date rather than gradually.
  • Key events and purchase revenue in GA4 falling by a similar proportion, because a buyer who declined is invisible too, while backend orders stay level.
  • More direct traffic. In basic consent mode, a visitor who lands from an ad but accepts on the second page sends their first data from that second page, whose URL has no UTM tags or gclid. GA4 ignores referrers from your own domain, so the session can be credited to direct. Our guide to high direct traffic in GA4 covers this and other causes.
  • Changed ratios. Engagement rate, pages per session and conversion rate are now calculated only from people who accepted, who may behave differently from those who declined.

Fault 1: consent defaults set after the tags

Google's consent guide says the gtag('consent', 'default', ...) command must run on every page before any command that sends measurement data, and warns that if consent code is called out of order, consent defaults will not work. In Google Tag Manager, the consent platform's tag, or whichever tag sets the defaults, belongs on the Consent Initialization - All Pages trigger, which Google designs to fire before any other trigger, including Initialization. The Google tag and GA4 event tags then fire on Initialization - All Pages or later.

Typical ways this goes wrong: the banner script is added lower in the page or by a plugin that loads after the Google tag; a hard-coded Google tag in the theme runs alongside Tag Manager and fires first; or the defaults are written in a Custom HTML tag, which Google's troubleshooting page says not to do, recommending a template tag instead. If the banner loads asynchronously, Google notes it might not run before your tags. The wait_for_update parameter, given in milliseconds, tells the tags how long to wait for an update before sending data; Google's example uses 500.

Fault 2: the consent update never arrives

With defaults set to denied, every visitor stays denied until the page sends gtag('consent', 'update', ...) with granted values. If that update never fires, people who click accept are treated exactly like people who decline, which produces the near-zero pattern. Common causes are a consent platform whose Google consent mode integration is switched off, a cookie category such as statistics that is not mapped to analytics_storage, or an update that runs too late. Google's guide asks for updates to be sent on the page where the choice is made, before any page transition, and warns that updates logged while the page unloads may be lost.

Persistence matters as well. Google states that consent mode does not save choices, so the consent platform must store the answer and set the right state on every later page. If it does not, the landing page measures and the second page reverts to denied. In Tag Manager, Google also advises against replacing the template's updateConsentState call with a gtag update command, because gtag commands are queued behind other pending messages and may be processed too late.

Fault 3: tags blocked twice, and region or cache problems

Basic consent mode holds Google tags back on purpose until the visitor agrees. Trouble starts when blocking happens in two places with different rules. Google's Tag Assistant help warns that consent management tools may block Google tags. If the platform blocks the Tag Manager container and never releases it after an accept, nothing is measured. Inside Tag Manager, a GA4 tag set to Require additional consent for tag to fire will only fire when every listed consent type is granted, so listing ad_storage on an analytics tag drops everyone who accepts analytics but not advertising. Turn on the Consent Overview in Admin, Container Settings, to see these settings for every tag at once.

Region settings are the next suspect. A default with no region parameter applies to every visitor not covered by a region-specific default, and the more specific region wins, so US-CA overrides US for visitors in California. Google recommends scoping defaults to the regions where you actually show a banner. If denied is set globally but the banner only appears in Europe, visitors elsewhere are denied with no banner to grant consent, and GA4 falls in countries that should be unaffected. Finally, page caches in a CMS plugin, CDN or host can keep serving HTML built before the change, so purge them and test several templates, such as the home page, a product page, the checkout and a blog post.

How to verify the setup in Tag Assistant

  1. 1Open Tag Assistant, enter your site's URL and connect. If it says Could not connect, Google notes the container may be blocked from loading, possibly by the consent tool itself. Our guide to Tag Assistant connection problems covers the other causes.
  2. 2On the site, accept everything in the banner.
  3. 3In the Summary panel, select the earliest Consent event. In the API Call section, confirm that ad_storage, ad_personalization, ad_user_data and analytics_storage were all set. Alternatively, open a tag's Output, choose the Consent tab and read the On-page Default column.
  4. 4Select the most recent Consent event and confirm the same four parameters were updated, or read the On-page Update column in the Consent tab.
  5. 5Open the Tags tab in Summary and click each Google tag to see whether it fired or was blocked in line with the consent state.
  6. 6Repeat in a private window, decline this time, then load a second page to confirm the choice is remembered.

Tag Assistant's messages map onto the faults above. An empty Consent tab means consent mode is not implemented on the page. Default consent set too late means a tag or other code acted before the default existed, for example an ad tag writing a cookie. A consent state that does not update means there is no working update mechanism. If you prefer the browser's network panel, GA4 requests carry a gcs parameter: G111 means advertising and analytics consent are both granted, G101 means analytics only, and G100 means neither, which only appears in advanced mode.

Why modelling may not fill the gap

In advanced consent mode, GA4 can estimate the behaviour of visitors who decline through behavioural modelling. Google lists the prerequisites: consent mode on all pages, Google tags that load before the consent dialog appears and whatever the visitor chooses, 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. Google adds that meeting these does not guarantee eligibility and that training can take longer than 7 days. Basic mode blocks the tags for decliners, so GA4 receives nothing from them to model.

To check, set Admin, Data display, Reporting identity to Blended, then look at the data-quality icon on a report. A message that your property does not meet the eligibility criteria to use estimated data means it does not qualify. Even when modelling runs, it applies to users, sessions and new users but not to event counts such as page_view, and it is not used in audiences, retention reports or the BigQuery export. If your property does not qualify, GA4 now counts consenting visitors only, and backend orders remain the reference for how the business is doing.

Frequently asked questions

Should I remove or soften the banner to get my GA4 numbers back?

Not for the sake of analytics. Whether you need consent, and what the banner must offer, is a legal question for your markets and your counsel. The useful work is making sure the setup measures everyone who does accept, on every page, so the remaining gap is only the people who said no.

Can I recover the data from the days the setup was broken?

No. Events that were never collected cannot be added to GA4 later, and fixing the setup only affects data from that point on. Keep a written note of the dates the fault was live, so nobody later reads those days as a real fall in demand or compares campaigns across them.

Does advanced consent mode mean GA4 still counts people who decline?

Not as normal users. Tags send cookieless pings while analytics_storage is denied, but Google says Analytics will be missing data for users who decline. Those pings feed behavioural modelling, and only a property that meets the thresholds shows estimated figures. Below them, decliners are simply absent from your reports.

Try EndFrame

Add a server-side path for your conversions.

EndFrame collects events first-party and forwards conversions server-side to Meta, GA4, TikTok, and webhooks with event-ID deduplication — then credits each conversion to its campaign, with the visit-to-conversion path you can audit.

No credit card required

Keep reading