Skip to main content
Termly → BigQueryIntegration guide

Connecting Termly to BigQuery

Termly bundles consent management with policy generation, which means small businesses frequently end up with a privacy policy describing data practices they do not actually have. 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 Termly 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

Termly consent records in BigQuery: the gate for every upload

Store Termly consent in BigQuery as rows with consent ID, timestamp, categories, region, banner version and order ID, from Termly's export or API or your own capture of its browser callback. Join consent ID to order ID at order creation, build one view of consented orders that every upload reads, and append withdrawals rather than overwriting.

A warehouse is where consent becomes something you can prove rather than assert. Store consent as rows: a consent or visitor ID, timestamp, the categories accepted, the region, the banner or policy version shown, and, when the visitor converts, the order ID. Check whether your Termly plan lets you export consent logs or read them by API; if not, capture the choice from Termly's browser callback into your own first-party collection at the moment it is made.

The join is consent ID to order ID, made when the order is created. With that in place, the consent rate the source spec asks you to report is a query, broken out by region and by landing page. More importantly, BigQuery can become the single gate for every outbound conversion upload: a view of orders whose advertising consent was granted and not later withdrawn, which every upload job reads instead of each job checking consent its own way.

Keep history rather than overwriting. When a visitor withdraws consent, add a row; do not update the original, because the question an auditor asks is what consent you held at the time you sent a given conversion. Also confirm that the published policy covers storing consent and order data in your warehouse, and that any vendor that reads from BigQuery is disclosed too.

Termly → BigQuery · what breaks

Why this join usually fails — Termly → BigQuery

  1. 01

    Whatever join key you decide on never reaches Termly

    Default blocking configurations stop capture before consent on the first page view.

  2. 02

    A generated policy that does not match reality

    Generated policies are templates. Adding a new conversion destination without updating the policy means you are disclosing data to a partner your own published statement does not mention, which is a real exposure that no tracking configuration fixes.

  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.

Termly → BigQuery · the fix

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

Termly → BigQuery · architecture

How Termly and BigQuery actually connect

  1. 1

    Termly holds the truth

    The published policy is a statement about what you do. If it says you share data with categories of partner you do not use, or omits ones you do, the mismatch is the compliance exposure — not the banner.

  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 Termly consent record.

  4. 4

    The event source decides reliability

    Send consented conversions with the consent rate stated.

  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.

Termly → BigQuery · normal or broken

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

    Default blocking configurations stop capture before consent on the first page view.

  • Sent from the browser

    Generated policies are templates. Adding a new conversion destination without updating the policy means you are disclosing data to a partner your own published statement does not mention, which is a real exposure that no tracking configuration fixes.

  • 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

Termly → BigQuery · diagnose

Diagnostic order — Termly → 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 what the policy discloses

    Every platform you send conversions to should appear. This is a five-minute check and it is almost never done after a new integration.

  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.

Termly → BigQuery · prove

How it gets proven — Termly → BigQuery

Source of truth

Your order system, with consent state attached.

  • 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 destination list verified against the published policy.

Termly → 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 what the policy discloses
  • 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.

Get my free conversion tracking audit

Free30 minutesNo obligation

Termly → BigQuery · when not to buy

When you don't need this — Termly → BigQuery

  • Measure identifier coverage yourself first — pull your last hundred consent records and count how many carry whatever join key you decide on.
  • Before adding any new conversion destination, update the policy. That order matters, and it 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.

Termly → BigQuery · what we deliver

What gets built — Termly → BigQuery

  • Identifier capture into Termly

    Capture after consent, and make sure the policy actually describes the destinations you send conversions to.

  • Event source: your order system, gated on consent

    Send consented conversions with the consent rate stated.

  • 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.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Termly → BigQuery questions, answered

Check whether your Termly plan offers consent log export or API access. If not, capture each choice from Termly's browser callback into your own collection and load that.

Free · 30 min

Get Termly and BigQuery joined properly

Free30 minutesNo obligation