Skip to main content
iubenda → BigQueryIntegration guide

Connecting iubenda to BigQuery

iubenda bundles consent management with generated privacy policies and cookie declarations, which means the published document and the actual behaviour can drift apart silently. 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 iubenda consent record 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

iubenda to BigQuery: consent state as a column, not a guess

BigQuery is your own storage, so record every conversion with the iubenda consent state that applied: separate boolean columns for measurement, advertising and the US sale or sharing opt-out, timestamped and keyed on order ID. Load withdrawals as new rows, filter ad exports on the advertising column, and compare every BigQuery export destination against iubenda's published documents.

BigQuery is the one destination here that is not a third party receiving your visitors' data; it is your own storage. That changes the iubenda question from whether to send to what to record. The useful build stores every conversion with the consent state that applied when it happened, so any later export to an ad platform can be filtered on a column rather than reconstructed from memory.

Record the iubenda preference per purpose, measurement and advertising, plus the US opt-out of sale or sharing if you run iubenda's US configuration, as separate boolean columns with the timestamp it was expressed. Key them on your order ID, and on the consent record ID if you use iubenda's Consent Database. Do not store one consented flag: a visitor who allowed measurement but refused advertising is exactly the row that must stay out of an ad upload. Load withdrawals as new rows with their own timestamps instead of updating the original, so you can show what was true when a conversion was sent.

The check unique to this pair: list every destination your pipelines export to from BigQuery and compare it with iubenda's published privacy and cookie documents. Reverse-ETL jobs an analyst added rarely make it into the policy, and iubenda's site scan never sees server-to-server sharing at all, so this list is the only place those recipients show up.

iubenda → BigQuery · what breaks

Why this join usually fails — iubenda → BigQuery

  1. 01

    Whatever join key you decide on never reaches iubenda

    Blocking runs before scripts execute, and the declaration is generated from a scan that may be months old.

  2. 02

    A cookie declaration that no longer matches the site

    Every new conversion destination is a new data-sharing relationship. If the declaration was generated before it was added, the site is disclosing to a partner its own published document does not name.

  3. 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.

  4. 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.

iubenda → BigQuery · the fix

What working looks like — iubenda → 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

iubenda → BigQuery · architecture

How iubenda and BigQuery actually connect

  1. 1

    iubenda holds the truth

    The cookie declaration lists what the site sets. Adding a new conversion destination adds cookies and data sharing the declaration does not mention until somebody updates it.

  2. 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. 3

    The identifier is the bridge

    Whatever join key you decide on, captured at the visit and carried into the iubenda consent record.

  4. 4

    The event source decides reliability

    Send consented conversions, with the destination list matching the published declaration.

  5. 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.

iubenda → BigQuery · normal or broken

Working vs. broken, side by side — iubenda → BigQuery

Normal, not a fault

  • Whatever join key you decide on present on the consent record

  • Sent from your order system, gated on consent

  • 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

    Blocking runs before scripts execute, and the declaration is generated from a scan that may be months old.

  • Sent from the browser

    Every new conversion destination is a new data-sharing relationship. If the declaration was generated before it was added, the site is disclosing to a partner its own published document does not name.

  • 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

iubenda → BigQuery · diagnose

Diagnostic order — iubenda → BigQuery

  1. 01

    Count consent records carrying whatever join key you decide on

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare your destination list against the published declaration

    Five minutes, and it is almost never done after a new integration goes live.

  4. 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.

  5. 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.

iubenda → BigQuery · prove

How it gets proven — iubenda → BigQuery

Source of truth

Your order system, with consent state attached to 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.
  • Consented conversions reconciled, with the declaration verified against the live destination list.

iubenda → 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
  • Compare your destination list against the published declaration
  • 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 consent state attached to the event.

Get my free conversion tracking audit

Free30 minutesNo obligation

iubenda → BigQuery · when not to buy

When you don't need this — iubenda → BigQuery

  • Measure identifier coverage yourself first — pull your last hundred consent records and count how many carry whatever join key you decide on.
  • Update the declaration before adding a destination, not after. That order is cheaper than the alternative.
  • 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.

iubenda → BigQuery · what we deliver

What gets built — iubenda → BigQuery

  • Identifier capture into iubenda

    Capture after consent, and re-run the scan whenever a destination is added.

  • Event source: your order system, gated on consent

    Send consented conversions, with the destination list matching the published declaration.

  • 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

    Withdrawal stops future sends.

Written guarantee

95%+ tracking accuracy

Measured against Your order system, with consent state attached to the event.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

iubenda → BigQuery questions, answered

Capture the per-purpose preference in the browser when it is expressed, send it with the conversion to your server, and write it as separate columns with a timestamp next to the order ID. Keep withdrawals as new rows.

Free · 30 min

Get iubenda and BigQuery joined properly

Free30 minutesNo obligation