Skip to main content
Bookassist → GA4Integration guide

Connecting Bookassist to GA4

Bookassist runs direct booking engines for independent European hotels, where rate parity obligations mean your own price is frequently identical to the OTA's — so the direct case has to be made on something other than 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 Bookassist 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

Bookassist in GA4: direct bookings tied to the metasearch journey

Configure cross-domain measurement so the _ga cookie follows guests into the Bookassist engine, then send purchase with the booking reference as transaction_id, room revenue and the charged currency, keeping commission avoided in a custom metric. Server-side sends need client_id and session_id from the hotel site; choose one sender and refund cancellations on the day they happen.

GA4 is where a hotel finds out whether direct bookings came from its own campaigns or from the metasearch listing the guest clicked last, and the Bookassist engine is where that thread breaks. If the engine runs on a different domain from the hotel site, the _ga cookie does not follow the guest unless both domains are configured for cross-domain measurement in the GA4 data stream. Check whether your Bookassist engine already loads your GA4 tag and honors the linker parameter; without it every booking starts a new session credited to your own hotel site as a referral.

Send the booking as purchase with transaction_id set to the Bookassist booking reference, value at room revenue and currency as the engine charged it, which for European properties is often EUR even when head office reports in USD. Put commission avoided in a separate custom metric rather than inflating value, so GA4 revenue still matches the PMS. If the booking goes server-side through Measurement Protocol, it needs the client_id and session_id read on the hotel site before the hop; if the engine also fires a browser purchase, choose one sender, because GA4 will count both.

Cancellations arrive weeks after the booking, far beyond the 72 hours Measurement Protocol accepts for backdated timestamps, so send a refund event with the same transaction_id on the day of cancellation. Report arrival-month revenue from the PMS, not from GA4's booking-date view.

Bookassist → GA4 · what breaks

Why this join usually fails — Bookassist → GA4

  1. 01

    The GA4 client_id never reaches Bookassist

    The engine is hosted, guests compare on OTAs mid-journey, and the final click frequently comes from a metasearch listing.

  2. 02

    Commission avoided never counted as a benefit

    A direct booking at the same rate as an OTA booking is worth fifteen to twenty percent more to the hotel. If the report shows only room revenue, direct booking campaigns look like they are competing with themselves.

  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.

Bookassist → GA4 · the fix

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

Bookassist → GA4 · architecture

How Bookassist and GA4 actually connect

  1. 1

    Bookassist holds the truth

    The value of a direct booking is the room revenue plus the OTA commission not paid. Reporting only room revenue understates direct booking by exactly the commission rate.

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

  4. 4

    The event source decides reliability

    Send direct bookings at room revenue, and report commission avoided as an explicit second figure.

  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.

Bookassist → GA4 · normal or broken

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

Normal, not a fault

  • The GA4 client_id present on the booking

  • Sent from the Bookassist 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 engine is hosted, guests compare on OTAs mid-journey, and the final click frequently comes from a metasearch listing.

  • Sent from the browser

    A direct booking at the same rate as an OTA booking is worth fifteen to twenty percent more to the hotel. If the report shows only room revenue, direct booking campaigns look like they are competing with themselves.

  • 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

Bookassist → GA4 · diagnose

Diagnostic order — Bookassist → GA4

  1. 01

    Count bookings carrying the GA4 client_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Add commission avoided as a reported figure alongside room revenue

    It is a simple calculation and it changes the entire business case for direct-booking advertising.

  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.

Bookassist → GA4 · prove

How it gets proven — Bookassist → GA4

Source of truth

Bookassist direct bookings by arrival, at total stay revenue net of the commission you avoided.

  • 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 room revenue with commission avoided stated separately.

Bookassist → GA4 · free audit

What we check in the free audit

  • Count bookings carrying the GA4 client_id
  • Follow one real conversion end to end
  • Add commission avoided as a reported figure alongside room revenue
  • Check whether server events carry a session and a source
  • Read the match rate, not the success message

Checked against

Bookassist direct bookings by arrival, at total stay revenue net of the commission you avoided.

Get my free conversion tracking audit

Free30 minutesNo obligation

Bookassist → GA4 · when not to buy

When you don't need this — Bookassist → GA4

  • Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry the GA4 client_id.
  • If you do not distribute through OTAs, there is no commission to avoid and direct is simply your only channel.
  • 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.

Bookassist → GA4 · what we deliver

What gets built — Bookassist → GA4

  • Identifier capture into Bookassist

    Capture on your own site and persist across the comparison journey, which routinely includes visits to third-party sites.

  • Event source: the Bookassist booking record

    Send direct bookings at room revenue, and report commission avoided as an explicit second figure.

  • 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 Bookassist direct bookings by arrival, at total stay revenue net of the commission you avoided.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Bookassist → GA4 questions, answered

The engine runs on a separate domain and the session restarted there. Add both domains to cross-domain measurement in the GA4 data stream and list your own domain as an unwanted referral.

Free · 30 min

Get Bookassist and GA4 joined properly

Free30 minutesNo obligation