Skip to content

Consent Mode v2: what the BigQuery export sees, and what it doesn't

Data trust

By Boris Parov8 min read

Lire cet article en français

Consent Mode v2 decides what reaches the GA4 BigQuery export; advanced mode sends declined visits as cookieless pings. You can count those pings, not tie them to a returning user, and modeled conversions never arrive. On Google's public sample, all 1,210,147 January 2021 events have consent unset, as our GA4 data accuracy guide shows.

Basic and advanced consent mode produce two different BigQuery exports from the same banner. The difference is what Google tags do before the visitor chooses.

Consent Mode v2 is the version of Google's consent mode that adds two signals, ad_user_data and ad_personalization, to the original analytics_storage and ad_storage, so that Google tags adjust their behavior to the choice a visitor made in the consent banner and send cookieless pings when storage is declined.

Google's developer guide dates the update to November 2023. In basic mode, Google tags stay blocked until the visitor interacts with the banner. Google is explicit: before consent, no data reaches Google, not even the consent status. A visitor who declines leaves no event in the export, and no trace anywhere in GA4.

An advanced consent mode setup is a consent mode implementation in which Google tags load before the visitor's choice, with consent denied by default, and send cookieless pings until consent is granted, so that the declined population reaches GA4 and its BigQuery export instead of disappearing.

Basic consent modeAdvanced consent mode
Google tags before the choiceBlockedLoaded, consent denied by default
Sent while consent is deniedNothing, not even the consent statusCookieless pings
Declined visits in the BigQuery exportAbsentPresent, privacy_info.analytics_storage at No
Consent rate computable from the exportNoYes
Behavioral modeling in the interfaceNot eligible: tags must load in all casesEligible once Google's thresholds are met

Which mode your site runs is decided with your DPO and your consent tool. For measurement, only advanced mode makes the declined population visible in the export.

What does privacy_info record in the export schema?

privacy_info is the record of the GA4 export that stores the visitor's consent state on every event. Google's schema fills it only when consent mode is enabled. It lists three fields, each documented with the values Yes, No, or Unset. The analytics_storage field says whether Analytics storage was enabled. The ads_storage field says whether ad targeting was enabled. The uses_transient_token field flags a web user who denied storage, measured through transient tokens in server data.

The schema consulted on 2026-10-15 has no field for ad_user_data or ad_personalization. The two signals added by Consent Mode v2 cannot be read from the export. The control query below checks the three fields and the two identifiers in one pass.

SELECT
  IFNULL(CAST(privacy_info.analytics_storage AS STRING), 'NULL') AS analytics_storage,
  IFNULL(CAST(privacy_info.ads_storage AS STRING), 'NULL') AS ads_storage,
  IFNULL(privacy_info.uses_transient_token, 'NULL') AS uses_transient_token,
  COUNT(*) AS events,
  COUNTIF(user_pseudo_id IS NULL) AS events_without_user_pseudo_id,
  COUNTIF((SELECT value.int_value FROM UNNEST(event_params) WHERE key = 'ga_session_id') IS NULL) AS events_without_ga_session_id
FROM `bigquery-public-data.ga4_obfuscated_sample_ecommerce.events_*`
WHERE _TABLE_SUFFIX BETWEEN '20210101' AND '20210131'
GROUP BY 1, 2, 3
ORDER BY events DESC
analytics_storageads_storageuses_transient_tokenEvents, January 2021Without user_pseudo_idWithout ga_session_id
NULLNULLNo1,210,14700

Computed on 2026-10-15 on the public sample bigquery-public-data.ga4_obfuscated_sample_ecommerce (Google Merchandise Store, 2020-11-01 to 2021-01-31, obfuscated data).

The public sample has no consent recorded. Its two storage fields are typed INT64 and empty on every January 2021 event. Current documentation describes text values, so the CAST keeps the query valid on both schemas. On your own export, the query returns several rows, and their proportions are your first consent measurement.

Pings without an identifier: what can you count?

A cookieless ping can be counted, broken down, and compared, but never linked to a returning user.

A cookieless ping is a GA4 event sent while analytics storage is denied, which carries coarse information such as the timestamp, the user agent, and the referrer, but reads and writes no Analytics cookie, so that the visit can be counted without being recognized on a later visit.

Google states that each declined session gets a different user_pseudo_id. A declined visitor who comes back three times is three users in the export. Google also states that customer-provided data, such as user_id and custom dimensions, is exported with those pings. What those fields may carry after a refusal is for your DPO to assess.

QuestionAnswerable from declined pings?Why
How many page views did declined visitors make?YesEach ping is one row with its event_name
Which markets and devices do they come from?YesThe geo and device fields describe each ping
How many distinct people declined?NoA new user_pseudo_id for every session
Did a declined visitor come back?NoNo cookie links two visits

Google doesn't document how ga_session_id behaves on a declined ping. The control query counts it per consent state, so check it on your own export. The honest report keeps two columns, consented and declined, and labels every user metric as consented only.

Modeled data: why does it stay outside the export?

Modeled data never reaches the BigQuery export: Google lists BigQuery export as unsupported for behavioral modeling. Behavioral modeling fills the interface with estimated users and sessions for the declined population. The export receives the observed pings, never the estimate.

