Skip to main content
Tock → MixpanelIntegration guide

Connecting Tock to Mixpanel

Tock made prepaid and ticketed dining normal, which makes it the rare restaurant platform where money genuinely changes hands at the moment of booking. Mixpanel is a product analytics tool, not an ad platform, which means it has no attribution model of its own and will faithfully report whatever event schema you give it — including a bad one. The join between them succeeds or fails on one thing: whether the distinct_id reaches the Tock reservation before the conversion happens, because Mixpanel can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Tock and Mixpanel: the funnel stops at the Tock link

Track the Book click as an outbound event in Mixpanel, then bring bookings back from Tock using an identifier Tock stores from your link, or the guest email matched to an identified distinct_id. Name events by type, use the Tock reservation ID as $insert_id, and put no revenue on standard reservations. It suits groups with membership accounts.

In Mixpanel, a restaurant's site funnel usually ends at a click on the Book button, because the next page is Tock's. Track that click as an outbound event with the experience or date selected, and you have the top of the funnel. The rest, ticket purchase or reservation, happens where Mixpanel's SDK does not run.

To close the funnel, the booking has to come back from Tock carrying something Mixpanel can match. The options, in order: an identifier you append to the Tock link that Tock stores on the reservation (check whether it does), or the guest email from the reservation matched to a distinct_id you already identified, which only works for guests with an account on your site. For most restaurants without sign-in, neither exists, and Mixpanel will only ever see the click.

That is why this pair suits a group with membership or loyalty accounts better than a single restaurant. If you do import bookings, name them by type (ticket purchased, deposit booking, reservation made), each with an $insert_id from the Tock reservation ID and no revenue on standard reservations. A no-show sent later as its own event keeps funnels honest about which bookings became visits.

Tock → Mixpanel · what breaks

Why this join usually fails — Tock → Mixpanel

  1. 01

    The distinct_id 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

    One event schema, two teams, no agreement

    Marketing names an event Purchase, the product team names it purchase_completed, and both are sent. Mixpanel treats them as unrelated, every funnel silently splits, and two teams spend a quarter arguing about which number is right when both are.

  4. 04

    Nothing reconciles afterwards

    Mixpanel shows events in the live view within moments. Check that the distinct_id matches the signed-in user rather than a lingering anonymous ID, because that is the failure that quietly breaks every cross-signup funnel.

Tock → Mixpanel · the fix

What working looks like — Tock → Mixpanel

  • The distinct_id on every reservation

  • Conversions arriving in Mixpanel

    The event lands on the user profile and becomes available in funnels, retention and cohort analysis.

  • Reconciled against the source

Tock → Mixpanel · architecture

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

    Mixpanel needs a click to match

    Mixpanel needs a distinct_id, an event name and its properties. Events without a distinct_id are rejected; events with the wrong one land on a stranger's profile.

  3. 3

    The identifier is the bridge

    The distinct_id, 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

    Mixpanel deduplicates on $insert_id within a time window. Without it, a retried server request creates a second event, and because Mixpanel is where product decisions get made, that inflation ends up in a roadmap rather than in an ad report.

Tock → Mixpanel · normal or broken

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

Normal, not a fault

  • The distinct_id present on the reservation

  • Sent from the Tock reservation record

  • Deduplicated correctly

    Mixpanel deduplicates on $insert_id within a time window. Without it, a retried server request creates a second event, and because Mixpanel is where product decisions get made, that inflation ends up in a roadmap rather than in an ad report.

  • Reconciles with the source

Actually broken

  • The distinct_id 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

    Marketing names an event Purchase, the product team names it purchase_completed, and both are sent. Mixpanel treats them as unrelated, every funnel silently splits, and two teams spend a quarter arguing about which number is right when both are.

  • Nobody has reconciled it

Tock → Mixpanel · diagnose

Diagnostic order — Tock → Mixpanel

  1. 01

    Count reservations carrying the distinct_id

  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

    List every event name in the project and look for near-duplicates

    Case differences, tense differences and synonyms are the usual finding, and they are cheap to fix before a year of data is built on them.

  5. 05

    Read the match rate, not the success message

    Mixpanel shows events in the live view within moments. Check that the distinct_id matches the signed-in user rather than a lingering anonymous ID, because that is the failure that quietly breaks every cross-signup funnel.

Tock → Mixpanel · prove

How it gets proven — Tock → Mixpanel

Source of truth

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

  • The distinct_id confirmed present on a live reservation.
  • Purchase events reconciled per transaction against your billing system, with identity aliasing verified across the signup boundary.
  • Prepaid ticket revenue reconciled against imported conversions for a settled service period.

Tock → Mixpanel · free audit

What we check in the free audit

  • Count reservations carrying the distinct_id
  • Follow one real conversion end to end
  • Split reservations by payment type
  • List every event name in the project and look for near-duplicates
  • 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 → Mixpanel · when not to buy

When you don't need this — Tock → Mixpanel

  • Measure identifier coverage yourself first — pull your last hundred reservations and count how many carry the distinct_id.
  • A restaurant taking only standard reservations has no revenue event here. Measure covers and stop.
  • If you already have the same events in a warehouse and nobody is running product analysis on them, adding Mixpanel adds a second source of truth rather than an answer.

Tock → Mixpanel · what we deliver

What gets built — Tock → Mixpanel

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

    The Mixpanel ingestion API, posted server-side from your backend with the distinct_id and event 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 → Mixpanel questions, answered

Not on Tock's pages directly. You can track clicks to Tock and, where a reservation can be matched by email or a passed identifier, import bookings server-side.

Free · 30 min

Get Tock and Mixpanel joined properly

Free30 minutesNo obligation