Skip to main content
Beds24 → PostHogIntegration guide

Connecting Beds24 to PostHog

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. PostHog can be self-hosted, which changes the calculus entirely: the data stays on infrastructure you control, and so does the responsibility for everything that goes wrong with it. The join between them succeeds or fails on one thing: whether the distinct_id reaches the Beds24 booking before the conversion happens, because PostHog can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

PostHog funnels that see past the Beds24 booking iframe

Pass the PostHog distinct_id into the Beds24 booking page, store it on the booking, and capture booking_confirmed from the Beds24 API with that distinct_id, booking ID as event UUID, and nights, room and lead time. The booking engine's middle steps stay invisible without your own script. Send cancellations separately and exclude OTA bookings.

PostHog is useful to a property that wants to know why visitors look at rooms and do not book. The difficulty with Beds24 is that the decisive steps, choosing dates, seeing the price, entering card details, happen inside the booking engine, usually a cross-origin iframe or a separate Beds24 page. PostHog's script on your site cannot see inside it, so session replays end at the widget and funnels show everyone dropping at the same point.

Server-side, you can close the end of the funnel. Generate the PostHog distinct_id on your site, pass it into the Beds24 booking page as a URL parameter, store it on the booking, and capture a booking_confirmed event from the Beds24 API with that distinct_id, the booking ID as the event UUID, and properties for nights, room and lead time. The middle stays dark unless your booking page setup allows your own script, so do not expect step-by-step booking engine analytics.

What you can learn is still worth having: which pages and room types precede bookings, how lead time differs by traffic source, and how many people who opened the booking engine never confirmed. Keep OTA bookings out, since those guests never touched your site, and send cancellations as their own event so conversion rates are not overstated.

Beds24 → PostHog · what breaks

Why this join usually fails — Beds24 → PostHog

  1. 01

    The distinct_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

    Self-hosting the analytics and the outage together

    The advantage of owning the pipeline is that nothing blocks it. The cost is that when the ingestion instance fills its disk on a Saturday, the events are gone and nobody is paged. Hosted tools fail differently and more visibly.

  4. 04

    Nothing reconciles afterwards

    PostHog shows events in the activity view within moments. On a self-hosted instance, check the ingestion lag as well — events that are queued are not events that are lost, and the two need different responses.

Beds24 → PostHog · the fix

What working looks like — Beds24 → PostHog

  • The distinct_id on every booking

  • Conversions arriving in PostHog

    The event lands on the person profile and becomes available in insights, funnels and session replay.

  • Reconciled against the source

Beds24 → PostHog · architecture

How Beds24 and PostHog 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

    PostHog needs a click to match

    PostHog needs a distinct_id, an event name and its properties. Self-hosted instances additionally need the ingestion endpoint reachable and the project API key correct, which is a class of failure hosted tools do not have.

  3. 3

    The identifier is the bridge

    The distinct_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

    PostHog deduplicates on the event UUID where supplied. Without one, a retried batch duplicates, and on a self-hosted instance there is no vendor support desk to notice it for you.

Beds24 → PostHog · normal or broken

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

Normal, not a fault

  • The distinct_id present on the booking

  • Sent from the Beds24 booking API

  • Deduplicated correctly

    PostHog deduplicates on the event UUID where supplied. Without one, a retried batch duplicates, and on a self-hosted instance there is no vendor support desk to notice it for you.

  • Reconciles with the source

Actually broken

  • The distinct_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 advantage of owning the pipeline is that nothing blocks it. The cost is that when the ingestion instance fills its disk on a Saturday, the events are gone and nobody is paged. Hosted tools fail differently and more visibly.

  • Nobody has reconciled it

Beds24 → PostHog · diagnose

Diagnostic order — Beds24 → PostHog

  1. 01

    Count bookings carrying the distinct_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 ingestion health and disk before debugging any missing event

    On self-hosted instances the answer is infrastructure far more often than it is instrumentation.

  5. 05

    Read the match rate, not the success message

    PostHog shows events in the activity view within moments. On a self-hosted instance, check the ingestion lag as well — events that are queued are not events that are lost, and the two need different responses.

Beds24 → PostHog · prove

How it gets proven — Beds24 → PostHog

Source of truth

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

  • The distinct_id confirmed present on a live booking.
  • Purchase events reconciled per transaction against your billing system, with ingestion lag checked over the same window.
  • Direct bookings reconciled at total value using the account's own source definitions.

Beds24 → PostHog · free audit

What we check in the free audit

  • Count bookings carrying the distinct_id
  • Follow one real conversion end to end
  • Inventory this account's booking sources and flow before building
  • Check ingestion health and disk before debugging any missing event
  • 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 → PostHog · when not to buy

When you don't need this — Beds24 → PostHog

  • Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry the distinct_id.
  • If the property uses a default configuration, standard approaches apply — but check rather than assume.
  • If you have no reason to keep the data on your own infrastructure and no team to run it, the hosted product removes the only real downside of this one.

Beds24 → PostHog · what we deliver

What gets built — Beds24 → PostHog

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

    The PostHog capture API, posted server-side from your backend to your own instance or to PostHog Cloud.

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

No. The booking engine runs in a separate frame or page your PostHog script cannot record. Capture the confirmed booking server-side with the same distinct_id instead.

Free · 30 min

Get Beds24 and PostHog joined properly

Free30 minutesNo obligation