Google sets eligibility thresholds. The property needs at least 1,000 events a day with analytics_storage denied, for at least 7 days. It also needs at least 1,000 daily users with storage granted, on 7 of the previous 28 days. Meeting both doesn't guarantee eligibility. The tags must also load in all cases, which rules out basic mode.

The interface and the export therefore diverge by design. Google's own developer blog notes that the interface may show fewer active users than the export. Modeling regroups sessions that the export counts as separate user_pseudo_id values. A user count from BigQuery can thus exceed the interface figure on a site with many refusals.

Two rules follow. Never put a modeled interface figure next to an export figure without labeling both. And keep export metrics reproducible: the same query on the same day returns the same result. The full list of what stays in the interface, Google Signals included, is in Modeled conversions and Google Signals: the data the export doesn't have.

Measuring the declined share by market and device

The declined share is computed per country and per device, on an event both populations send. The page_view event works because consented and declined visitors both send it on each page. Users and sessions don't work, because a declined visitor gets a new user_pseudo_id every session.

SELECT
  geo.country AS country,
  device.category AS device_category,
  COUNT(*) AS page_views,
  COUNTIF(CAST(privacy_info.analytics_storage AS STRING) = 'Yes') AS granted,
  COUNTIF(CAST(privacy_info.analytics_storage AS STRING) = 'No') AS declined,
  COUNTIF(privacy_info.analytics_storage IS NULL) AS unset,
  SAFE_DIVIDE(
    COUNTIF(CAST(privacy_info.analytics_storage AS STRING) = 'No'),
    COUNTIF(CAST(privacy_info.analytics_storage AS STRING) IN ('Yes', 'No'))) AS declined_share
FROM `bigquery-public-data.ga4_obfuscated_sample_ecommerce.events_*`
WHERE _TABLE_SUFFIX BETWEEN '20210101' AND '20210131'
  AND event_name = 'page_view'
GROUP BY country, device_category
ORDER BY page_views DESC
LIMIT 6
CountryDevicepage_view eventsGrantedDeclinedUnsetDeclined share
United Statesdesktop107,44300107,443NULL
United Statesmobile73,3380073,338NULL
Indiadesktop22,7940022,794NULL
Canadadesktop18,1810018,181NULL
Indiamobile14,4220014,422NULL
Canadamobile12,8970012,897NULL

Computed on 2026-10-15 on the public sample bigquery-public-data.ga4_obfuscated_sample_ecommerce (Google Merchandise Store, 2020-11-01 to 2021-01-31, obfuscated data).

On the sample, every row is unset, so the declined share is NULL rather than zero. That NULL is the honest output: no consent mode, no consent measurement. A basic-mode export has the same blind spot, because declined visitors never arrive. Never fill the gap with a figure borrowed from another site. On your export, exclude the days before consent mode went in. The session-level method and the traps of the first weeks are in Consent rate by market and device: measuring it in the export.

What server-side tagging doesn't change

Server-side tagging changes where the tag runs, not whether the visitor consented.

Server-side tagging is a tag management architecture in which a container hosted on a server you operate receives the events from the browser and sends them to the measurement vendors, so that the browser talks to one first-party endpoint instead of to each vendor directly.

The consent choice travels with each event and applies in the server container too. The export keeps the same schema and the same privacy_info fields. Declined storage stays declined, and modeled data stays outside BigQuery.

One field does mention server data: uses_transient_token. Google describes it as a user who denied storage, measured through transient tokens in server data. On the public sample, it reads No on all 1,210,147 January 2021 events. Its value on your export tells you whether that measurement is active. Whether it should be is a question for your DPO, not a tagging setting.

The measurable gain of a server container is on blockers and cookie lifetime, not on consent. How to measure it before and after the switch is in Server-side tagging and consent: what it changes, what it doesn't.

FAQ

Does the GA4 BigQuery export include visitors who decline cookies?

The GA4 BigQuery export includes declined visitors only under advanced consent mode. Their events arrive as cookieless pings, with privacy_info.analytics_storage at No and a new user_pseudo_id per session. Under basic consent mode, tags never load for a declining visitor, so the export holds no row.

Why does BigQuery show more users than the GA4 interface?

BigQuery can show more users because each declined session gets its own user_pseudo_id in the export. One visitor who declines three times counts as three users. Behavioral modeling in the interface regroups those sessions into estimated users, so the interface figure can be lower. Google's developer blog documents this direction of the gap.

Can I see ad_user_data and ad_personalization in BigQuery?

No field of the GA4 export schema carries ad_user_data or ad_personalization, as of the schema consulted on 2026-10-15. The privacy_info record holds three fields only: analytics_storage, ads_storage, and uses_transient_token. The two Consent Mode v2 signals act on Google's advertising features, not on a queryable column.

Does Google's public GA4 sample contain consent data?

Google's public GA4 sample contains no consent data. All 1,210,147 January 2021 events have analytics_storage and ads_storage empty, and uses_transient_token at No. The sample covers November 2020 to January 2021 and records no consent state. It demonstrates the queries, never a consent rate.

Run the privacy_info check before any consent figure enters a report. The complete guide Trusting your GA4 numbers: consent, reconciliation, bots, and tagging places it among the other causes. Want the consent check run on your own export, market by market? Book a diagnostic.

Sources