GA4 BIGQUERY ANALYTICS

Unlock the power of Google Analytics with Big Query

What Happens to GA4 IDs When User Consent Is Accepted vs Denied? (BigQuery Explained)

When working with GA4 and BigQuery, one of the most misunderstood topics is:

“What actually happens to _ga, user_pseudo_id, and session IDs when a user accepts or denies cookie consent?”

The answer is critical because consent decisions directly affect:

  • user identity
  • session stitching
  • attribution accuracy
  • BigQuery data completeness

This guide explains exactly how GA4 identifiers behave under consent accepted vs consent denied scenarios.

GA4 Consent Changes the Data Pipeline

GA4 does NOT simply “turn off tracking” when consent is denied. Instead, it changes how identifiers are:

  • generated
  • stored
  • persisted
  • and modeled in BigQuery

GA4 Identity Flow With Consent Context

CONSENT ACCEPTED
Stable _ga cookie

Consistent user_pseudo_id

Reliable session stitching

Strong attribution

Complete BigQuery data
CONSENT DENIED
No persistent cookie

Frequent identity resets

Partial / fragmented sessions

Weakened attribution

Modeled / limited identity

This identity behavior is directly based on how GA4 cookies like _ga and _gid are generated in the browser. Learn how GA4 cookies map into BigQuery fields →

Scenario 1: Consent ACCEPTED (Full Tracking Enabled)

When the user accepts cookies (analytics_storage = granted):

  • _ga cookie is created and persists
  • _gid cookie is set (short-term)
  • _ga_<container-id> is enabled
  • GA4 Generates stable client identity, Maintains session continuity, Fully stitches user journeys and uses cookies + device signals

You get full-resolution identity data in BigQuery because of whichc full user journey reconstruction is possible.

FieldBehavior
user_pseudo_idStable and consistent
ga_session_idFully populated
ga_session_numberIncrementing correctly
event_paramsComplete session context

Scenario 2: Consent DENIED (No cookies allowed)

When analytics_storage = denied:

  • _ga cookie is NOT stored or is immediately invalidated
  • _gid is NOT used
  • ga4 cannot reliably persist _ga, persistent identity is restricted

GA4 switches to cookieless modeling behavior. It can still send lightweight anonymous event signals often referred to as:

Cookieless pings = event activity sent without persistent analytics cookies or stable user identity.

GA4 uses temporary identifiers and relies on session-only signals.

What Cookieless Pings Can Still Collect

  • Page views
  • Event timestamps
  • Basic engagement events

But they often lack reliable:

  • _ga persistence
  • user_pseudo_id continuity
  • Cross-session identity stitching

BigQuery Impact

Because persistent identity weakens:

  • Users may appear fragmented
  • Returning visitors may look like new users
  • Attribution becomes less reliable
  • Session continuity may weaken
FieldBehavior
user_pseudo_idMay be unstable or frequently changing
ga_session_idStill generated but session stitching weaker
ga_session_numberLess reliable
user journeyFragmented

What Happens to Each GA4 Identifier

GA4 Identifier Consent Accepted Consent Denied
_ga cookie Created + persistent Not stored or immediately cleared
_gid cookie Short-term tracking enabled Not used
_ga_<container-id> Stable property/session tracking Disabled
user_pseudo_id Stable + reliable May reset more frequently
ga_session_id Strong session continuity Sessions exist but stitching weaker
Key Insight: Consent denial does not stop GA4 event collection entirely. Instead, it reduces identity persistence and weakens user/session continuity in BigQuery.

To understand how these identifiers are created in the first place, see the full breakdown of GA4 cookies and their BigQuery mapping: → GA4 Cookies Explained: _ga vs _gid and BigQuery Mapping

And this is what you feel like:

“Why GA4 Users Suddenly Dropped After Enabling Consent Mode”

One of the biggest surprises after implementing a cookie banner or Consent Mode is a sudden drop in:

  • Users
  • Sessions
  • Attribution visibility
  • Conversion reporting

As you saw earlier, tracking did not completely stop. Instead, GA4 shifted from persistent cookie-based tracking to limited or cookieless pings / measurement.

Want to understand why identity breaks? Read: GA4 Cookie Tracking Explained (_ga vs _gid → BigQuery mapping)

What Changes Technically

Before Consent ModeAfter Consent Denied
Stable _ga cookieNo persistent cookie
Consistent user_pseudo_idFragmented or missing identity
Reliable sessionsWeak or missing session continuity
Attribution stitching worksAttribution becomes incomplete

As a result, GA4 and BigQuery may still contain events but fewer reliable users and sessions can be reconstructed. It may still collect events but BigQuery receives weaker identity continuity and less reliable user stitching.

Next Step: Rebuild Attribution in BigQuery

Consent Mode can fragment sessions and weaken source attribution in GA4 reports.

Learn how to rebuild attribution using BigQuery SQL:

→ Rebuilding GA4 Attribution After Consent Mode Using BigQuery SQL

Key Takeaway

Even when consent is denied, GA4 can still collect events but persistent user identity becomes weaker or fragmented.

Consent AcceptedConsent Denied
Stable user identityFragmented identities
Reliable attribution & journeysWeaker cross-session tracking
Funnel & cohort analysisEvent-level analysis preferred

One-line summary:
Consent does not stop GA4 tracking, it determines whether BigQuery receives stable user identity or mostly anonymous event streams.


Discover more from GA4 BIGQUERY ANALYTICS

Subscribe to get the latest posts sent to your email.

Leave a Reply

Discover more from GA4 BIGQUERY ANALYTICS

Subscribe now to keep reading and get access to the full archive.

Continue reading