Connecting TripWorks to Mixpanel
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. Mixpanel is a product analytics tool, not an ad platform, which means it has no attribution model of its own and will faithfully report whatever event schema you give it — including a bad one. The join between them succeeds or fails on one thing: whether the distinct_id reaches the TripWorks booking before the conversion happens, because Mixpanel can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
TripWorks to Mixpanel: one person across cart, email and booking
TripWorks' hosted checkout and cross-device recovery emails break the Mixpanel funnel, so identify on email: derive a stable distinct_id from the checkout email and send the booking server-side with $insert_id set to the booking ID. Add recovered flag, days from cart to booking and upsell value as properties.
The funnel an operator wants in Mixpanel runs from tour page, to checkout started, to booking, and TripWorks breaks it twice. The checkout is hosted, so your Mixpanel SDK cannot see it, and the recovery email brings the traveler back days later on another device, where Mixpanel assigns a fresh anonymous distinct_id. Without a fix, every recovered booking appears as a new person who arrived from email and booked immediately.
The fix is to identify on email. When the traveler enters an email address at checkout, or as soon as TripWorks records the cart, derive a stable user ID from it and use that as distinct_id for the server-side booking event. If you can pass the Mixpanel ID into the TripWorks checkout as a URL parameter and read it back on the booking, the tour-page session joins too; check whether your TripWorks setup accepts and returns custom parameters. Set $insert_id to the booking ID so a resent webhook does not add a second booking.
Name the event once and add the first-pass or recovered flag, days from cart to booking, and upsell value as properties. Then the funnel can show which tours depend on recovery, which is the actual operating question, not a reporting detail.
TripWorks → Mixpanel · what breaks
Why this join usually fails — TripWorks → Mixpanel
- 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
One event schema, two teams, no agreement
Marketing names an event Purchase, the product team names it purchase_completed, and both are sent. Mixpanel treats them as unrelated, every funnel silently splits, and two teams spend a quarter arguing about which number is right when both are.
- 04
Nothing reconciles afterwards
Mixpanel shows events in the live view within moments. Check that the distinct_id matches the signed-in user rather than a lingering anonymous ID, because that is the failure that quietly breaks every cross-signup funnel.
TripWorks → Mixpanel · the fix
What working looks like — TripWorks → Mixpanel
The distinct_id on every booking
Conversions arriving in Mixpanel
The event lands on the user profile and becomes available in funnels, retention and cohort analysis.
Reconciled against the source
TripWorks → Mixpanel · architecture
How TripWorks and Mixpanel 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
Mixpanel needs a click to match
Mixpanel needs a distinct_id, an event name and its properties. Events without a distinct_id are rejected; events with the wrong one land on a stranger's profile.
- 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
Mixpanel deduplicates on $insert_id within a time window. Without it, a retried server request creates a second event, and because Mixpanel is where product decisions get made, that inflation ends up in a roadmap rather than in an ad report.
TripWorks → Mixpanel · normal or broken
Working vs. broken, side by side — TripWorks → Mixpanel
Normal, not a fault
The distinct_id present on the booking
Sent from the TripWorks booking record
Deduplicated correctly
Mixpanel deduplicates on $insert_id within a time window. Without it, a retried server request creates a second event, and because Mixpanel is where product decisions get made, that inflation ends up in a roadmap rather than in an ad report.
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
Marketing names an event Purchase, the product team names it purchase_completed, and both are sent. Mixpanel treats them as unrelated, every funnel silently splits, and two teams spend a quarter arguing about which number is right when both are.
Nobody has reconciled it
TripWorks → Mixpanel · diagnose
Diagnostic order — TripWorks → Mixpanel
- 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
List every event name in the project and look for near-duplicates
Case differences, tense differences and synonyms are the usual finding, and they are cheap to fix before a year of data is built on them.
- 05
Read the match rate, not the success message
Mixpanel shows events in the live view within moments. Check that the distinct_id matches the signed-in user rather than a lingering anonymous ID, because that is the failure that quietly breaks every cross-signup funnel.
TripWorks → Mixpanel · prove
How it gets proven — TripWorks → Mixpanel
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 identity aliasing verified across the signup boundary.
- Completed bookings reconciled against imported conversions, with recovered bookings identified.
TripWorks → Mixpanel · 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
- List every event name in the project and look for near-duplicates
- 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 → Mixpanel · when not to buy
When you don't need this — TripWorks → Mixpanel
- 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 already have the same events in a warehouse and nobody is running product analysis on them, adding Mixpanel adds a second source of truth rather than an answer.
TripWorks → Mixpanel · what we deliver
What gets built — TripWorks → Mixpanel
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 Mixpanel
The Mixpanel ingestion API, posted server-side from your backend with the distinct_id and event properties.
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 → Mixpanel questions, answered
The recovery email opens on another device with a new anonymous ID. Identify the traveler by an email-based user ID and use it as distinct_id on the server-side booking event.
Not directly, because the checkout is hosted by TripWorks. Track up to the checkout link on your site and send the booking server-side.
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.
Mixpanel identifies people by distinct_id, which starts as an anonymous device value and should be aliased to your own user ID at signup. Getting that alias wrong is the single most common Mixpanel implementation failure: the anonymous pre-signup activity and the identified user become two separate people, and every funnel that crosses signup is broken.
The TripWorks booking record. Send completed bookings at total paid, with a flag distinguishing first-pass from recovered.
Mixpanel shows events in the live view within moments. Check that the distinct_id matches the signed-in user rather than a lingering anonymous ID, because that is the failure that quietly breaks every cross-signup funnel.
More on TripWorks → Mixpanel
- TripWorks → Google AdsConnecting TripWorks to Google Ads
- TripWorks → MetaConnecting TripWorks to Meta Conversions API
- TripWorks → GA4Connecting TripWorks to GA4
RELATED GUIDES
Where TripWorks → Mixpanel fits in the rest of your tracking
- TrekkSoft → MixpanelConnecting TrekkSoft to Mixpanel
- FareHarbor → MixpanelConnecting FareHarbor to Mixpanel
- Xola → MixpanelConnecting Xola to Mixpanel
- TripWorks → MatomoConnecting TripWorks to Matomo
- TripWorks → GA4Connecting TripWorks to GA4
- GolfConversion tracking for golf, measured across four revenue lines
- Checkfront → MixpanelConnecting Checkfront to Mixpanel
- Rezdy → MixpanelConnecting Rezdy to Mixpanel
Free · 30 min
Get TripWorks and Mixpanel joined properly
Free30 minutesNo obligation
