Connecting Usercentrics to BigQuery
Usercentrics is built around per-service consent rather than broad categories, which is better for compliance and means a single service being switched off can silently break one platform while the others keep working. BigQuery has no attribution model, no deduplication rules and no opinion about your data — which makes it the only destination on this site where every number is exactly as good as the query that produced it. The join between them succeeds or fails on one thing: whether whatever join key you decide on reaches the Usercentrics consent decision before the conversion happens, because BigQuery can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Usercentrics consent in BigQuery: per-service state on every order
Store on every order or lead row which Usercentrics services were accepted at the time, as separate boolean columns, plus the controller ID if captured. Capture the state in the browser at checkout via Usercentrics' JavaScript API or data-layer events and write it server-side. Never rewrite past consent, and filter any ad-upload query on that platform's column.
BigQuery is where per-service consent becomes measurable. Store, on every order or lead row, which Usercentrics services were accepted at the time, Google Ads, Meta, Reddit, your analytics tools, as separate boolean columns, plus the Usercentrics controller ID if you capture it. Each platform's consented share of conversions then becomes one query, and platform numbers that looked incomparable can be put on the same footing.
Capture the state in the browser at checkout, from Usercentrics' JavaScript API or the data-layer events you configure it to emit, and write it onto the order server-side. Don't try to rebuild it later from Usercentrics' consent logs; those exist to prove consent, not to join to orders. Check whether your plan offers a consent-log export if legal wants a copy alongside.
Withdrawal applies going forward, so keep each row's consent as it was at the time of the event and never rewrite it. Your own order table isn't gated by ad consent, but any query that feeds an ad upload must filter on that platform's column. This is also where you produce the per-service consent rate that makes cross-platform comparison honest.
Usercentrics → BigQuery · what breaks
Why this join usually fails — Usercentrics → BigQuery
- 01
Whatever join key you decide on never reaches Usercentrics
Each service has its own consent state, so an identifier may be capturable for one destination and not another in the same session.
- 02
Different consent rates producing incomparable platform numbers
If Google is consented at 70% and Meta at 55%, their reported conversions are not measuring the same population. Comparing platform performance without stating that is comparing two different samples.
- 03
The warehouse quietly disagreeing with every platform
This is not a bug — it is the point. Your warehouse counts orders; Google counts click-attributed conversions in its window; Meta counts differently again. When the four numbers differ, the warehouse is usually right about revenue and wrong about attribution, and knowing which question you are answering is the whole skill.
- 04
Nothing reconciles afterwards
BigQuery will not tell you anything is wrong. Verify by querying the table directly against your source system's own totals, and check for duplicate rows on the join key before trusting any aggregate.
Usercentrics → BigQuery · the fix
What working looks like — Usercentrics → BigQuery
Whatever join key you decide on on every consent record
Conversions arriving in BigQuery
The row lands in a table you own, joinable to every other table you own, with no window and no expiry.
Reconciled against the source
Usercentrics → BigQuery · architecture
How Usercentrics and BigQuery actually connect
- 1
Usercentrics holds the truth
Per-service granularity means consent is not one number. A visitor can accept Google and decline Meta, which makes each platform's conversion ceiling different and each platform's reporting incomparable to the others.
- 2
BigQuery needs a click to match
BigQuery needs a schema and consistent types. The failure mode is not rejection, it is silent divergence: a column that arrives as a string in one load and an integer in the next, or a timestamp in the wrong zone, which produces answers that look plausible and are not.
- 3
The identifier is the bridge
Whatever join key you decide on, captured at the visit and carried into the Usercentrics consent decision.
- 4
The event source decides reliability
Send each destination only the conversions consented for that destination, and report the per-service consent rate.
- 5
Deduplication at the destination
Nothing deduplicates for you. Streaming inserts are at-least-once, so a retried load can create duplicate rows, and the only protection is a deduplication step you write and actually run.
Usercentrics → BigQuery · normal or broken
Working vs. broken, side by side — Usercentrics → BigQuery
Normal, not a fault
Whatever join key you decide on present on the consent record
Sent from your order system, gated per service
Deduplicated correctly
Nothing deduplicates for you. Streaming inserts are at-least-once, so a retried load can create duplicate rows, and the only protection is a deduplication step you write and actually run.
Reconciles with the source
Actually broken
Whatever join key you decide on missing on most records
Each service has its own consent state, so an identifier may be capturable for one destination and not another in the same session.
Sent from the browser
If Google is consented at 70% and Meta at 55%, their reported conversions are not measuring the same population. Comparing platform performance without stating that is comparing two different samples.
Counted twice, or not at all
This is not a bug — it is the point. Your warehouse counts orders; Google counts click-attributed conversions in its window; Meta counts differently again. When the four numbers differ, the warehouse is usually right about revenue and wrong about attribution, and knowing which question you are answering is the whole skill.
Nobody has reconciled it
Usercentrics → BigQuery · diagnose
Diagnostic order — Usercentrics → BigQuery
- 01
Count consent records carrying whatever join key you decide on
- 02
Follow one real conversion end to end
- 03
Report consent rate per service, not one overall figure
It is the number that makes cross-platform comparison honest, and almost nobody has it.
- 04
Reconcile warehouse order counts against each platform for one closed window
The gaps localize the problem: a gap against all platforms is a collection issue, a gap against one is that platform's window or matching.
- 05
Read the match rate, not the success message
BigQuery will not tell you anything is wrong. Verify by querying the table directly against your source system's own totals, and check for duplicate rows on the join key before trusting any aggregate.
Usercentrics → BigQuery · prove
How it gets proven — Usercentrics → BigQuery
Source of truth
Your order system, with per-service consent recorded at the time of the event.
- Whatever join key you decide on confirmed present on a live consent record.
- Warehouse order counts and revenue reconciled against the source system for a fully closed window, with duplicates checked on the join key.
- Per-service consented conversions reconciled against each platform's figures, with the per-service rates stated.
Usercentrics → BigQuery · free audit
What we check in the free audit
- Count consent records carrying whatever join key you decide on
- Follow one real conversion end to end
- Report consent rate per service, not one overall figure
- Reconcile warehouse order counts against each platform for one closed window
- Read the match rate, not the success message
Checked against
Your order system, with per-service consent recorded at the time of the event.
Free30 minutesNo obligation
Usercentrics → BigQuery · when not to buy
When you don't need this — Usercentrics → BigQuery
- Measure identifier coverage yourself first — pull your last hundred consent records and count how many carry whatever join key you decide on.
- If you run one ad platform, per-service granularity adds precision you have nowhere to use.
- If you have one store and one ad platform, a warehouse is infrastructure you will maintain for a reconciliation you could do in a spreadsheet.
Usercentrics → BigQuery · what we deliver
What gets built — Usercentrics → BigQuery
Identifier capture into Usercentrics
Record which services were consented on the event itself, so each destination's send is gated on its own permission.
Event source: your order system, gated per service
Send each destination only the conversions consented for that destination, and report the per-service consent rate.
Dispatch to BigQuery
Streaming inserts or scheduled batch loads from your order system, with the raw event retained alongside whatever you derive from it.
Reversals where they exist
Per-service withdrawal stops sends to that service only.
Written guarantee
95%+ tracking accuracy
Measured against Your order system, with per-service consent recorded at the time of the event.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Usercentrics → BigQuery questions, answered
Read per-service consent in the browser at checkout, write it onto the order server-side, and load it as one column per service.
Check your Usercentrics plan's export or API options. For attribution, consent recorded on the order is more useful than the log.
Almost always because whatever join key you decide on never reached the Usercentrics consent decision. Each service has its own consent state, so an identifier may be capturable for one destination and not another in the same session. Measure coverage before debugging the dispatch.
There is no vendor identifier here. You choose the key — order ID, user ID, click identifier, hashed email — and you live with the consequences. That is the whole appeal and the whole risk: nothing is standardised for you and nothing is silently wrong in a vendor's favour either.
Your order system, gated per service. Send each destination only the conversions consented for that destination, and report the per-service consent rate.
BigQuery will not tell you anything is wrong. Verify by querying the table directly against your source system's own totals, and check for duplicate rows on the join key before trusting any aggregate.
More on Usercentrics → BigQuery
- Stripe → BigQueryConnecting Stripe to BigQuery
- PayPal → BigQueryConnecting PayPal to BigQuery
- Shopify → BigQueryConnecting Shopify to BigQuery
RELATED GUIDES
Where Usercentrics → BigQuery fits in the rest of your tracking
- iubenda → BigQueryConnecting iubenda to BigQuery
- Cookiebot → BigQueryConnecting Cookiebot to BigQuery
- OneTrust → BigQueryConnecting OneTrust to BigQuery
- Usercentrics → SnowflakeConnecting Usercentrics to Snowflake
- Usercentrics → SegmentConnecting Usercentrics to Segment
- Financial servicesConversion tracking for financial services, built for the compliance review
- CookieYes → BigQueryConnecting CookieYes to BigQuery
- Osano → BigQueryConnecting Osano to BigQuery
Free · 30 min
Get Usercentrics and BigQuery joined properly
Free30 minutesNo obligation
