Skip to main content
SpotOn → BigQueryIntegration guide

Connecting SpotOn to BigQuery

SpotOn bundles the till with marketing and loyalty, which means the platform is running campaigns of its own against the same customers your advertising is paying for. 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 SpotOn 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

SpotOn transactions in BigQuery, split by channel and loyalty

Load one BigQuery row per SpotOn transaction: transaction ID, location, channel, local and UTC timestamps, gross, discounts, tips, refunds and loyalty or campaign code. Add click IDs and UTMs to online rows where ordering passes them; in-store rows stay null. Store totals with and without tips, and check whether your plan offers an API or only exports.

For a SpotOn merchant, BigQuery is where online orders, in-store transactions and ad spend can be compared on one calendar. Load one row per transaction with the SpotOn transaction ID, location, channel, timestamp in both the location's time zone and UTC, gross, discounts, tips, refunds, and the loyalty reward or campaign code. Check whether SpotOn offers an API, data export or reporting integration on your plan; that decides whether this is a daily pipeline or a weekly CSV.

For online orders, add the click IDs and UTMs captured on your site, if SpotOn's ordering flow can pass them through; for in-store rows those columns stay null, and that is correct. The join to ad platforms then happens only on online rows, while in-store effect is measured by comparing weeks or locations, not by pretending a till receipt has a gclid on it.

Tips are the column that breaks revenue comparisons. If ad platforms receive order value excluding tips and the warehouse sums totals including them, the two will never reconcile and someone will blame the tracking. Decide which value counts as revenue for advertising, store both, and name the columns so nobody has to guess.

SpotOn → BigQuery · what breaks

Why this join usually fails — SpotOn → BigQuery

  1. 01

    Whatever join key you decide on never reaches SpotOn

    Loyalty prompts arrive by SMS and email and are redeemed at the till, with no digital session anywhere in between.

  2. 02

    Two marketing systems claiming the same visit

    SpotOn's loyalty messages and your ad campaigns target overlapping people. Without the reward code on the transaction, both will count the same visit and neither report will mention the other.

  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.

SpotOn → BigQuery · the fix

What working looks like — SpotOn → BigQuery

  • Whatever join key you decide on on every transaction

  • 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

SpotOn → BigQuery · architecture

How SpotOn and BigQuery actually connect

  1. 1

    SpotOn holds the truth

    A visit driven by SpotOn's own loyalty push is retention working. Crediting it to paid acquisition inflates the campaign and hides which of the two systems is actually producing the visit.

  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 SpotOn transaction.

  4. 4

    The event source decides reliability

    Send online-channel transactions, with loyalty-driven visits marked and held out of the paid figure.

  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.

SpotOn → BigQuery · normal or broken

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

Normal, not a fault

  • Whatever join key you decide on present on the transaction

  • Sent from the SpotOn transaction record

  • 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

    Loyalty prompts arrive by SMS and email and are redeemed at the till, with no digital session anywhere in between.

  • Sent from the browser

    SpotOn's loyalty messages and your ad campaigns target overlapping people. Without the reward code on the transaction, both will count the same visit and neither report will mention the other.

  • 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

SpotOn → BigQuery · diagnose

Diagnostic order — SpotOn → BigQuery

  1. 01

    Count transactions carrying whatever join key you decide on

  2. 02

    Follow one real conversion end to end

  3. 03

    Count transactions carrying a loyalty code inside the paid figure

    The overlap is the overstatement, and it grows as the loyalty programme matures.

  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.

SpotOn → BigQuery · prove

How it gets proven — SpotOn → BigQuery

Source of truth

SpotOn transactions by date, flagged by whether a loyalty reward or platform campaign was involved.

  • Whatever join key you decide on confirmed present on a live transaction.
  • Warehouse order counts and revenue reconciled against the source system for a fully closed window, with duplicates checked on the join key.
  • Non-loyalty online transactions reconciled against imported conversions, with the overlap stated.

SpotOn → BigQuery · free audit

What we check in the free audit

  • Count transactions carrying whatever join key you decide on
  • Follow one real conversion end to end
  • Count transactions carrying a loyalty code inside the paid figure
  • Reconcile warehouse order counts against each platform for one closed window
  • Read the match rate, not the success message

Checked against

SpotOn transactions by date, flagged by whether a loyalty reward or platform campaign was involved.

Get my free conversion tracking audit

Free30 minutesNo obligation

SpotOn → BigQuery · when not to buy

When you don't need this — SpotOn → BigQuery

  • Measure identifier coverage yourself first — pull your last hundred transactions and count how many carry whatever join key you decide on.
  • If you run no loyalty programme, this collapses to an ordinary POS channel-filter problem.
  • 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.

SpotOn → BigQuery · what we deliver

What gets built — SpotOn → BigQuery

  • Identifier capture into SpotOn

    Record the reward or campaign code on the transaction so acquisition and retention revenue stay separable.

  • Event source: the SpotOn transaction record

    Send online-channel transactions, with loyalty-driven visits marked and held out of the paid figure.

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

Written guarantee

95%+ tracking accuracy

Measured against SpotOn transactions by date, flagged by whether a loyalty reward or platform campaign was involved.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

SpotOn → BigQuery questions, answered

Check whether your SpotOn plan exposes an API or scheduled export, then load transactions into a table keyed by transaction ID. Keep location, channel and loyalty code as columns.

Free · 30 min

Get SpotOn and BigQuery joined properly

Free30 minutesNo obligation