Connecting Tock to BigQuery
Tock made prepaid and ticketed dining normal, which makes it the rare restaurant platform where money genuinely changes hands at the moment of booking. 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 Tock reservation 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
Tock reservations in BigQuery: booking date, service date, paid amount
Load each Tock reservation into BigQuery with booking timestamp, service date, party size, booking type, amount charged and outcome, adding each status change as a new row and partitioning on service date. Keep whatever source data Tock provides, and flag marketplace bookings as unattributable rather than deleting them. Join weekly spend to prepaid revenue by booking week.
BigQuery is a good home for Tock data because a restaurant's reporting spans two dates that ad platforms collapse into one. Each row should carry the booking timestamp, the service date, party size, booking type (prepaid ticket, deposit, standard), amount charged, and later the outcome: seated, no-show, cancelled, refunded. Revenue by booking date answers the marketing question; revenue by service date answers the finance one.
The join to advertising is weak by design. Tock hosts the booking flow, and its marketplace fills seats you did not pay for. Store whatever source information Tock provides on the reservation, and check whether Tock passes UTM parameters or a custom field through from the link that started the booking. Mark marketplace bookings as unattributable in a column rather than deleting them, so the share of seats filled by Tock's own marketplace stays visible.
Partition on service date and keep each status change as a new row, because a reservation's value moves: a deposit becomes full revenue on arrival, or stays as a kept deposit on a no-show. A query joining weekly ad spend to prepaid revenue by booking week is the closest thing to attribution most restaurants will get, and it is honest about being that.
Tock → BigQuery · what breaks
Why this join usually fails — Tock → BigQuery
- 01
Whatever join key you decide on never reaches Tock
The booking flow is Tock-hosted, and Tock also runs a consumer marketplace that fills seats you did not advertise for.
- 02
Three booking types treated as one conversion
A prepaid tasting menu and a free two-top reservation are both a row in the same table and are not remotely the same event. Pooling them tells the bidding algorithm that the cheap one is worth the expensive one's value.
- 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.
Tock → BigQuery · the fix
What working looks like — Tock → BigQuery
Whatever join key you decide on on every reservation
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
Tock → BigQuery · architecture
How Tock and BigQuery actually connect
- 1
Tock holds the truth
Three different things. A prepaid ticket is revenue now. A deposit is a fraction of revenue plus a commitment. A standard booking is a promise worth nothing if the guest does not arrive.
- 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 Tock reservation.
- 4
The event source decides reliability
Send prepaid tickets at their paid value and standard bookings, if at all, as a separate lower-value event that is never summed with revenue.
- 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.
Tock → BigQuery · normal or broken
Working vs. broken, side by side — Tock → BigQuery
Normal, not a fault
Whatever join key you decide on present on the reservation
Sent from the Tock reservation 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
The booking flow is Tock-hosted, and Tock also runs a consumer marketplace that fills seats you did not advertise for.
Sent from the browser
A prepaid tasting menu and a free two-top reservation are both a row in the same table and are not remotely the same event. Pooling them tells the bidding algorithm that the cheap one is worth the expensive one's value.
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
Tock → BigQuery · diagnose
Diagnostic order — Tock → BigQuery
- 01
Count reservations carrying whatever join key you decide on
- 02
Follow one real conversion end to end
- 03
Split reservations by payment type
Prepaid, deposit, standard. Three conversion actions, three values, or the reporting is meaningless.
- 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.
Tock → BigQuery · prove
How it gets proven — Tock → BigQuery
Source of truth
Tock reservations by service date, split into prepaid tickets, deposits and standard bookings.
- Whatever join key you decide on confirmed present on a live reservation.
- Warehouse order counts and revenue reconciled against the source system for a fully closed window, with duplicates checked on the join key.
- Prepaid ticket revenue reconciled against imported conversions for a settled service period.
Tock → BigQuery · free audit
What we check in the free audit
- Count reservations carrying whatever join key you decide on
- Follow one real conversion end to end
- Split reservations by payment type
- Reconcile warehouse order counts against each platform for one closed window
- Read the match rate, not the success message
Checked against
Tock reservations by service date, split into prepaid tickets, deposits and standard bookings.
Free30 minutesNo obligation
Tock → BigQuery · when not to buy
When you don't need this — Tock → BigQuery
- Measure identifier coverage yourself first — pull your last hundred reservations and count how many carry whatever join key you decide on.
- A restaurant taking only standard reservations has no revenue event here. Measure covers and stop.
- 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.
Tock → BigQuery · what we deliver
What gets built — Tock → BigQuery
Identifier capture into Tock
Carry the identifier into the booking flow where supported, and mark marketplace-sourced reservations as unattributable.
Event source: the Tock reservation record
Send prepaid tickets at their paid value and standard bookings, if at all, as a separate lower-value event that is never summed with revenue.
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
Refunded tickets reverse; no-shows on prepaid tickets do not, because you kept the money.
Written guarantee
95%+ tracking accuracy
Measured against Tock reservations by service date, split into prepaid tickets, deposits and standard bookings.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Tock → BigQuery questions, answered
Check whether your Tock account offers an API, webhooks or scheduled exports, and load whichever you have keyed on the reservation ID.
Only where a tracking parameter survived into Tock's record. Otherwise compare spend and prepaid bookings over time, and label it as that.
Almost always because whatever join key you decide on never reached the Tock reservation. The booking flow is Tock-hosted, and Tock also runs a consumer marketplace that fills seats you did not advertise for. 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 Tock reservation record. Send prepaid tickets at their paid value and standard bookings, if at all, as a separate lower-value event that is never summed with revenue.
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 Tock → BigQuery
- Tock → Google AdsConnecting Tock to Google Ads
- Tock → MetaConnecting Tock to Meta Conversions API
- Tock → GA4Connecting Tock to GA4
Using Tock for bookings? How Tock bookings get tracked end to end
RELATED GUIDES
Where Tock → BigQuery fits in the rest of your tracking
- TheFork → BigQueryConnecting TheFork to BigQuery
- SevenRooms → BigQueryConnecting SevenRooms to BigQuery
- TableCheck → BigQueryConnecting TableCheck to BigQuery
- Tock → SnowflakeConnecting Tock to Snowflake
- Tock → SegmentConnecting Tock to Segment
- Event venuesConversion tracking for event venues, measured in signed contracts
- OpenTable → BigQueryConnecting OpenTable to BigQuery
- Yelp Guest Manager → BigQueryConnecting Yelp Guest Manager to BigQuery
Free · 30 min
Get Tock and BigQuery joined properly
Free30 minutesNo obligation
