Skip to main content
Antavo → BigQueryIntegration guide

Connecting Antavo to BigQuery

Antavo runs enterprise loyalty across online and in-store, which makes the redemption pattern span channels your advertising cannot see. 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 Antavo loyalty transaction 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

Antavo in BigQuery: the only place earn and burn meet

Model Antavo in BigQuery as one row per earn or burn event keyed on the Antavo transaction ID, with customer ID, channel, points, monetary equivalent and order ID, deduplicated before aggregating. Write click IDs or UTMs from the first online session onto the member record so twelve-month member cost can be tied to campaigns.

BigQuery is where an Antavo program can finally be measured end to end, because it is the one place online acquisition, online orders and in-store redemption can sit in the same query. The useful model is one row per earn or burn event, keyed on the Antavo transaction ID, carrying the customer ID, channel (web, app, store), points, the monetary equivalent and the order ID where one exists.

Attribution then comes from what you stored at enrollment. If the member's first online session captured gclid, fbclid or UTMs and you wrote them onto the member record, you can ask what a paid-social member costs the program over twelve months, redemptions included. Without that stored click data, the warehouse can tell you redemption liability but not which campaigns created it.

Two failure points matter here. Points and currency need fixed types from day one; a points field that arrives as a string from one feed and an integer from another breaks every liability sum. And webhook retries create duplicate rows, so deduplicate on the Antavo transaction ID before any aggregate. Check whether Antavo offers a scheduled export or warehouse sync on your contract, or whether you pull via its API and webhooks yourself.

Antavo → BigQuery · what breaks

Why this join usually fails — Antavo → BigQuery

  1. 01

    Whatever join key you decide on never reaches Antavo

    Redemption happens at a till or in an app with no browser session of yours.

  2. 02

    Earning measured online, redemption spent in store

    The half of the programme that costs money happens where your web analytics cannot see it. Reporting only the online side shows a loyalty programme with all of the engagement and none of the liability.

  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.

Antavo → BigQuery · the fix

What working looks like — Antavo → BigQuery

  • Whatever join key you decide on on every redemption

  • 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

Antavo → BigQuery · architecture

How Antavo and BigQuery actually connect

  1. 1

    Antavo holds the truth

    Points earned online and redeemed in store are the normal pattern for enterprise loyalty. Online-only measurement sees the earning and never the redemption, which makes the programme look free.

  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 Antavo loyalty transaction.

  4. 4

    The event source decides reliability

    Send online orders net of redemption, with cross-channel earn and burn reported separately.

  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.

Antavo → BigQuery · normal or broken

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

Normal, not a fault

  • Whatever join key you decide on present on the redemption

  • Sent from your order system with loyalty attributes attached

  • 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

    Redemption happens at a till or in an app with no browser session of yours.

  • Sent from the browser

    The half of the programme that costs money happens where your web analytics cannot see it. Reporting only the online side shows a loyalty programme with all of the engagement and none of the liability.

  • 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

Antavo → BigQuery · diagnose

Diagnostic order — Antavo → BigQuery

  1. 01

    Count redemptions carrying whatever join key you decide on

  2. 02

    Follow one real conversion end to end

  3. 03

    Measure the share of redemptions that happen off the website

    In enterprise retail it is usually the majority, and it is the number that makes the programme's cost real.

  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.

Antavo → BigQuery · prove

How it gets proven — Antavo → BigQuery

Source of truth

Orders across all channels, with loyalty earn and burn recorded per transaction.

  • Whatever join key you decide on confirmed present on a live redemption.
  • Warehouse order counts and revenue reconciled against the source system for a fully closed window, with duplicates checked on the join key.
  • Online orders reconciled net of redemption, with off-channel redemption reported as programme cost.

Antavo → BigQuery · free audit

What we check in the free audit

  • Count redemptions carrying whatever join key you decide on
  • Follow one real conversion end to end
  • Measure the share of redemptions that happen off the website
  • Reconcile warehouse order counts against each platform for one closed window
  • Read the match rate, not the success message

Checked against

Orders across all channels, with loyalty earn and burn recorded per transaction.

Get my free conversion tracking audit

Free30 minutesNo obligation

Antavo → BigQuery · when not to buy

When you don't need this — Antavo → BigQuery

  • Measure identifier coverage yourself first — pull your last hundred redemptions and count how many carry whatever join key you decide on.
  • Online-only retailers see both sides and do not have this blind spot.
  • 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.

Antavo → BigQuery · what we deliver

What gets built — Antavo → BigQuery

  • Identifier capture into Antavo

    Attribute online acquisition only, and report cross-channel redemption as a cost of the programme rather than trying to attribute it.

  • Event source: your order system with loyalty attributes attached

    Send online orders net of redemption, with cross-channel earn and burn reported separately.

  • 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

    Refunds reverse and reclaim points.

Written guarantee

95%+ tracking accuracy

Measured against Orders across all channels, with loyalty earn and burn recorded per transaction.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Antavo → BigQuery questions, answered

Either through an export or sync Antavo provides on your plan, or by relaying its webhooks and API data into tables you define. Confirm with Antavo which is available before designing the load.

Free · 30 min

Get Antavo and BigQuery joined properly

Free30 minutesNo obligation