Skip to main content
Osano → BigQueryIntegration guide

Connecting Osano to BigQuery

Osano handles consent alongside vendor risk and data subject requests, which means a deletion request arriving through it has consequences for data you already sent to ad platforms. 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 Osano consent and subject request 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

Osano consent state in BigQuery: a column on every row, deletable

In BigQuery, load each Osano consent decision as data, categories, timestamp, source and consent identifier, joined to orders and events by user ID or hashed email. Deletions are your own DML: watch the streaming buffer and time-travel window, partition and cluster by customer key, and keep a table of which customer data went to which ad platform.

BigQuery is where consent stops being a banner and becomes an audit trail. Load the Osano consent decision as data: the categories granted, the timestamp, the source (banner, Global Privacy Control signal, later change) and whatever consent identifier your Osano setup exposes. Join it to orders and events by your user ID or hashed email, so every row sent to an ad platform can be shown to have been sent under consent that existed at the time.

Deletion in BigQuery is your own DML, and it has two catches specific to the warehouse. Rows still in the streaming buffer cannot be updated or deleted until they are flushed, so a deletion run minutes after an insert can fail silently in a script that does not check. And deleted data remains recoverable through time travel and fail-safe for a period after deletion; know your dataset's time-travel window so you can state accurately when deleted data is actually gone.

Partition tables by date and cluster by the customer key you delete on, or every subject request scans everything. Most valuable of all, keep a table of which customer data went to which ad platform and when. When a request comes through Osano, that table is the list of downstream deletion requests to raise, and it is the thing an auditor asks for first.

Osano → BigQuery · what breaks

Why this join usually fails — Osano → BigQuery

  1. 01

    Whatever join key you decide on never reaches Osano

    Identifier capture is gated on consent, and a later deletion request means the identifier must be removed from your own records as well.

  2. 02

    Deletion requests that stop at your database

    The data was sent onward. A subject request handled only internally leaves hashed identifiers sitting in several ad platforms, which is the part an audit asks about and the part almost nobody has built.

  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.

Osano → BigQuery · the fix

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

Osano → BigQuery · architecture

How Osano and BigQuery actually connect

  1. 1

    Osano holds the truth

    A subject deletion request is not just a database operation. Conversions already sent to platforms carrying hashed identifiers may need deletion requests raised there too, and most implementations never wire that path.

  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 Osano consent and subject request record.

  4. 4

    The event source decides reliability

    Send consented conversions, and raise platform-side deletion requests when a subject request is received.

  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.

Osano → BigQuery · normal or broken

Working vs. broken, side by side — Osano → 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

    Identifier capture is gated on consent, and a later deletion request means the identifier must be removed from your own records as well.

  • Sent from the browser

    The data was sent onward. A subject request handled only internally leaves hashed identifiers sitting in several ad platforms, which is the part an audit asks about and the part almost nobody has built.

  • 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

Osano → BigQuery · diagnose

Diagnostic order — Osano → BigQuery

  1. 01

    Count consent records carrying whatever join key you decide on

  2. 02

    Follow one real conversion end to end

  3. 03

    Trace where a single customer's data actually went

    List every destination that received it. That list is what a deletion request has to reach, and producing it is usually the first time anyone has.

  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.

Osano → BigQuery · prove

How it gets proven — Osano → BigQuery

Source of truth

Your order system, with consent state and any deletion request recorded against the customer.

  • 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, plus a demonstrated deletion path to every destination that received customer data.

Osano → 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
  • Trace where a single customer's data actually went
  • 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 and any deletion request recorded against the customer.

Get my free conversion tracking audit

Free30 minutesNo obligation

Osano → BigQuery · when not to buy

When you don't need this — Osano → 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 send no customer identifiers to any platform, the deletion propagation problem does not arise — and that is worth confirming rather than assuming.
  • 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.

Osano → BigQuery · what we deliver

What gets built — Osano → BigQuery

  • Identifier capture into Osano

    Capture after consent, store the identifier where a deletion request can reach it, and wire the downstream deletion path before you need it.

  • Event source: your order system, gated on consent

    Send consented conversions, and raise platform-side deletion requests when a subject request is received.

  • 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

    Deletion requests should propagate to every destination that received the customer's data.

Written guarantee

95%+ tracking accuracy

Measured against Your order system, with consent state and any deletion request recorded against the customer.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Osano → BigQuery questions, answered

As its own table with categories, timestamp and source, joined to orders and events by customer key, so you can prove consent for every row sent to a platform.

Free · 30 min

Get Osano and BigQuery joined properly

Free30 minutesNo obligation