On this page
What this issue is
A consent banner (also called a cookie banner) asks visitors whether tracking is allowed. Many setups block the GA4 tag completely until the visitor clicks Accept. If the visitor closes the page, ignores the banner or clicks Decline, no session is recorded at all.
Organic search visitors are often first-time visitors who read one page and leave. They rarely interact with a banner. So organic traffic, which is mostly new people, is hit harder than direct or returning traffic.
- Google result clickVisitor lands on your page
- Consent bannerVisitor ignores or declines it
- GA4 tag heldNo page_view is sent
- ReportSession never appears in GA4
The visitor arrives from Google, but the tag never loads because consent is not given.
Why it costs you leads or sales
The visitors still arrive and still buy. What you lose is the knowledge of where they came from. Organic looks weaker than it is, so you may cut content and SEO budget that works, or credit paid channels for sales that organic started.
Ad platforms are affected too. If conversions are missing for non-consenting visitors, bidding and audience data learn from a partial picture.
Example: illustrative numbers for one month. The gap is visitors who never gave consent.
How to check if your site has it
Compare GA4 with Search Console
Over the same dates, compare GA4 organic Google sessions with Search Console clicks. Sessions far below clicks suggest suppression. Other causes exist (bots, missing tags), so treat it as a hint.
Open the site in a private window
Do not touch the banner. Open DevTools, go to the Network tab and filter for 'collect' or 'googletagmanager'. If no GA4 request appears, the tag is held.
Click Accept and watch again
If the request now appears, the tag depends on consent.
Check Consent Mode signalsGoogle Tag Manager
In Tag Assistant, look at the Consent tab. Default state should be set before the tag runs, and updates should follow the visitor's choice.
The visitor does not answer, so the tag waits and nothing is recorded.
How to fix it
The main fix is Google Consent Mode. Instead of blocking the tag outright, the tag loads with consent defaulting to denied. Google then receives limited, cookieless signals and can model some of the missing behaviour in GA4. Full cookies and identifiers are only used once the visitor accepts.
Use a consent tool that supports Consent Mode
Choose a consent management platform (CMP) that sends Google consent signals, such as ad_storage, analytics_storage, ad_user_data and ad_personalization.
Set defaults before the tag loads
The default consent command must run before the Google tag or GTM container. Set the defaults to denied where the law requires it.
Send an update on choice
When the visitor accepts, the banner must call the consent update so analytics_storage becomes granted.
Make the banner easy to answer
Show a clear Accept and Decline choice, keep it from covering key content, and keep the wording plain. A banner that is easy to answer gets more responses.
Turn on modelling in GA4
Open Admin, then Data collection and modification, and check that the Consent Mode signals are received. Behavioural modelling has traffic thresholds, so it may not apply to small sites.
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('consent', 'default', {
'ad_storage': 'denied',
'ad_user_data': 'denied',
'ad_personalization': 'denied',
'analytics_storage': 'denied',
'wait_for_update': 500
});
</script>gtag('consent', 'update', {
'analytics_storage': 'granted'
});Check your consent plugin
In your cookie plugin's settings, enable Google Consent Mode and make sure analytics scripts are not set to be blocked entirely before consent.
Check load order
If you add GA4 through a plugin or a header snippet, make sure the default consent code loads first.
Use Customer Privacy settings
In Settings, then Customer privacy, set up the cookie banner. Shopify's Google channel and customer events respect the visitor's choice.
Check custom pixels
In Settings, then Customer events, review each pixel's permission setting so analytics pixels are not set to require more than needed.
Turn on consent overview
In Admin, container settings, enable Consent Overview, then check each tag's built-in consent requirements.
Fire the Consent Initialization trigger first
Set the default consent in a tag using the Consent Initialization - All Pages trigger, or use your CMP's template.
Set GA4 tag to require analytics_storage
Let the tag load on All Pages and rely on Consent Mode instead of a trigger that waits for a click.
Add the consent code in Custom Code
In Project settings, Custom code, put the default consent script in the head above your analytics code.
Use a CMP that supports Consent Mode
Add its script and publish, then test in a private window.
Review the cookie banner settings
In Settings, Cookie banner, check how analytics tools are categorised, and in Marketing integrations confirm your Google tag is connected.
Review cookie settings
In Settings, Cookies and visitor data, check the banner and how analytics cookies are handled. Test after saving.
Order your scripts
Place the default consent snippet first, then your CMP, then the Google tag. Call the update command from the banner's accept handler.
Consent: blocked / denied
- GA4no hit
- Google Adsno hit
- Meta Pixelno hit
With tags blocked outright, nothing is sent. With Consent Mode, only limited cookieless signals reach Google.
Toggle the consent choice to see how tracking changes.
How to confirm it's fixed
- Open the site in a private window and leave the banner alone: Tag Assistant shows the default consent state before the tag runs.
- Click Accept: a GA4 page_view request appears and the consent state updates to granted.
- Click Decline: no cookies are set, and any pings are cookieless.
- After a week, the ratio of GA4 organic sessions to Search Console clicks is closer than before.
- The banner does not cover buttons or forms on mobile.
Before
- GA4 tag blocked until Accept is clicked
- Most organic visitors never recorded
- Organic looks weak in reports
After
- Consent Mode defaults set before the tag
- Choices passed to Google on update
- Accepted visits fully tracked, others partly modelled
How to prevent it happening again
- Re-test the banner after changing themes, plugins or your CMP.
- Keep the default consent script above every analytics tag.
- Review the GA4 to Search Console gap each month.
- Test in a private window from both EU and US locations if you serve both.
- Note consent changes so a later traffic drop can be explained.
How FunnelGuard handles this
FunnelGuard detects this today. Its robot visitor runs your real journeys on a schedule from the EU or the US, and its consent behaviour check and audits flag when tags are held back by the banner. If a tag that should fire does not, the failure is re-checked from a second region before one alert goes out, with a screenshot and a likely cause.
FunnelGuard does not bypass CAPTCHAs or bot protection, and it does not tell you how many real visitors declined. It shows whether your setup holds tags back. The Free plan covers 1 site and 2 journeys with daily checks, no card needed, and a free read-only website audit is available.
Related guides
If your numbers still disagree after fixing consent, see the guides on GA4 versus Search Console mismatches, bot traffic and missing analytics tags on organic landing pages.
Questions people ask
Why is my GA4 organic traffic lower than Search Console clicks?
One common cause is a consent banner that holds the GA4 tag until the visitor accepts. Visitors who ignore or decline are never recorded. Bots, ad blockers and missing tags can also widen the gap.
Does a cookie banner reduce Google Analytics data?
Yes, if it blocks the analytics tag until consent is given. Only visitors who accept are counted fully. Consent Mode lets Google receive limited signals and model some of the rest.
How do I set up Google Consent Mode?
Use a consent tool that supports it, then set default consent to denied before the Google tag loads. When the visitor accepts, send an update setting analytics_storage to granted. In GTM, use the Consent Initialization trigger for the defaults.
Why is organic traffic hit harder by consent banners?
Organic visitors are often new people who read one page and leave. They rarely engage with a banner, so their visits go unrecorded more often than returning or direct visitors.
Can I track visitors who decline cookies?
Not with cookies or identifiers where consent is required. With Consent Mode, Google receives limited cookieless signals and may model some behaviour. You should respect the refusal.
How do I test if my consent banner blocks GA4?
Open your site in a private window, leave the banner untouched and watch the Network tab for a GA4 'collect' request. If none appears until you click Accept, the tag is held. Tag Assistant's Consent tab shows the state too.
Will fixing the banner bring my traffic back to match Search Console?
It will narrow the gap, but not close it fully. Visitors who decline stay unrecorded or only modelled, and Search Console counts clicks, not sessions. Expect closer numbers, not identical ones.
Related issues
- SEO-419Organic traffic in GA4 doesn't match Search Console clicksFix guide
- SEO-420Organic landing pages missing the analytics tagFix guide
- SEO-421Organic conversions not attributed (lost referrer, redirects stripping)Fix guide
- SEO-426Bot traffic inflating organic sessionsFix guide
- SEO-427No annotations for site changes so drops can't be explainedFix guide
- SEO-422Search Console not linked to GA4Fix guide