Connecting TouchBistro to PostHog
TouchBistro is a restaurant point of sale where the online ordering and reservation modules bolt onto a business whose revenue is overwhelmingly walk-in and dine-in. 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 TouchBistro check 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
PostHog for TouchBistro ordering: test the menu, count the check
Pass the PostHog distinct_id into the TouchBistro ordering link, then send each closed online check server-side as a PostHog event with that distinct_id, location, order type, item count and value net of tips. Derive the event UUID from the check number, so menu-page experiments are judged on completed orders. Keep dine-in out.
PostHog is product analytics, and the product a TouchBistro restaurant controls is its own website: menu pages, the Order Online button, the reservation link. The ordering flow itself is hosted and probably cannot be instrumented. That makes PostHog useful for one job: changing the menu page and the path to ordering, then measuring the result on closed checks rather than on clicks.
To do it, keep the PostHog distinct_id from the site and pass it into the ordering link, then send each closed online check server-side as a PostHog event with that distinct_id, location, order type, item count and value net of tips. Derive the event UUID from the TouchBistro check number so a retried send does not record the order twice. With that join, an experiment on menu photos or the order button is judged on completed orders per location, not on button presses that may never have become food.
If the ordering flow drops the parameter, the distinct_id never returns and the checks land as anonymous events with no experiment variant attached; test with a real order before trusting a result. Keep dine-in checks out of person-level events, since no visitor exists for them. A single location without anyone running experiments gets nothing from this that basic site analytics does not already show.
TouchBistro → PostHog · what breaks
Why this join usually fails — TouchBistro → PostHog
- 01
The distinct_id never reaches TouchBistro
The terminal has no browser; online ordering runs on hosted pages; reservations arrive through a separate module again.
- 02
Order type lost in the export
Once dine-in and online are pooled, an increase in walk-in trade reads as advertising success and there is no way to recover the split after the fact.
- 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.
TouchBistro → PostHog · the fix
What working looks like — TouchBistro → PostHog
The distinct_id on every check
Conversions arriving in PostHog
The event lands on the person profile and becomes available in insights, funnels and session replay.
Reconciled against the source
TouchBistro → PostHog · architecture
How TouchBistro and PostHog actually connect
- 1
TouchBistro holds the truth
Order type is the only field that separates measurable revenue from unmeasurable revenue, and it is the first thing dropped when data is exported to a spreadsheet.
- 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 TouchBistro check.
- 4
The event source decides reliability
Send closed online checks net of tips, per location, with order type attached.
- 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.
TouchBistro → PostHog · normal or broken
Working vs. broken, side by side — TouchBistro → PostHog
Normal, not a fault
The distinct_id present on the check
Sent from the TouchBistro check 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 terminal has no browser; online ordering runs on hosted pages; reservations arrive through a separate module again.
Sent from the browser
Once dine-in and online are pooled, an increase in walk-in trade reads as advertising success and there is no way to recover the split after the fact.
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
TouchBistro → PostHog · diagnose
Diagnostic order — TouchBistro → PostHog
- 01
Count checks carrying the distinct_id
- 02
Follow one real conversion end to end
- 03
Verify order type survives every export in the chain
It is routinely lost between the POS and the reporting layer, and it cannot be reconstructed.
- 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.
TouchBistro → PostHog · prove
How it gets proven — TouchBistro → PostHog
Source of truth
TouchBistro checks by business date, split by order type — dine-in, takeout, delivery, online.
- The distinct_id confirmed present on a live check.
- Purchase events reconciled per transaction against your billing system, with ingestion lag checked over the same window.
- Closed online checks reconciled per location against imported conversions.
TouchBistro → PostHog · free audit
What we check in the free audit
- Count checks carrying the distinct_id
- Follow one real conversion end to end
- Verify order type survives every export in the chain
- Check ingestion health and disk before debugging any missing event
- Read the match rate, not the success message
Checked against
TouchBistro checks by business date, split by order type — dine-in, takeout, delivery, online.
Free30 minutesNo obligation
TouchBistro → PostHog · when not to buy
When you don't need this — TouchBistro → PostHog
- Measure identifier coverage yourself first — pull your last hundred checks and count how many carry the distinct_id.
- If online ordering is a rounding error against dine-in, measure it on order count and do not build a revenue import.
- 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.
TouchBistro → PostHog · what we deliver
What gets built — TouchBistro → PostHog
Identifier capture into TouchBistro
Capture on your own domain, carry into the online ordering flow, and keep order type on every record downstream.
Event source: the TouchBistro check record
Send closed online checks net of tips, per location, with order type attached.
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
Voids, comps and refunds reverse. Restaurants void more than most businesses expect.
Written guarantee
95%+ tracking accuracy
Measured against TouchBistro checks by business date, split by order type — dine-in, takeout, delivery, online.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
TouchBistro → PostHog questions, answered
Yes, if the distinct_id is carried into the ordering link and returned with the closed check, which you then send server-side. Without that hand-off you can only measure clicks on the order button.
Generate the event UUID from the TouchBistro check number, so a retried send carries the same identifier and is not recorded as a second order.
Almost always because the distinct_id never reached the TouchBistro check. The terminal has no browser; online ordering runs on hosted pages; reservations arrive through a separate module again. 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 TouchBistro check record. Send closed online checks net of tips, per location, with order type attached.
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 TouchBistro → PostHog
- Stripe → PostHogConnecting Stripe to PostHog
- PayPal → PostHogConnecting PayPal to PostHog
- Shopify → PostHogConnecting Shopify to PostHog
RELATED GUIDES
Where TouchBistro → PostHog fits in the rest of your tracking
- Lightspeed → PostHogConnecting Lightspeed to PostHog
- Revel → PostHogConnecting Revel Systems to PostHog
- SpotOn → PostHogConnecting SpotOn to PostHog
- TouchBistro → MixpanelConnecting TouchBistro to Mixpanel
- TouchBistro → AmplitudeConnecting TouchBistro to Amplitude
- JewelryConversion tracking for jewelry, measured in margin, not revenue
- Clover → PostHogConnecting Clover to PostHog
Free · 30 min
Get TouchBistro and PostHog joined properly
Free30 minutesNo obligation
