Connecting SpotOn to PostHog
SpotOn bundles the till with marketing and loyalty, which means the platform is running campaigns of its own against the same customers your advertising is paying for. 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 SpotOn transaction 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
SpotOn and PostHog: one distinct_id from menu page to online order
Pass the PostHog distinct_id into the SpotOn ordering link and, if it survives onto the order, capture order_completed server-side with that distinct_id, total, location, loyalty code and a stable UUID built from the order number. Send in-store transactions only for resolvable loyalty members, under a separate event like instore_visit, and never anonymous till tickets.
PostHog is the right tool when you want to see where guests drop off between menu browsing and a completed online order, and whether SpotOn loyalty members behave differently on the site from new visitors. The break is the hop onto the SpotOn ordering page, where your PostHog snippet probably does not run, so the funnel shows menu views and then a cliff.
Close it server-side: pass the PostHog distinct_id into the ordering link, check whether it survives onto the SpotOn order record, and when the order arrives capture an order_completed event with that distinct_id, the order total, location and the loyalty code, using the SpotOn order number to build a stable event UUID so a retried batch does not duplicate. If the ID does not survive, identify the guest by hashed email and alias it after login on your own site.
In-store transactions can go in as well, but only for loyalty members you can resolve to an existing person profile, and under a separate event name such as instore_visit. That lets you answer a question no ad platform can: how many web visitors later show up at the till. Do not send anonymous till tickets; they create one-event persons that inflate user counts.
SpotOn → PostHog · what breaks
Why this join usually fails — SpotOn → PostHog
- 01
The distinct_id never reaches SpotOn
Loyalty prompts arrive by SMS and email and are redeemed at the till, with no digital session anywhere in between.
- 02
Two marketing systems claiming the same visit
SpotOn's loyalty messages and your ad campaigns target overlapping people. Without the reward code on the transaction, both will count the same visit and neither report will mention the other.
- 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.
SpotOn → PostHog · the fix
What working looks like — SpotOn → PostHog
The distinct_id on every transaction
Conversions arriving in PostHog
The event lands on the person profile and becomes available in insights, funnels and session replay.
Reconciled against the source
SpotOn → PostHog · architecture
How SpotOn and PostHog actually connect
- 1
SpotOn holds the truth
A visit driven by SpotOn's own loyalty push is retention working. Crediting it to paid acquisition inflates the campaign and hides which of the two systems is actually producing the visit.
- 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 SpotOn transaction.
- 4
The event source decides reliability
Send online-channel transactions, with loyalty-driven visits marked and held out of the paid figure.
- 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.
SpotOn → PostHog · normal or broken
Working vs. broken, side by side — SpotOn → PostHog
Normal, not a fault
The distinct_id present on the transaction
Sent from the SpotOn transaction 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
Loyalty prompts arrive by SMS and email and are redeemed at the till, with no digital session anywhere in between.
Sent from the browser
SpotOn's loyalty messages and your ad campaigns target overlapping people. Without the reward code on the transaction, both will count the same visit and neither report will mention the other.
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
SpotOn → PostHog · diagnose
Diagnostic order — SpotOn → PostHog
- 01
Count transactions carrying the distinct_id
- 02
Follow one real conversion end to end
- 03
Count transactions carrying a loyalty code inside the paid figure
The overlap is the overstatement, and it grows as the loyalty programme matures.
- 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.
SpotOn → PostHog · prove
How it gets proven — SpotOn → PostHog
Source of truth
SpotOn transactions by date, flagged by whether a loyalty reward or platform campaign was involved.
- The distinct_id confirmed present on a live transaction.
- Purchase events reconciled per transaction against your billing system, with ingestion lag checked over the same window.
- Non-loyalty online transactions reconciled against imported conversions, with the overlap stated.
SpotOn → PostHog · free audit
What we check in the free audit
- Count transactions carrying the distinct_id
- Follow one real conversion end to end
- Count transactions carrying a loyalty code inside the paid figure
- Check ingestion health and disk before debugging any missing event
- Read the match rate, not the success message
Checked against
SpotOn transactions by date, flagged by whether a loyalty reward or platform campaign was involved.
Free30 minutesNo obligation
SpotOn → PostHog · when not to buy
When you don't need this — SpotOn → PostHog
- Measure identifier coverage yourself first — pull your last hundred transactions and count how many carry the distinct_id.
- If you run no loyalty programme, this collapses to an ordinary POS channel-filter problem.
- 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.
SpotOn → PostHog · what we deliver
What gets built — SpotOn → PostHog
Identifier capture into SpotOn
Record the reward or campaign code on the transaction so acquisition and retention revenue stay separable.
Event source: the SpotOn transaction record
Send online-channel transactions, with loyalty-driven visits marked and held out of the paid figure.
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
Refunds reverse.
Written guarantee
95%+ tracking accuracy
Measured against SpotOn transactions by date, flagged by whether a loyalty reward or platform campaign was involved.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
SpotOn → PostHog questions, answered
Yes, by passing the distinct_id into the SpotOn ordering link and sending the completed order to the capture API from your server. Confirm whether your ordering setup keeps custom parameters on the order.
Only for loyalty members you can match to an existing profile, under a separate event name. Anonymous till sales add fake users.
Almost always because the distinct_id never reached the SpotOn transaction. Loyalty prompts arrive by SMS and email and are redeemed at the till, with no digital session anywhere in between. 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 SpotOn transaction record. Send online-channel transactions, with loyalty-driven visits marked and held out of the paid figure.
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 SpotOn → PostHog
- Stripe → PostHogConnecting Stripe to PostHog
- PayPal → PostHogConnecting PayPal to PostHog
- Shopify → PostHogConnecting Shopify to PostHog
RELATED GUIDES
Where SpotOn → PostHog fits in the rest of your tracking
- TouchBistro → PostHogConnecting TouchBistro to PostHog
- Lightspeed → PostHogConnecting Lightspeed to PostHog
- Revel → PostHogConnecting Revel Systems to PostHog
- SpotOn → MixpanelConnecting SpotOn to Mixpanel
- SpotOn → AmplitudeConnecting SpotOn to Amplitude
- JewelryConversion tracking for jewelry, measured in margin, not revenue
- Clover → PostHogConnecting Clover to PostHog
Free · 30 min
Get SpotOn and PostHog joined properly
Free30 minutesNo obligation
