Connecting Xola to GA4
Xola books tours and activities where capacity is fixed by the boat, the van or the guide, so the goal is not maximum bookings but the right bookings at the right price. 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 Xola 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
Xola bookings in GA4 with participants as item quantity
Send each Xola booking to GA4 as purchase with the booking ID as transaction_id and items carrying participants as quantity, split by ticket type. If Xola's own GA option does not share your client_id, use Measurement Protocol with the client_id read before the frame opened. Add departure date as a parameter and send weather cancellations as refunds.
Send each Xola booking to GA4 as purchase with transaction_id set to the booking ID and an items array that carries participants as quantity, split by ticket type where prices differ, adults and children as separate items. GA4's item reports then show participants per channel, which is the number that decides budget for a fixed-capacity tour.
The checkout frame is the GA4 problem. A booking completed inside a Xola-served frame does not fire your page's GA4 tag unless Xola passes the event out. Check whether Xola's Google Analytics option sends to your property and whether its hits share your client_id or create a second user. If not, send from the booking record by Measurement Protocol with the client_id read from your page before the frame opened.
Add the departure date as an event parameter. GA4 reports by booking date, and in a seasonal business a strong March for July departures looks like a strong March. Send weather cancellations as refund events with the original transaction_id when they happen, so GA4 revenue for the season ends up net of cancellations and comparable with Xola.
Xola → GA4 · what breaks
Why this join usually fails — Xola → GA4
- 01
The GA4 client_id never reaches Xola
The checkout runs in a Xola-served frame, and a meaningful share of activity bookings are made by one person for a whole group.
- 02
Bookings counted, participants ignored
Optimizing on booking count teaches the platform that a one-person booking is as good as a twelve-person one. It will then find you a great many solo travellers.
- 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.
- 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.
Xola → GA4 · the fix
What working looks like — Xola → 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
Xola → GA4 · architecture
How Xola and GA4 actually connect
- 1
Xola holds the truth
One booking can be one person or twelve. Counting bookings rather than participants makes a family reunion and a solo traveller identical conversions against wildly different revenue.
- 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
The identifier is the bridge
The GA4 client_id, captured at the visit and carried into the Xola booking.
- 4
The event source decides reliability
Send bookings valued at the total paid, with participant count as a separate field.
- 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.
Xola → GA4 · normal or broken
Working vs. broken, side by side — Xola → GA4
Normal, not a fault
The GA4 client_id present on the booking
Sent from the Xola 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
The checkout runs in a Xola-served frame, and a meaningful share of activity bookings are made by one person for a whole group.
Sent from the browser
Optimizing on booking count teaches the platform that a one-person booking is as good as a twelve-person one. It will then find you a great many solo travellers.
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
Xola → GA4 · diagnose
Diagnostic order — Xola → GA4
- 01
Count bookings carrying the GA4 client_id
- 02
Follow one real conversion end to end
- 03
Compare booking count against participant count by campaign
The ratio varies by source far more than most operators expect, and it decides where budget should go.
- 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.
- 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.
Xola → GA4 · prove
How it gets proven — Xola → GA4
Source of truth
Xola bookings by departure date and time slot, valued at total participants rather than per booking.
- 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.
- Departed bookings reconciled at total value against imported conversions.
Xola → GA4 · free audit
What we check in the free audit
- Count bookings carrying the GA4 client_id
- Follow one real conversion end to end
- Compare booking count against participant count by campaign
- Check whether server events carry a session and a source
- Read the match rate, not the success message
Checked against
Xola bookings by departure date and time slot, valued at total participants rather than per booking.
Free30 minutesNo obligation
Xola → GA4 · when not to buy
When you don't need this — Xola → GA4
- Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry the GA4 client_id.
- If every booking is a fixed single seat, count bookings and skip the participant dimension entirely.
- 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.
Xola → GA4 · what we deliver
What gets built — Xola → GA4
Identifier capture into Xola
Capture on your own domain before the frame loads, and attach the identifier to the booking so participant count and total value travel with it.
Event source: the Xola booking record
Send bookings valued at the total paid, with participant count as a separate field.
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 and weather cancellations reverse. In outdoor activities the second category is not small.
Written guarantee
95%+ tracking accuracy
Measured against Xola bookings by departure date and time slot, valued at total participants rather than per booking.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Xola → GA4 questions, answered
Send each booking as one purchase with an items array whose quantities are participants, split by ticket type. Item quantity reports then show participants by channel.
The checkout runs in a Xola frame, so the booking may be recorded without your site's client_id. Send it server-side with the client_id captured on your page before the frame opened.
Almost always because the GA4 client_id never reached the Xola booking. The checkout runs in a Xola-served frame, and a meaningful share of activity bookings are made by one person for a whole group. Measure coverage before debugging the dispatch.
The client_id, from the _ga cookie. Measurement Protocol events without it are rejected or create a brand-new user with no session and no source, which is how server events end up filed under (direct)/(none) and make paid channels look worse than they are. Send session_id alongside it so the event joins the existing session, and include engagement_time_msec or the event may not appear as expected in reports.
The Xola booking record. Send bookings valued at the total paid, with participant count as a separate field.
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.
More on Xola → GA4
- Stripe → GA4Connecting Stripe to GA4
- PayPal → GA4Connecting PayPal to GA4
- HubSpot → GA4Connecting HubSpot to GA4
Using Xola for bookings? How Xola bookings get tracked end to end
RELATED GUIDES
Where Xola → GA4 fits in the rest of your tracking
- TourCMS → GA4Connecting TourCMS to GA4
- FareHarbor → GA4Connecting FareHarbor to GA4
- TripWorks → GA4Connecting TripWorks to GA4
- Xola → Adobe AnalyticsConnecting Xola to Adobe Analytics
- Xola → AmplitudeConnecting Xola to Amplitude
- GolfConversion tracking for golf, measured across four revenue lines
- Regiondo → GA4Connecting Regiondo to GA4
- Peek Pro → GA4Connecting Peek Pro to GA4
