Skip to main content
TourCMS → AmplitudeIntegration guide

Connecting TourCMS to Amplitude

TourCMS is built around distribution to agents and resellers, which means a large share of bookings arrive through partners who found the customer and take a margin. 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 TourCMS 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

TourCMS bookings in Amplitude: direct guests only, at retail price

Store the Amplitude device ID before the TourCMS booking engine takes over, then send direct bookings server-side with the booking ID as insert_id, price and quantity per tour at customer price, and departure date and lead time as properties. Record revenue on booking day, send cancellations as negative revenue, and keep agent bookings in a separate project.

Amplitude needs a person with a device history, and only TourCMS direct bookings have one. Agent and reseller bookings arrive through an API or agent portal with no browser session, so there is no device ID to merge them into. Send them, if at all, to a separate project, rather than creating users with no history that distort retention.

For direct bookings, store the Amplitude device ID before the booking engine takes over, and check whether the engine runs on your domain or in a frame where your SDK can't see the booking step. Send the booking server-side with the booking ID as insert_id, price and quantity per tour so revenue populates at customer price, and properties for departure date and lead time. Travelers rarely create accounts, so a customer ID derived from the guest's email is the only realistic user_id for repeat bookers.

Amplitude can then answer something an ad platform can't: how far ahead people book each tour, and whether early bookers return next season. Cancellations go in as negative revenue against the same booking ID. The usual break is recording revenue on departure day instead of booking day, which shifts whole cohorts by months.

TourCMS → Amplitude · what breaks

Why this join usually fails — TourCMS → Amplitude

  1. 01

    The user ID and device ID pair never reaches TourCMS

    Agent bookings arrive through an API or an agent portal with no consumer session.

  2. 02

    Agent net rates reported at retail price

    An agent booking at a twenty-five percent net discount reported at the retail price overstates that channel by a third. Since agents are often the majority, the total is badly wrong.

  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.

TourCMS → Amplitude · the fix

What working looks like — TourCMS → 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

TourCMS → Amplitude · architecture

How TourCMS and Amplitude actually connect

  1. 1

    TourCMS holds the truth

    Agent bookings come at a net rate agreed in advance. Reporting the customer-facing price on those bookings overstates revenue by the whole agent margin.

  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 TourCMS booking.

  4. 4

    The event source decides reliability

    Send direct bookings at customer price and agent bookings, if reported at all, at net rate — never mixed.

  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.

TourCMS → Amplitude · normal or broken

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

Normal, not a fault

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

  • Sent from the TourCMS 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

    Agent bookings arrive through an API or an agent portal with no consumer session.

  • Sent from the browser

    An agent booking at a twenty-five percent net discount reported at the retail price overstates that channel by a third. Since agents are often the majority, the total is badly wrong.

  • 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

TourCMS → Amplitude · diagnose

Diagnostic order — TourCMS → 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 agent bookings are valued at net or retail

    One question, and on distribution-heavy operators it changes the revenue picture substantially.

  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.

TourCMS → Amplitude · prove

How it gets proven — TourCMS → Amplitude

Source of truth

TourCMS bookings by departure and channel, at net rate after agent commission.

  • 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.
  • Direct bookings reconciled at customer price against imported conversions, agent volume reported at net.

TourCMS → 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 agent bookings are valued at net or retail
  • Check a purchase event for the price and quantity fields specifically
  • Read the match rate, not the success message

Checked against

TourCMS bookings by departure and channel, at net rate after agent commission.

Get my free conversion tracking audit

Free30 minutesNo obligation

TourCMS → Amplitude · when not to buy

When you don't need this — TourCMS → Amplitude

  • Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry the user ID and device ID pair.
  • Operators selling only direct do not have the net-rate question.
  • If nobody is building cohorts or retention analysis, this is a large amount of instrumentation for reporting a dashboard already gives you.

TourCMS → Amplitude · what we deliver

What gets built — TourCMS → Amplitude

  • Identifier capture into TourCMS

    Attribute direct bookings only and value agent bookings at the net rate you actually receive.

  • Event source: the TourCMS booking record

    Send direct bookings at customer price and agent bookings, if reported at all, at net rate — never mixed.

  • 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 TourCMS bookings by departure and channel, at net rate after agent commission.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

TourCMS → Amplitude questions, answered

Usually not into the same project. They have no device or browsing history, and at net rate they would distort revenue per user.

Free · 30 min

Get TourCMS and Amplitude joined properly

Free30 minutesNo obligation