Skip to main content
TourCMS → GA4Integration guide

Connecting TourCMS to GA4

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. GA4 is where the business goes to understand what happened, which makes an unattributed conversion there expensive in decisions rather than in ad spend. The join between them succeeds or fails on one thing: whether the GA4 client_id reaches the TourCMS booking before the conversion happens, because GA4 can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

TourCMS in GA4: direct bookings in, agent sales kept out

Send direct TourCMS bookings to GA4 as purchase with the booking ID as transaction_id, customer price and currency, the tour as item and participants as quantity, using cross-domain measurement for a hosted engine. Agent bookings, if sent at all, need an agent channel dimension at net rate and must stay out of key events.

TourCMS holds two kinds of bookings side by side, and only one belongs in GA4. Direct bookings come from a session on your site or the TourCMS booking engine and can carry a client_id; agent bookings arrive through an agent login or a reseller's API connection with no consumer session at all. Sent through Measurement Protocol without a client_id, agent bookings become new users with no source and drop agent revenue into (direct)/(none), where it looks like brand demand.

For direct bookings, check whether your TourCMS booking engine runs on your domain or a hosted one, and whether it already supports a GA4 tag. A hosted engine needs cross-domain measurement so the booking stays on the original session. Send purchase with transaction_id equal to the TourCMS booking ID, value at customer price and currency as charged, with the tour as the item and participants as quantity.

If you want agent volume in GA4 at all, send it with a channel custom dimension set to agent, valued at net rate, and keep it out of key events so it never mixes with direct revenue in acquisition reports. Cancellations go back as refund events with the original transaction_id, and only for bookings that were sent in the first place.

TourCMS → GA4 · what breaks

Why this join usually fails — TourCMS → GA4

  1. 01

    The GA4 client_id 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

    Everything lands under (direct)/(none)

    The classic Measurement Protocol symptom, and it always means the same thing: the client_id was missing or wrong, so GA4 had no session to attach the event to and invented a new user.

  4. 04

    Nothing reconciles afterwards

    GA4 DebugView shows events arriving with their parameters, and Realtime confirms the user and session they attached to. Neither tells you whether you are double-counting — for that, compare GA4's conversion count against the source system's record for the same window.

TourCMS → GA4 · the fix

What working looks like — TourCMS → GA4

  • The GA4 client_id on every booking

  • Conversions arriving in GA4

    Conversions appear in GA4 attributed to the original session's source and medium, so acquisition reporting reflects what actually drove revenue.

  • Reconciled against the source

TourCMS → GA4 · architecture

How TourCMS and GA4 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

    GA4 needs a click to match

    GA4 needs the client_id to attach a server event to the user and session that produced the click. Without it there is no attribution to inherit and the event is orphaned.

  3. 3

    The identifier is the bridge

    The GA4 client_id, 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

    GA4 has no built-in deduplication for Measurement Protocol. If the browser also sends the event, it counts twice. The only reliable approach is to decide per event which side sends it, and enforce that decision — GA4 will not protect you from your own duplicates.

TourCMS → GA4 · normal or broken

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

Normal, not a fault

  • The GA4 client_id present on the booking

  • Sent from the TourCMS booking record

  • Deduplicated correctly

    GA4 has no built-in deduplication for Measurement Protocol. If the browser also sends the event, it counts twice. The only reliable approach is to decide per event which side sends it, and enforce that decision — GA4 will not protect you from your own duplicates.

  • Reconciles with the source

Actually broken

  • The GA4 client_id 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

    The classic Measurement Protocol symptom, and it always means the same thing: the client_id was missing or wrong, so GA4 had no session to attach the event to and invented a new user.

  • Nobody has reconciled it

TourCMS → GA4 · diagnose

Diagnostic order — TourCMS → GA4

  1. 01

    Count bookings carrying the GA4 client_id

  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 whether server events carry a session and a source

    In GA4 Realtime or DebugView, find the event and look at its session and traffic source. A brand-new user with no source on every server event is the missing-client_id signature.

  5. 05

    Read the match rate, not the success message

    GA4 DebugView shows events arriving with their parameters, and Realtime confirms the user and session they attached to. Neither tells you whether you are double-counting — for that, compare GA4's conversion count against the source system's record for the same window.

TourCMS → GA4 · prove

How it gets proven — TourCMS → GA4

Source of truth

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

  • The GA4 client_id confirmed present on a live booking.
  • Server events confirmed in DebugView attaching to an existing session with the original traffic source intact.
  • Direct bookings reconciled at customer price against imported conversions, agent volume reported at net.

TourCMS → GA4 · free audit

What we check in the free audit

  • Count bookings carrying the GA4 client_id
  • Follow one real conversion end to end
  • Check whether agent bookings are valued at net or retail
  • Check whether server events carry a session and a source
  • 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 → GA4 · when not to buy

When you don't need this — TourCMS → GA4

  • Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry the GA4 client_id.
  • Operators selling only direct do not have the net-rate question.
  • GA4 is reporting, not bidding. If your problem is ad platform optimization, fix the ad platform destination first — GA4 will not change what any campaign does.

TourCMS → GA4 · what we deliver

What gets built — TourCMS → GA4

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

    Measurement Protocol events with the client_id, session_id and the correct measurement ID and API secret, sent server-side.

  • 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 → GA4 questions, answered

Not as normal purchases. They have no website session and land as direct traffic; leave them out, or flag them with a channel dimension at net rate.

Free · 30 min

Get TourCMS and GA4 joined properly

Free30 minutesNo obligation