Connecting TripWorks to PostHog
TripWorks pushes operators toward abandoned-cart recovery and upsells, which means a meaningful share of its bookings are recovered rather than won and need to be labelled as such. 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 TripWorks booking 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
TripWorks bookings in PostHog: closing the funnel past checkout
PostHog cannot see TripWorks' checkout, so capture the distinct_id on your site, store it on the booking through a custom field or URL parameter, and send a server-side booking event with the booking ID as event UUID, total paid, party size, departure date, lead time and the recovered flag.
PostHog is useful to a tour operator for one question: where on the website do people give up before booking. It can answer that up to the moment the TripWorks booking flow opens. After that the guest is in TripWorks' checkout, where your PostHog snippet does not run, so the last and most expensive step of the funnel is invisible unless the booking comes back server-side.
Capture the PostHog distinct_id on your site and check whether TripWorks can store it on the booking through a custom field or URL parameter. Then send a booking event from your server with that distinct_id, the TripWorks booking ID as the event UUID, total paid, party size, product, departure date and the first-pass/recovered flag. With the flag as a property, you can see what your recovery emails actually rescue, by tour, without crediting them in acquisition reports. Without the stored distinct_id, a recovered booking arrives as a new anonymous person and the funnel shows a drop-off that never happened.
Do not expect session replay to show what happens inside the TripWorks checkout; recordings generally cannot see into a third-party frame or domain. Lead time is worth a property of its own: a group booking months before departure and a same-day walk-up are different funnels, and averaging them hides both.
TripWorks → PostHog · what breaks
Why this join usually fails — TripWorks → PostHog
- 01
The distinct_id never reaches TripWorks
Recovery emails are opened days later on other devices, and the checkout itself is TripWorks-hosted.
- 02
Recovered bookings arriving as email traffic
Without persistence, cart recovery quietly transfers credit from the paid campaign that created the cart to the email that closed it. Both teams then report the same booking.
- 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.
TripWorks → PostHog · the fix
What working looks like — TripWorks → PostHog
The distinct_id on every booking
Conversions arriving in PostHog
The event lands on the person profile and becomes available in insights, funnels and session replay.
Reconciled against the source
TripWorks → PostHog · architecture
How TripWorks and PostHog actually connect
- 1
TripWorks holds the truth
A recovered cart is a booking the paid click did produce, eventually. An upsell added later is revenue the email produced. Both belong in the total and only one belongs to acquisition unmodified.
- 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 TripWorks booking.
- 4
The event source decides reliability
Send completed bookings at total paid, with a flag distinguishing first-pass from recovered.
- 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.
TripWorks → PostHog · normal or broken
Working vs. broken, side by side — TripWorks → PostHog
Normal, not a fault
The distinct_id present on the booking
Sent from the TripWorks booking 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
Recovery emails are opened days later on other devices, and the checkout itself is TripWorks-hosted.
Sent from the browser
Without persistence, cart recovery quietly transfers credit from the paid campaign that created the cart to the email that closed it. Both teams then report the same booking.
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
TripWorks → PostHog · diagnose
Diagnostic order — TripWorks → PostHog
- 01
Count bookings carrying the distinct_id
- 02
Follow one real conversion end to end
- 03
Check whether recovered bookings retain the original source
If they show as email or direct, the paid channel is being undercounted by exactly your recovery rate.
- 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.
TripWorks → PostHog · prove
How it gets proven — TripWorks → PostHog
Source of truth
TripWorks bookings by departure, flagged by whether a recovery email or upsell was involved.
- The distinct_id confirmed present on a live booking.
- Purchase events reconciled per transaction against your billing system, with ingestion lag checked over the same window.
- Completed bookings reconciled against imported conversions, with recovered bookings identified.
TripWorks → PostHog · free audit
What we check in the free audit
- Count bookings carrying the distinct_id
- Follow one real conversion end to end
- Check whether recovered bookings retain the original source
- Check ingestion health and disk before debugging any missing event
- Read the match rate, not the success message
Checked against
TripWorks bookings by departure, flagged by whether a recovery email or upsell was involved.
Free30 minutesNo obligation
TripWorks → PostHog · when not to buy
When you don't need this — TripWorks → PostHog
- Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry the distinct_id.
- No recovery flow means no double-claim, and this reduces to an ordinary booking integration.
- 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.
TripWorks → PostHog · what we deliver
What gets built — TripWorks → PostHog
Identifier capture into TripWorks
Persist the identifier against the abandoned cart so the recovered booking still resolves, rather than arriving as a direct visit from an email click.
Event source: the TripWorks booking record
Send completed bookings at total paid, with a flag distinguishing first-pass from recovered.
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
Cancellations reverse.
Written guarantee
95%+ tracking accuracy
Measured against TripWorks bookings by departure, flagged by whether a recovery email or upsell was involved.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
TripWorks → PostHog questions, answered
Generally no. The checkout runs on TripWorks' host, outside your PostHog snippet, so you see the visitor up to the hand-off and then the server-side booking event.
Store the distinct_id on the booking before checkout, if TripWorks lets you pass a custom field or parameter, and send the booking event server-side with it. Otherwise you can only join afterwards on email for identified users.
Almost always because the distinct_id never reached the TripWorks booking. Recovery emails are opened days later on other devices, and the checkout itself is TripWorks-hosted. 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 TripWorks booking record. Send completed bookings at total paid, with a flag distinguishing first-pass from recovered.
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 TripWorks → PostHog
- TripWorks → Google AdsConnecting TripWorks to Google Ads
- TripWorks → MetaConnecting TripWorks to Meta Conversions API
- TripWorks → GA4Connecting TripWorks to GA4
RELATED GUIDES
Where TripWorks → PostHog fits in the rest of your tracking
- Peek Pro → PostHogConnecting Peek Pro to PostHog
- Resova → PostHogConnecting Resova to PostHog
- Checkfront → PostHogConnecting Checkfront to PostHog
- TripWorks → Adobe AnalyticsConnecting TripWorks to Adobe Analytics
- TripWorks → MatomoConnecting TripWorks to Matomo
- GolfConversion tracking for golf, measured across four revenue lines
- Bokun → PostHogConnecting Bokun to PostHog
- Rezdy → PostHogConnecting Rezdy to PostHog
Free · 30 min
Get TripWorks and PostHog joined properly
Free30 minutesNo obligation
