Skip to main content
Toast → BigQueryIntegration guide

Connecting Toast to BigQuery

Toast holds the check, and a restaurant check is the only place where an online order, a dine-in tab and a catering deposit are all denominated in the same money. 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 Toast order 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

Toast in BigQuery: business date, dining option, then clicks

Load Toast orders into BigQuery keyed by order GUID, with location, business date, dining option, totals, voids, comps and payments, partitioned by business date. Store surviving click identifiers in a separate table and track the share of online orders carrying one. Then compare online and dine-in orders by location against ad spend.

BigQuery is the best destination in this list for a Toast restaurant, because the questions worth answering are about the split between channels advertising can see and channels it cannot. Load orders keyed by the Toast order GUID with location, business date, dining option, check totals, voids, comps and payments. Partition by business date rather than timestamp, so late-night checks stay with the service they belong to.

Click identifiers belong only on online orders, and only if they survived the handoff to Toast's hosted ordering. Store them in a separate table keyed to the order, with a column for identifier type, and track the share of online orders that carry one. That share is the ceiling on what any ad platform can be told, and it usually drops whenever someone changes the ordering link.

Check whether your Toast account includes API access or a data export, and whether a connector you already use supports Toast; access differs by account. With the data loaded, compare weekly online orders by location against ad spend by location, and do the same for dine-in. If dine-in moves with spend and online does not, your ads are filling seats rather than baskets, and no conversion API will show it.

Toast → BigQuery · what breaks

Why this join usually fails — Toast → BigQuery

  1. 01

    Whatever join key you decide on never reaches Toast

    Toast Online Ordering runs on a Toast-hosted subdomain. Guests leave your site to place the order, so the click identifier is dropped at the handoff unless it is deliberately carried across.

  2. 02

    Dine-in revenue that advertising will never see

    Most restaurants take the majority of their money from people who walked in. That revenue is real, it is often driven by the same advertising, and there is no honest way to attribute it to a click. Say so rather than quietly excluding it.

  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.

Toast → BigQuery · the fix

What working looks like — Toast → BigQuery

  • Whatever join key you decide on on every order

  • 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

Toast → BigQuery · architecture

How Toast and BigQuery actually connect

  1. 1

    Toast holds the truth

    Order channel is the field that matters. Only the online channel can carry an advertising identifier at all; the rest is revenue you can measure but cannot attribute, and pretending otherwise inflates every ratio you calculate.

  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 Toast order.

  4. 4

    The event source decides reliability

    Send the closed check total, not the cart. Restaurant orders get modified at the pass constantly — an item 86'd, a substitution, a comped appetizer — and the cart figure is routinely wrong by the time the guest pays.

  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.

Toast → BigQuery · normal or broken

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

Normal, not a fault

  • Whatever join key you decide on present on the order

  • Sent from the Toast order feed

  • 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

    Toast Online Ordering runs on a Toast-hosted subdomain. Guests leave your site to place the order, so the click identifier is dropped at the handoff unless it is deliberately carried across.

  • Sent from the browser

    Most restaurants take the majority of their money from people who walked in. That revenue is real, it is often driven by the same advertising, and there is no honest way to attribute it to a click. Say so rather than quietly excluding it.

  • 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

Toast → BigQuery · diagnose

Diagnostic order — Toast → BigQuery

  1. 01

    Count orders carrying whatever join key you decide on

  2. 02

    Follow one real conversion end to end

  3. 03

    Split checks by dining option before anything else

    Online, dine-in, takeout, delivery, catering. If those are pooled, an increase in dine-in reads as advertising success and an increase in ad spend reads as waste.

  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.

Toast → BigQuery · prove

How it gets proven — Toast → BigQuery

Source of truth

Toast orders by business date with the dining option attached — online, dine-in, takeout, delivery or catering.

  • Whatever join key you decide on confirmed present on a live order.
  • Warehouse order counts and revenue reconciled against the source system for a fully closed window, with duplicates checked on the join key.
  • Closed checks on the online channel reconciled against imported conversions for a fully settled business week.

Toast → BigQuery · free audit

What we check in the free audit

  • Count orders carrying whatever join key you decide on
  • Follow one real conversion end to end
  • Split checks by dining option before anything else
  • Reconcile warehouse order counts against each platform for one closed window
  • Read the match rate, not the success message

Checked against

Toast orders by business date with the dining option attached — online, dine-in, takeout, delivery or catering.

Get my free conversion tracking audit

Free30 minutesNo obligation

Toast → BigQuery · when not to buy

When you don't need this — Toast → BigQuery

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry whatever join key you decide on.
  • If online ordering is a rounding error against your dine-in volume, the honest answer is that paid search cannot be measured on revenue here — measure it on order volume and stop there.
  • 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.

Toast → BigQuery · what we deliver

What gets built — Toast → BigQuery

  • Identifier capture into Toast

    Carry the identifier through the ordering link as a supported parameter and persist it against the guest record, so the check that closes hours later still knows which click produced it.

  • Event source: the Toast order feed

    Send the closed check total, not the cart. Restaurant orders get modified at the pass constantly — an item 86'd, a substitution, a comped appetizer — and the cart figure is routinely wrong by the time the guest pays.

  • 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

    Voids, comps and refunds should all reduce the figure. Restaurants void more than most businesses expect.

Written guarantee

95%+ tracking accuracy

Measured against Toast orders by business date with the dining option attached — online, dine-in, takeout, delivery or catering.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Toast → BigQuery questions, answered

Through Toast's API if your account has access, or a connector that supports Toast. Load orders keyed by order GUID and partitioned by business date.

Free · 30 min

Get Toast and BigQuery joined properly

Free30 minutesNo obligation