Skip to main content
Tock → AmplitudeIntegration guide

Connecting Tock to Amplitude

Tock made prepaid and ticketed dining normal, which makes it the rare restaurant platform where money genuinely changes hands at the moment of booking. Amplitude is built around behavioural cohorts, which makes the identity resolution and the event taxonomy load-bearing in a way they never are for an ad pixel. The join between them succeeds or fails on one thing: whether the user ID and device ID pair reaches the Tock reservation before the conversion happens, because Amplitude can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Tock in Amplitude: only if you run your own guest app

For a single Tock restaurant, Amplitude adds little. For a group with its own app, match each Tock booking to the Amplitude user by email or phone and send server-side events, separating prepaid ticket, deposit and standard reservation, with revenue only on paid ones. Add a visit completed event on the service date for retention.

Amplitude is built for behavior inside an app or site you control, and a Tock booking happens in Tock's flow. For a single restaurant the honest answer is that Amplitude adds little that Tock's own reporting on covers, tickets and repeat guests does not already show. The pair makes sense for a restaurant group with its own app or membership site, where a booking is one step in a longer guest relationship.

In that case, link each Tock booking to the Amplitude user by the email or phone the guest booked with, matched to the user ID your app assigns, then send booking events server-side. Use separate event types for prepaid ticket, deposit booking and standard reservation, with price and quantity on the paid ones only, so Amplitude revenue reflects money taken rather than seats promised. Time revenue on the booking date, and add a visit completed event on the service date if you want retention measured by actual visits.

Check whether Tock offers webhooks or an API on your account before designing any of this. If it does not, a daily export matched by email is slower but workable, since cohort and retention analysis does not need real-time data.

Tock → Amplitude · what breaks

Why this join usually fails — Tock → Amplitude

  1. 01

    The user ID and device ID pair 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

    Revenue events that carry no revenue

    Amplitude will happily accept a purchase event with no price field. The event count looks correct, the funnel looks correct, and the revenue reporting stays at zero — which people usually discover a quarter later when someone asks what a cohort is worth.

  4. 04

    Nothing reconciles afterwards

    Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.

Tock → Amplitude · the fix

What working looks like — Tock → Amplitude

  • The user ID and device ID pair on every reservation

  • Conversions arriving in Amplitude

    The event lands on the user, joins their behavioural history, and becomes available for cohorts, funnels and retention.

  • Reconciled against the source

Tock → Amplitude · architecture

How Tock and Amplitude 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

    Amplitude needs a click to match

    Amplitude needs a device or user identifier, an event type and its properties. Revenue events need the price and quantity fields specifically, or the revenue reporting stays empty while events flow normally.

  3. 3

    The identifier is the bridge

    The user ID and device ID pair, 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

    Amplitude deduplicates on insert_id. Omit it and a retried batch is counted twice, which shows up as a phantom spike that someone will eventually build a hypothesis on.

Tock → Amplitude · normal or broken

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

Normal, not a fault

  • The user ID and device ID pair present on the reservation

  • Sent from the Tock reservation record

  • Deduplicated correctly

    Amplitude deduplicates on insert_id. Omit it and a retried batch is counted twice, which shows up as a phantom spike that someone will eventually build a hypothesis on.

  • Reconciles with the source

Actually broken

  • The user ID and device ID pair 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

    Amplitude will happily accept a purchase event with no price field. The event count looks correct, the funnel looks correct, and the revenue reporting stays at zero — which people usually discover a quarter later when someone asks what a cohort is worth.

  • Nobody has reconciled it

Tock → Amplitude · diagnose

Diagnostic order — Tock → Amplitude

  1. 01

    Count reservations carrying the user ID and device ID pair

  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

    Check a purchase event for the price and quantity fields specifically

    Not whether the event arrived — whether the revenue fields are populated, in the exact names Amplitude expects.

  5. 05

    Read the match rate, not the success message

    Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.

Tock → Amplitude · prove

How it gets proven — Tock → Amplitude

Source of truth

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

  • The user ID and device ID pair confirmed present on a live reservation.
  • Revenue reconciled per transaction against your billing system, with identity merge behaviour verified across signup.
  • Prepaid ticket revenue reconciled against imported conversions for a settled service period.

Tock → Amplitude · free audit

What we check in the free audit

  • Count reservations carrying the user ID and device ID pair
  • Follow one real conversion end to end
  • Split reservations by payment type
  • Check a purchase event for the price and quantity fields specifically
  • 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 → Amplitude · when not to buy

When you don't need this — Tock → Amplitude

  • Measure identifier coverage yourself first — pull your last hundred reservations and count how many carry the user ID and device ID pair.
  • A restaurant taking only standard reservations has no revenue event here. Measure covers and stop.
  • If nobody is building cohorts or retention analysis, this is a large amount of instrumentation for reporting a dashboard already gives you.

Tock → Amplitude · what we deliver

What gets built — Tock → Amplitude

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

    The Amplitude HTTP V2 API, posted server-side with the identity, event type and properties.

  • 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 → Amplitude questions, answered

Check whether your Tock account provides an API, webhooks or exports; any of them can feed Amplitude server-side, matched to users by email or phone.

Free · 30 min

Get Tock and Amplitude joined properly

Free30 minutesNo obligation