Connecting Tock to PostHog
Tock made prepaid and ticketed dining normal, which makes it the rare restaurant platform where money genuinely changes hands at the moment of booking. PostHog can be self-hosted, which changes the calculus entirely: the data stays on infrastructure you control, and so does the responsibility for everything that goes wrong with it. The join between them succeeds or fails on one thing: whether the distinct_id reaches the Tock reservation before the conversion happens, because PostHog can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Tock to PostHog: seeing which menus people abandon
Put the PostHog distinct_id on the Tock booking link, keep it with the reservation, and send a booking event through the capture API when Tock confirms, with booking type, party size, service date, amount paid and the confirmation number. Derive the event UUID from that number, and send modifications and cancellations as separate events.
PostHog can answer a question restaurants rarely see answered: which pages and offers lead people to book, and which lead them to look and leave. With Tock the funnel splits in two. Your site carries PostHog through the menu pages and the Reserve click, then Tock's hosted booking pages take over, out of reach of your snippet and session replay.
Join the halves by distinct_id. Put it on the Tock booking link, keep it with the reservation, and send a booking event from your server through the capture API when Tock confirms, with booking type, party size, service date, amount paid and the Tock confirmation number as a property. Supply a stable event UUID derived from that confirmation number so a retried send does not count twice. Modifications and cancellations should be separate events, since a funnel that only ever adds bookings overstates conversion.
The insight to look for is time-slot friction. Many people who click Reserve leave because the date they wanted was full, and that drop-off happens inside Tock where you cannot replay it. Comparing clicks to confirmed bookings by the page they came from, the day of week and the menu being promoted will usually show that availability, not your website, is where the bookings are lost.
Tock → PostHog · what breaks
Why this join usually fails — Tock → PostHog
- 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.
- 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
Self-hosting the analytics and the outage together
The advantage of owning the pipeline is that nothing blocks it. The cost is that when the ingestion instance fills its disk on a Saturday, the events are gone and nobody is paged. Hosted tools fail differently and more visibly.
- 04
Nothing reconciles afterwards
PostHog shows events in the activity view within moments. On a self-hosted instance, check the ingestion lag as well — events that are queued are not events that are lost, and the two need different responses.
Tock → PostHog · the fix
What working looks like — Tock → PostHog
The distinct_id on every reservation
Conversions arriving in PostHog
The event lands on the person profile and becomes available in insights, funnels and session replay.
Reconciled against the source
Tock → PostHog · architecture
How Tock and PostHog 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
PostHog needs a click to match
PostHog needs a distinct_id, an event name and its properties. Self-hosted instances additionally need the ingestion endpoint reachable and the project API key correct, which is a class of failure hosted tools do not have.
- 3
The identifier is the bridge
The distinct_id, 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
PostHog deduplicates on the event UUID where supplied. Without one, a retried batch duplicates, and on a self-hosted instance there is no vendor support desk to notice it for you.
Tock → PostHog · normal or broken
Working vs. broken, side by side — Tock → PostHog
Normal, not a fault
The distinct_id present on the reservation
Sent from the Tock reservation record
Deduplicated correctly
PostHog deduplicates on the event UUID where supplied. Without one, a retried batch duplicates, and on a self-hosted instance there is no vendor support desk to notice it for you.
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
The advantage of owning the pipeline is that nothing blocks it. The cost is that when the ingestion instance fills its disk on a Saturday, the events are gone and nobody is paged. Hosted tools fail differently and more visibly.
Nobody has reconciled it
Tock → PostHog · diagnose
Diagnostic order — Tock → PostHog
- 01
Count reservations carrying the distinct_id
- 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
Check ingestion health and disk before debugging any missing event
On self-hosted instances the answer is infrastructure far more often than it is instrumentation.
- 05
Read the match rate, not the success message
PostHog shows events in the activity view within moments. On a self-hosted instance, check the ingestion lag as well — events that are queued are not events that are lost, and the two need different responses.
Tock → PostHog · prove
How it gets proven — Tock → PostHog
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 ingestion lag checked over the same window.
- Prepaid ticket revenue reconciled against imported conversions for a settled service period.
Tock → PostHog · 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
- Check ingestion health and disk before debugging any missing event
- 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 → PostHog · when not to buy
When you don't need this — Tock → PostHog
- 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 have no reason to keep the data on your own infrastructure and no team to run it, the hosted product removes the only real downside of this one.
Tock → PostHog · what we deliver
What gets built — Tock → PostHog
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 PostHog
The PostHog capture API, posted server-side from your backend to your own instance or to PostHog Cloud.
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 → PostHog questions, answered
PostHog cannot record Tock's hosted pages. Pass the distinct_id through the booking link and send confirmed reservations back server-side to complete the funnel.
Often the date or time they wanted was unavailable. Compare clicks to confirmed bookings by promoted menu and day to see where availability is costing you.
Almost always because the distinct_id 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.
PostHog identifies by distinct_id with an alias call to merge anonymous and identified users. On a self-hosted instance you also control the ingestion endpoint, which means the identifier survives ad blockers that would kill a third-party pixel — one of the few genuine technical advantages available to a first-party setup.
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.
PostHog shows events in the activity view within moments. On a self-hosted instance, check the ingestion lag as well — events that are queued are not events that are lost, and the two need different responses.
More on Tock → PostHog
- 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 → PostHog fits in the rest of your tracking
- OpenTable → PostHogConnecting OpenTable to PostHog
- TableCheck → PostHogConnecting TableCheck to PostHog
- Yelp Guest Manager → PostHogConnecting Yelp Guest Manager to PostHog
- Tock → MixpanelConnecting Tock to Mixpanel
- Tock → GA4Connecting Tock to GA4
- Event venuesConversion tracking for event venues, measured in signed contracts
- Resy → PostHogConnecting Resy to PostHog
- SevenRooms → PostHogConnecting SevenRooms to PostHog
Free · 30 min
Get Tock and PostHog joined properly
Free30 minutesNo obligation
