Skip to main content
Beds24 → GA4Integration guide

Connecting Beds24 to GA4

Beds24 is highly configurable and API-first, which means two properties running it can have completely different booking flows — and no generic tracking recipe fits both. 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 Beds24 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

Beds24 in GA4: keep the booking on the visitor who searched

Read client_id and session_id from your site's _ga cookies, pass them into the Beds24 booking, and send purchase through Measurement Protocol within 72 hours with transaction_id as the booking ID and value at booking total. Pick one sender if Beds24's page has GA4, list the booking domain as unwanted referral, send refunds for cancellations, and exclude OTAs.

GA4 can show which channel filled a property's direct bookings, but only if the Beds24 booking carries the visitor's client_id. When the booking page is a Beds24-hosted link or an iframe, GA4 on your site sees a visit that ends on a Book now click; the booking happens where your tag cannot follow. Read client_id and session_id from the _ga cookies on your page, pass them into the booking, and send purchase through Measurement Protocol with transaction_id set to the Beds24 booking ID and value at the booking total.

Measurement Protocol accepts timestamps no more than 72 hours old, so the send belongs on a webhook or a frequent poll of the Beds24 API, not a weekly export. If the property has a GA4 ID configured on the Beds24 booking page itself, decide which side sends purchase: GA4 does not deduplicate, and a page tag plus a server event doubles the room revenue.

Two lodging-specific details. If the flow sends guests back to your site after booking, add the Beds24 booking domain to the unwanted referrals list so the return does not start a new referral session that takes the credit. And send a refund event with the same transaction_id when a booking is cancelled. Keep OTA reservations out of GA4 entirely; they never passed through the site.

Beds24 → GA4 · what breaks

Why this join usually fails — Beds24 → GA4

  1. 01

    The GA4 client_id never reaches Beds24

    The booking page may be embedded, hosted or fully custom depending on setup.

  2. 02

    No standard configuration to build against

    Flexible platforms mean a tracking approach that worked at one property will silently mismatch at the next. The source field values, the booking flow and the API fields all differ per account.

  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.

Beds24 → GA4 · the fix

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

Beds24 → GA4 · architecture

How Beds24 and GA4 actually connect

  1. 1

    Beds24 holds the truth

    Because the platform is configured per property, the booking source values are whatever that operator defined. Any integration has to read the actual values rather than assume a standard set.

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

  4. 4

    The event source decides reliability

    Send direct bookings at total value, using the account's own source values.

  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.

Beds24 → GA4 · normal or broken

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

Normal, not a fault

  • The GA4 client_id present on the booking

  • Sent from the Beds24 booking API

  • 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 page may be embedded, hosted or fully custom depending on setup.

  • Sent from the browser

    Flexible platforms mean a tracking approach that worked at one property will silently mismatch at the next. The source field values, the booking flow and the API fields all differ per account.

  • 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

Beds24 → GA4 · diagnose

Diagnostic order — Beds24 → GA4

  1. 01

    Count bookings carrying the GA4 client_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Inventory this account's booking sources and flow before building

    Ten minutes of reading configuration prevents an integration that reports confidently wrong numbers.

  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.

Beds24 → GA4 · prove

How it gets proven — Beds24 → GA4

Source of truth

Beds24 bookings by arrival, split by booking source as configured on that account.

  • 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 value using the account's own source definitions.

Beds24 → GA4 · free audit

What we check in the free audit

  • Count bookings carrying the GA4 client_id
  • Follow one real conversion end to end
  • Inventory this account's booking sources and flow before building
  • Check whether server events carry a session and a source
  • Read the match rate, not the success message

Checked against

Beds24 bookings by arrival, split by booking source as configured on that account.

Get my free conversion tracking audit

Free30 minutesNo obligation

Beds24 → GA4 · when not to buy

When you don't need this — Beds24 → GA4

  • Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry the GA4 client_id.
  • If the property uses a default configuration, standard approaches apply — but check rather than assume.
  • 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.

Beds24 → GA4 · what we deliver

What gets built — Beds24 → GA4

  • Identifier capture into Beds24

    Establish how this specific property's booking flow is built before designing anything, because the answer differs every time.

  • Event source: the Beds24 booking API

    Send direct bookings at total value, using the account's own source values.

  • 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 Beds24 bookings by arrival, split by booking source as configured on that account.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Beds24 → GA4 questions, answered

The server event was sent without the client_id from the guest's original visit, so GA4 created a new user with no source. Capture the _ga value before the guest reaches the booking page and store it on the booking.

Free · 30 min

Get Beds24 and GA4 joined properly

Free30 minutesNo obligation