Connecting Tidio to PostHog
Tidio serves small ecommerce stores, where the chat widget's real job is recovering a hesitating shopper with a discount code — which means the conversion is the order, not the chat. 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 Tidio conversation 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
Tidio chats and orders on one PostHog person via distinct_id
Pass the PostHog distinct_id into Tidio at widget initialization, capture a chat event on it, and send the order server-side with that ID stored on the order via a cart attribute, using a UUID derived from the order ID. Then compare product view, chat opened and order placed funnels against non-chatters, remembering chatters were already more engaged.
PostHog can answer what Tidio's dashboard cannot: whether visitors who chatted bought more than comparable visitors who did not. That needs the PostHog distinct_id passed into Tidio as a visitor attribute at widget initialization, a chat event captured on the same distinct_id when the widget opens, and the order captured server-side from the store order record with that ID stored on the order.
Because the widget runs in its own frame, session replay will usually show the shopper opening chat but not the conversation inside it; confirm what your replay settings capture. The pairing that works is replay for the hesitation before the chat, and the Tidio transcript, found through the distinct_id attribute, for what was asked. A funnel of product view, chat opened, order placed, set beside the same funnel without chat, is the honest chat-influenced measure, with the caveat that people who chat were already more engaged.
The common failure: the server-side order lands on a fresh anonymous distinct_id because checkout ran on another domain and the ID never reached the order. Chatters then never appear to buy. Write the distinct_id into a cart attribute before checkout, and send each order with a UUID derived from the order ID so a retried webhook does not count the sale twice.
Tidio → PostHog · what breaks
Why this join usually fails — Tidio → PostHog
- 01
The distinct_id never reaches Tidio
The widget is a third-party frame with its own storage and does not see your page's identifier.
- 02
Chat-started imported as a conversion
On a small store this produces conversion counts an order of magnitude above actual sales, and any automated bidding pointed at it will spend the budget on people who ask where their package is.
- 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.
Tidio → PostHog · the fix
What working looks like — Tidio → PostHog
The distinct_id on every conversation
Conversions arriving in PostHog
The event lands on the person profile and becomes available in insights, funnels and session replay.
Reconciled against the source
Tidio → PostHog · architecture
How Tidio and PostHog actually connect
- 1
Tidio holds the truth
The flag is what makes chat's contribution visible without letting it claim the sale. The order is still the conversion; chat is an influence on it.
- 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 Tidio conversation.
- 4
The event source decides reliability
Send purchases. Report chat-influenced orders as a share of the total, which is the honest way to value the widget.
- 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.
Tidio → PostHog · normal or broken
Working vs. broken, side by side — Tidio → PostHog
Normal, not a fault
The distinct_id present on the conversation
Sent from the store order 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 widget is a third-party frame with its own storage and does not see your page's identifier.
Sent from the browser
On a small store this produces conversion counts an order of magnitude above actual sales, and any automated bidding pointed at it will spend the budget on people who ask where their package is.
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
Tidio → PostHog · diagnose
Diagnostic order — Tidio → PostHog
- 01
Count conversations carrying the distinct_id
- 02
Follow one real conversion end to end
- 03
Compare chat events against order count
If chats outnumber orders by ten to one and both are in the conversion list, that is the entire diagnosis.
- 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.
Tidio → PostHog · prove
How it gets proven — Tidio → PostHog
Source of truth
Store orders, flagged by whether a chat conversation or a chat-issued discount code preceded them.
- The distinct_id confirmed present on a live conversation.
- Purchase events reconciled per transaction against your billing system, with ingestion lag checked over the same window.
- Orders reconciled against imported conversions, with chat events absent from the count.
Tidio → PostHog · free audit
What we check in the free audit
- Count conversations carrying the distinct_id
- Follow one real conversion end to end
- Compare chat events against order count
- Check ingestion health and disk before debugging any missing event
- Read the match rate, not the success message
Checked against
Store orders, flagged by whether a chat conversation or a chat-issued discount code preceded them.
Free30 minutesNo obligation
Tidio → PostHog · when not to buy
When you don't need this — Tidio → PostHog
- Measure identifier coverage yourself first — pull your last hundred conversations and count how many carry the distinct_id.
- Most small stores need nothing here except the discipline of not adding chat events as conversions.
- 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.
Tidio → PostHog · what we deliver
What gets built — Tidio → PostHog
Identifier capture into Tidio
Pass the identifier in as a visitor attribute at widget initialization, so the conversation record can be joined to the order later.
Event source: the store order record
Send purchases. Report chat-influenced orders as a share of the total, which is the honest way to value the widget.
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 reduce the figure.
Written guarantee
95%+ tracking accuracy
Measured against Store orders, flagged by whether a chat conversation or a chat-issued discount code preceded them.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Tidio → PostHog questions, answered
Generally not the contents, because the widget is a separate frame. Look the transcript up in Tidio through the distinct_id you passed as a visitor attribute.
Compare purchase rates for sessions with and without a chat event on comparable pages. Treat the gap as influence, not proof, since chatters self-select.
Almost always because the distinct_id never reached the Tidio conversation. The widget is a third-party frame with its own storage and does not see your page's identifier. 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 store order record. Send purchases. Report chat-influenced orders as a share of the total, which is the honest way to value the widget.
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 Tidio → PostHog
- Tidio → Google AdsConnecting Tidio to Google Ads
- Tidio → MetaConnecting Tidio to Meta Conversions API
- Tidio → GA4Connecting Tidio to GA4
RELATED GUIDES
Where Tidio → PostHog fits in the rest of your tracking
- Crisp → PostHogConnecting Crisp to PostHog
- Gorgias → PostHogConnecting Gorgias to PostHog
- Front → PostHogConnecting Front to PostHog
- Tidio → MixpanelConnecting Tidio to Mixpanel
- Tidio → AmplitudeConnecting Tidio to Amplitude
- B2BConversion tracking for B2B, from first touch to closed-won
- Kustomer → PostHogConnecting Kustomer to PostHog
- Zendesk → PostHogConnecting Zendesk to PostHog
Free · 30 min
Get Tidio and PostHog joined properly
Free30 minutesNo obligation
