Skip to main content
Tock → SnowflakeIntegration guide

Connecting Tock to Snowflake

Tock made prepaid and ticketed dining normal, which makes it the rare restaurant platform where money genuinely changes hands at the moment of booking. Snowflake's distinguishing feature is that two organisations can join data without either copying it to the other, which turns measurement between partners from a legal negotiation into a query. The join between them succeeds or fails on one thing: whether whatever join key both parties agree on, usually a hashed identifier reaches the Tock reservation before the conversion happens, because Snowflake can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Tock to Snowflake: bookings by service date and payment type

Store one Snowflake row per Tock reservation version, with confirmation number, booking timestamp, service date, venue, party size, booking type, amount paid, refund amount and source, including marketplace origin. Dedupe on confirmation number keeping the latest state, keep booking and service dates separate, and join to POS checks for on-the-night revenue.

A warehouse is where Tock data becomes useful beyond the dashboard: reservations next to ad spend, POS sales and staffing, so a restaurant group can see whether a campaign filled seats or just moved bookings between nights. The modeling decisions matter more than the pipeline.

Store one row per reservation version, with confirmation number, booking timestamp, service date, venue, party size, booking type, amount paid, refund amount and source, including whether it came from Tock's marketplace. Reservations change: party sizes grow, dates move, tickets are refunded. Loads that append each change need a scheduled dedupe on confirmation number keeping the latest state, or a modified booking counts twice. Keep booking date and service date as separate columns, because marketing reports on the first and operations on the second.

Then join carefully. Tock holds the prepaid ticket, but the bar tab and add-ons on the night are in the POS, so revenue per booking needs a join to POS checks by date, table and party size, and that join will be approximate. If a partner, such as a hotel or a card issuer running a dining promotion, wants to measure results, sharing aggregates by venue and service date through Snowflake avoids exporting guest records.

Tock → Snowflake · what breaks

Why this join usually fails — Tock → Snowflake

  1. 01

    Whatever join key both parties agree on, usually a hashed identifier never reaches Tock

    The booking flow is Tock-hosted, and Tock also runs a consumer marketplace that fills seats you did not advertise for.

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

  3. 03

    A clean room that answers a question nobody agreed on

    The technology makes the join possible; it does not make the definitions match. Two organisations measuring the same campaign will disagree about what a conversion is, which window applies and whose attribution model governs — and the query will return a confident number for whichever set of assumptions got written into the SQL.

  4. 04

    Nothing reconciles afterwards

    Snowflake will not tell you anything is wrong. Verify by querying against each party's own totals and checking for duplicate rows on the join key before trusting any aggregate.

Tock → Snowflake · the fix

What working looks like — Tock → Snowflake

  • Whatever join key both parties agree on, usually a hashed identifier on every reservation

  • Conversions arriving in Snowflake

    The row lands in a table you own, joinable to your own data and — through a share or clean room — to a partner's, without either party moving raw records.

  • Reconciled against the source

Tock → Snowflake · architecture

How Tock and Snowflake actually connect

  1. 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. 2

    Snowflake needs a click to match

    A schema both sides agree on, consistent types, and identifiers normalised identically before hashing. The failure mode is not rejection but silent divergence — a timestamp in the wrong zone or a trimmed-versus-untrimmed email produces answers that look plausible.

  3. 3

    The identifier is the bridge

    Whatever join key both parties agree on, usually a hashed identifier, captured at the visit and carried into the Tock reservation.

  4. 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. 5

    Deduplication at the destination

    Nothing deduplicates for you. Loads are at-least-once, so a retried pipeline creates duplicate rows and the only protection is a deduplication step you write and actually schedule.

Tock → Snowflake · normal or broken

Working vs. broken, side by side — Tock → Snowflake

Normal, not a fault

  • Whatever join key both parties agree on, usually a hashed identifier present on the reservation

  • Sent from the Tock reservation record

  • Deduplicated correctly

    Nothing deduplicates for you. Loads are at-least-once, so a retried pipeline creates duplicate rows and the only protection is a deduplication step you write and actually schedule.

  • Reconciles with the source

Actually broken

  • Whatever join key both parties agree on, usually a hashed identifier 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

    The technology makes the join possible; it does not make the definitions match. Two organisations measuring the same campaign will disagree about what a conversion is, which window applies and whose attribution model governs — and the query will return a confident number for whichever set of assumptions got written into the SQL.

  • Nobody has reconciled it

Tock → Snowflake · diagnose

Diagnostic order — Tock → Snowflake

  1. 01

    Count reservations carrying whatever join key both parties agree on, usually a hashed identifier

  2. 02

    Follow one real conversion end to end

  3. 03

    Split reservations by payment type

    Prepaid, deposit, standard. Three conversion actions, three values, or the reporting is meaningless.

  4. 04

    Write down both parties' conversion definitions before writing any query

    Definition mismatch, not technology, is what makes most partner measurement projects produce numbers neither side trusts.

  5. 05

    Read the match rate, not the success message

    Snowflake will not tell you anything is wrong. Verify by querying against each party's own totals and checking for duplicate rows on the join key before trusting any aggregate.

Tock → Snowflake · prove

How it gets proven — Tock → Snowflake

Source of truth

Tock reservations by service date, split into prepaid tickets, deposits and standard bookings.

  • Whatever join key both parties agree on, usually a hashed identifier confirmed present on a live reservation.
  • Row counts and revenue reconciled against each source system for a closed window, with duplicates checked on the join key and both definitions documented.
  • Prepaid ticket revenue reconciled against imported conversions for a settled service period.

Tock → Snowflake · free audit

What we check in the free audit

  • Count reservations carrying whatever join key both parties agree on, usually a hashed identifier
  • Follow one real conversion end to end
  • Split reservations by payment type
  • Write down both parties' conversion definitions before writing any query
  • Read the match rate, not the success message

Checked against

Tock reservations by service date, split into prepaid tickets, deposits and standard bookings.

Get my free conversion tracking audit

Free30 minutesNo obligation

Tock → Snowflake · when not to buy

When you don't need this — Tock → Snowflake

  • Measure identifier coverage yourself first — pull your last hundred reservations and count how many carry whatever join key both parties agree on, usually a hashed identifier.
  • A restaurant taking only standard reservations has no revenue event here. Measure covers and stop.
  • If you have no partner to share data with and one cloud, a warehouse you already run does the same job. The sharing capability is what justifies this one.

Tock → Snowflake · what we deliver

What gets built — Tock → Snowflake

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

    Batch or streaming loads from your order system, with the raw event retained alongside anything 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.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Tock → Snowflake questions, answered

One row per reservation with separate booking and service dates, booking type, amount paid and refunds, deduped on confirmation number to keep the latest version.

Free · 30 min

Get Tock and Snowflake joined properly

Free30 minutesNo obligation