Skip to main content
TripWorks → AmplitudeIntegration guide

Connecting TripWorks to Amplitude

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. Amplitude is built around behavioural cohorts, which makes the identity resolution and the event taxonomy load-bearing in a way they never are for an ad pixel. The join between them succeeds or fails on one thing: whether the user ID and device ID pair reaches the TripWorks booking before the conversion happens, because Amplitude can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

TripWorks to Amplitude: booking and upsell revenue kept apart

Amplitude fits TripWorks operators with a guest app or portal. Send bookings server-side under a user_id derived from guest email, with price and quantity per ticket type, booking time as event time and departure as a property. Send upsells as separate revenue events with another revenueType, carry the recovered flag, and send cancellations as negative revenue.

Amplitude fits a tour operator only if there is a product to analyze, such as a guest app, a member area or a multi-day trip portal, where repeat bookings and upsell uptake are real questions. The TripWorks checkout is hosted, so the browser SDK's device ID does not carry into it, and bookings have to be sent server-side under a user_id you can also set in your own product, usually derived from the guest's email.

Send the completed booking with price and quantity per ticket type, so a family of two adults and two children is not a single revenue line. Send upsells added after booking, such as photo packages or transfers, as their own revenue events with a different revenueType, because otherwise your cohort revenue blends acquisition with email-driven add-ons. Carry the first-pass or recovered flag as an event property so cohorts can be split on it. Use the booking time as the event time and the departure date as a property; using the departure date makes revenue appear months after the decision.

Cancellations should be sent as negative revenue against the same booking, not by deleting the event. For an operator without its own product surface, Amplitude has little to work with, and a warehouse table answers these questions more cheaply.

TripWorks → Amplitude · what breaks

Why this join usually fails — TripWorks → Amplitude

  1. 01

    The user ID and device ID pair never reaches TripWorks

    Recovery emails are opened days later on other devices, and the checkout itself is TripWorks-hosted.

  2. 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.

  3. 03

    Revenue events that carry no revenue

    Amplitude will happily accept a purchase event with no price field. The event count looks correct, the funnel looks correct, and the revenue reporting stays at zero — which people usually discover a quarter later when someone asks what a cohort is worth.

  4. 04

    Nothing reconciles afterwards

    Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.

TripWorks → Amplitude · the fix

What working looks like — TripWorks → Amplitude

  • The user ID and device ID pair on every booking

  • Conversions arriving in Amplitude

    The event lands on the user, joins their behavioural history, and becomes available for cohorts, funnels and retention.

  • Reconciled against the source

TripWorks → Amplitude · architecture

How TripWorks and Amplitude actually connect

  1. 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. 2

    Amplitude needs a click to match

    Amplitude needs a device or user identifier, an event type and its properties. Revenue events need the price and quantity fields specifically, or the revenue reporting stays empty while events flow normally.

  3. 3

    The identifier is the bridge

    The user ID and device ID pair, captured at the visit and carried into the TripWorks booking.

  4. 4

    The event source decides reliability

    Send completed bookings at total paid, with a flag distinguishing first-pass from recovered.

  5. 5

    Deduplication at the destination

    Amplitude deduplicates on insert_id. Omit it and a retried batch is counted twice, which shows up as a phantom spike that someone will eventually build a hypothesis on.

TripWorks → Amplitude · normal or broken

Working vs. broken, side by side — TripWorks → Amplitude

Normal, not a fault

  • The user ID and device ID pair present on the booking

  • Sent from the TripWorks booking record

  • Deduplicated correctly

    Amplitude deduplicates on insert_id. Omit it and a retried batch is counted twice, which shows up as a phantom spike that someone will eventually build a hypothesis on.

  • Reconciles with the source

Actually broken

  • The user ID and device ID pair 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

    Amplitude will happily accept a purchase event with no price field. The event count looks correct, the funnel looks correct, and the revenue reporting stays at zero — which people usually discover a quarter later when someone asks what a cohort is worth.

  • Nobody has reconciled it

TripWorks → Amplitude · diagnose

Diagnostic order — TripWorks → Amplitude

  1. 01

    Count bookings carrying the user ID and device ID pair

  2. 02

    Follow one real conversion end to end

  3. 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.

  4. 04

    Check a purchase event for the price and quantity fields specifically

    Not whether the event arrived — whether the revenue fields are populated, in the exact names Amplitude expects.

  5. 05

    Read the match rate, not the success message

    Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.

TripWorks → Amplitude · prove

How it gets proven — TripWorks → Amplitude

Source of truth

TripWorks bookings by departure, flagged by whether a recovery email or upsell was involved.

  • The user ID and device ID pair confirmed present on a live booking.
  • Revenue reconciled per transaction against your billing system, with identity merge behaviour verified across signup.
  • Completed bookings reconciled against imported conversions, with recovered bookings identified.

TripWorks → Amplitude · free audit

What we check in the free audit

  • Count bookings carrying the user ID and device ID pair
  • Follow one real conversion end to end
  • Check whether recovered bookings retain the original source
  • Check a purchase event for the price and quantity fields specifically
  • Read the match rate, not the success message

Checked against

TripWorks bookings by departure, flagged by whether a recovery email or upsell was involved.

Get my free conversion tracking audit

Free30 minutesNo obligation

TripWorks → Amplitude · when not to buy

When you don't need this — TripWorks → Amplitude

  • Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry the user ID and device ID pair.
  • No recovery flow means no double-claim, and this reduces to an ordinary booking integration.
  • If nobody is building cohorts or retention analysis, this is a large amount of instrumentation for reporting a dashboard already gives you.

TripWorks → Amplitude · what we deliver

What gets built — TripWorks → Amplitude

  • 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 Amplitude

    The Amplitude HTTP V2 API, posted server-side with the identity, event type and 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.

Get my free conversion tracking audit

From $400 · See packages

FAQ

TripWorks → Amplitude questions, answered

Post them server-side from the booking record with a user_id you also use in your own product, with price and quantity per ticket type. We are not aware of a native integration; check TripWorks' integration list.

Free · 30 min

Get TripWorks and Amplitude joined properly

Free30 minutesNo obligation