Connecting Olo to BigQuery
Olo sits between a multi-location brand and every channel it sells through, which makes it the only place where a direct order and a marketplace order can be compared on the same terms. 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 Olo 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
Olo to BigQuery: direct versus Rails by store, in your own tables
Load every Olo order into BigQuery with order ID, store, channel, handoff mode, order source and status, classifying direct versus Rails at load time. Keep direct-path click identifiers in their own table keyed on order ID, map Olo store IDs to internal restaurant numbers, update status on cancellations instead of deleting, and reconcile direct orders per store.
BigQuery is the cleanest place to do the split the whole Olo measurement depends on. Load every order with the Olo order ID, store, channel, handoff mode, order source and status, and classify direct versus Rails in a column at load time from the source field, not later in a dashboard. Store the click identifiers captured on the direct-ordering path in their own table keyed on the order ID. Rails orders will have none, and the table should make that obvious rather than leaving nulls to be guessed at.
Keep a store dimension table that maps Olo's store identifiers to your internal restaurant numbers, regions and opening dates. Per-location reporting is the point, and it breaks when a store is remodeled, relocated or reassigned in Olo and the join quietly drops its history. Store marketplace commission per order where you have it, so direct and Rails orders can be compared on margin rather than on gross value.
From there, reconcile direct orders per store against each ad platform for a closed week, and report Rails volume as a named exclusion alongside it. A cancellation or refund should update the order row's status, not delete it, so per-location totals stay explainable.
Olo → BigQuery · what breaks
Why this join usually fails — Olo → BigQuery
- 01
Whatever join key you decide on never reaches Olo
Olo's ordering experience is frequently hosted on an Olo subdomain, and marketplace orders arrive through an API with no browser session behind them whatsoever.
- 02
Marketplace orders inflating the direct channel
Rails is designed to make marketplace demand look like your own order flow, which is excellent for operations and ruinous for measurement. Left unsplit, a good week on DoorDash reads as a good week for your ad account.
- 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.
- 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.
Olo → BigQuery · the fix
What working looks like — Olo → 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
Olo → BigQuery · architecture
How Olo and BigQuery actually connect
- 1
Olo holds the truth
Rails pulls DoorDash, Uber Eats and Grubhub orders into the same order stream as your own website. They land in one feed and they are not the same thing: one carries a click you paid for, the other carries a marketplace commission and no identifier at all.
- 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
The identifier is the bridge
Whatever join key you decide on, captured at the visit and carried into the Olo order.
- 4
The event source decides reliability
Send per-location. A brand with two hundred restaurants running one national campaign learns nothing from a single national conversion number.
- 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.
Olo → BigQuery · normal or broken
Working vs. broken, side by side — Olo → BigQuery
Normal, not a fault
Whatever join key you decide on present on the order
Sent from the Olo order webhook
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
Olo's ordering experience is frequently hosted on an Olo subdomain, and marketplace orders arrive through an API with no browser session behind them whatsoever.
Sent from the browser
Rails is designed to make marketplace demand look like your own order flow, which is excellent for operations and ruinous for measurement. Left unsplit, a good week on DoorDash reads as a good week for your ad account.
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
Olo → BigQuery · diagnose
Diagnostic order — Olo → BigQuery
- 01
Count orders carrying whatever join key you decide on
- 02
Follow one real conversion end to end
- 03
Separate direct from Rails at the source
Do this before any tracking work. The split is the measurement; everything after it is plumbing.
- 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.
- 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.
Olo → BigQuery · prove
How it gets proven — Olo → BigQuery
Source of truth
Olo orders by location and by channel, with direct and Rails-sourced marketplace orders held apart.
- 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.
- Direct-channel orders per location reconciled against imported conversions, with Rails volume reported as a named exclusion.
Olo → 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
- Separate direct from Rails at the source
- Reconcile warehouse order counts against each platform for one closed window
- Read the match rate, not the success message
Checked against
Olo orders by location and by channel, with direct and Rails-sourced marketplace orders held apart.
Free30 minutesNo obligation
Olo → BigQuery · when not to buy
When you don't need this — Olo → BigQuery
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry whatever join key you decide on.
- If your Olo volume is overwhelmingly Rails, the campaign question is about marketplace placement and commission, and no amount of conversion tracking will answer it.
- 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.
Olo → BigQuery · what we deliver
What gets built — Olo → BigQuery
Identifier capture into Olo
Persist the identifier on the direct-ordering path only, and mark Rails-sourced orders explicitly as unattributable rather than letting them dilute the figure.
Event source: the Olo order webhook
Send per-location. A brand with two hundred restaurants running one national campaign learns nothing from a single national conversion number.
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
Cancelled and refunded orders should reduce the figure, per location.
Written guarantee
95%+ tracking accuracy
Measured against Olo orders by location and by channel, with direct and Rails-sourced marketplace orders held apart.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Olo → BigQuery questions, answered
Classify each order at load time from its source field into direct or Rails, store it as a column, and keep click identifiers in a separate table that Rails orders will never join to.
Usually a store mapping change in Olo that the location dimension table did not track. Maintain the mapping explicitly with effective dates.
Almost always because whatever join key you decide on never reached the Olo order. Olo's ordering experience is frequently hosted on an Olo subdomain, and marketplace orders arrive through an API with no browser session behind them whatsoever. Measure coverage before debugging the dispatch.
There is no vendor identifier here. You choose the key — order ID, user ID, click identifier, hashed email — and you live with the consequences. That is the whole appeal and the whole risk: nothing is standardised for you and nothing is silently wrong in a vendor's favour either.
The Olo order webhook. Send per-location. A brand with two hundred restaurants running one national campaign learns nothing from a single national conversion number.
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.
More on Olo → BigQuery
- Olo → Google AdsConnecting Olo to Google Ads
- Olo → MetaConnecting Olo to Meta Conversions API
- Olo → GA4Connecting Olo to GA4
RELATED GUIDES
Where Olo → BigQuery fits in the rest of your tracking
- ChowNow → BigQueryConnecting ChowNow to BigQuery
- Popmenu → BigQueryConnecting Popmenu to BigQuery
- DoorDash → BigQueryConnecting DoorDash to BigQuery
- Olo → SnowflakeConnecting Olo to Snowflake
- Olo → SegmentConnecting Olo to Segment
- RestaurantsConversion tracking for restaurants, across reservations, orders and calls
- Square Online → BigQueryConnecting Square Online to BigQuery
- Toast → BigQueryConnecting Toast to BigQuery
Free · 30 min
Get Olo and BigQuery joined properly
Free30 minutesNo obligation
