Skip to main content
Profitroom → GA4Integration guide

Connecting Profitroom to GA4

Profitroom is built to move hotels away from OTA dependence, which makes the direct-versus-OTA split the entire point of the product and the entire measurement question. 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 Profitroom 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

Profitroom bookings in GA4: keeping the session across domains

Set up GA4 cross-domain measurement so the client_id follows the guest into Profitroom's booking engine, if Profitroom lets you add your own tag; otherwise bookings look self-referred. Send purchase with the booking reference as transaction_id, total stay value, the guest's currency, and room type and rate plan as item parameters. Send cancellations as refunds with the same transaction_id.

Profitroom's booking engine runs on a Profitroom-served domain, so the hop from your hotel site into the engine is where GA4 sessions break. If the engine runs your GA4 tag, set up cross-domain measurement so the client_id travels with the guest; if not, the booking starts a new session referred by your own site, and every direct booking looks as if it came from your homepage. Check whether your Profitroom setup lets you add your own GA4 measurement ID or tag container.

Profitroom's whole case is moving share from OTAs to direct, so make that measurable: send purchase with the booking reference as transaction_id, the total stay value, the currency the guest paid in, and the room type and rate plan as item parameters. GA4's purchase count then equals your direct bookings, which you can set against OTA reservations from the channel manager to report direct share by month and by source.

Send cancellations to GA4 as refund events with the same transaction_id; they are dated on the cancellation day, not the stay. GA4 reports by booking date and your PMS by arrival date, so the two will never agree month to month. Reconcile on booking reference rather than on totals, and that difference stops looking like a tracking fault.

Profitroom → GA4 · what breaks

Why this join usually fails — Profitroom → GA4

  1. 01

    The GA4 client_id never reaches Profitroom

    The booking engine sits on a Profitroom-served domain and the decision runs across sessions and devices.

  2. 02

    Direct-share growth invisible in an occupancy number

    A hotel can hold occupancy flat while shifting a fifth of its bookings from OTA to direct, which is worth the whole commission saved. Occupancy reporting shows nothing happened.

  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.

Profitroom → GA4 · the fix

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

Profitroom → GA4 · architecture

How Profitroom and GA4 actually connect

  1. 1

    Profitroom holds the truth

    The commercial case for this platform is shifting share from OTA commission to direct booking. That shift is the number worth reporting, and it is not the same as total occupancy.

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

  4. 4

    The event source decides reliability

    Send direct bookings at total stay value, with OTA-sourced reservations reported separately.

  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.

Profitroom → GA4 · normal or broken

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

Normal, not a fault

  • The GA4 client_id present on the booking

  • Sent from the Profitroom 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 booking engine sits on a Profitroom-served domain and the decision runs across sessions and devices.

  • Sent from the browser

    A hotel can hold occupancy flat while shifting a fifth of its bookings from OTA to direct, which is worth the whole commission saved. Occupancy reporting shows nothing happened.

  • 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

Profitroom → GA4 · diagnose

Diagnostic order — Profitroom → GA4

  1. 01

    Count bookings carrying the GA4 client_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Report direct share of bookings, not just occupancy

    It is the metric this product exists to move, and it is frequently absent from the marketing report.

  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.

Profitroom → GA4 · prove

How it gets proven — Profitroom → GA4

Source of truth

Profitroom direct bookings by arrival date, at total stay revenue.

  • 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 total stay value against imported conversions, with direct share stated.

Profitroom → GA4 · free audit

What we check in the free audit

  • Count bookings carrying the GA4 client_id
  • Follow one real conversion end to end
  • Report direct share of bookings, not just occupancy
  • Check whether server events carry a session and a source
  • Read the match rate, not the success message

Checked against

Profitroom direct bookings by arrival date, at total stay revenue.

Get my free conversion tracking audit

Free30 minutesNo obligation

Profitroom → GA4 · when not to buy

When you don't need this — Profitroom → GA4

  • Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry the GA4 client_id.
  • If your OTA share is already low, the remaining upside is small and the effort belongs elsewhere.
  • 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.

Profitroom → GA4 · what we deliver

What gets built — Profitroom → GA4

  • Identifier capture into Profitroom

    Capture on your own site and persist through the handoff, so direct bookings can be separated from channel-manager ones.

  • Event source: the Profitroom booking record

    Send direct bookings at total stay value, with OTA-sourced reservations reported separately.

  • 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, and flexible rates cancel more than non-refundable ones.

Written guarantee

95%+ tracking accuracy

Measured against Profitroom direct bookings by arrival date, at total stay revenue.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Profitroom → GA4 questions, answered

Because the booking engine is on a different domain and GA4 started a new session there. Configure cross-domain measurement for the engine's domain so the client_id carries across.

Free · 30 min

Get Profitroom and GA4 joined properly

Free30 minutesNo obligation