Skip to main content
HotelRunner → PostHogIntegration guide

Connecting HotelRunner to PostHog

HotelRunner serves small properties in emerging markets, where payment methods, currencies and OTA dependence differ enough that Western booking assumptions do not transfer. 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 HotelRunner 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

HotelRunner to PostHog: find where guests leave the web for chat

Track room views, date searches, rate views and WhatsApp, phone or email taps in PostHog on one distinct_id to see where guests leave for chat. Capture completed HotelRunner web bookings server-side on the browser's distinct_id, with original currency and converted value as separate properties. Leave unlinked chat bookings out and report the hand-off rate.

For a small property on HotelRunner, PostHog's most useful job is showing where visitors stop using the website and start messaging. Track room views, date searches, rate views and every tap on a WhatsApp, phone or email link as events with the same distinct_id, and the funnel shows at which step guests decide the booking engine is not enough. That is often a pricing or payment question the site fails to answer, and fixing it moves more bookings than any ad change.

Completed web bookings should come from the HotelRunner booking record, captured server-side with the distinct_id the browser used. The booking engine runs on HotelRunner's domain, so check whether you can load PostHog there, or pass the identifier into the booking flow so the server event joins the right person. Include the currency and the value converted to one reporting currency as separate properties.

Chat bookings are the gap. If staff record which bookings came from a WhatsApp conversation, sending them as a separate event against the person who tapped the chat button is possible only when you can link the chat to the visitor, which usually means asking for a reference in the first message. Without that, report the chat hand-off rate and leave chat bookings out of PostHog.

HotelRunner → PostHog · what breaks

Why this join usually fails — HotelRunner → PostHog

  1. 01

    The distinct_id never reaches HotelRunner

    The booking engine is hosted, and a meaningful share of bookings arrive through messaging apps rather than the web.

  2. 02

    Currency movement between booking and settlement

    On long lead times in volatile currencies, the amount that settles can differ meaningfully from the amount booked. Reporting the booking figure describes an intention rather than income.

  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.

HotelRunner → PostHog · the fix

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

HotelRunner → PostHog · architecture

How HotelRunner and PostHog actually connect

  1. 1

    HotelRunner holds the truth

    Currency matters here more than in most markets. A booking quoted in one currency and settled in another can move materially between booking and arrival.

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

  4. 4

    The event source decides reliability

    Send direct bookings at settlement value in a single reporting currency.

  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.

HotelRunner → PostHog · normal or broken

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

Normal, not a fault

  • The distinct_id present on the booking

  • Sent from the HotelRunner booking record

  • 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 engine is hosted, and a meaningful share of bookings arrive through messaging apps rather than the web.

  • Sent from the browser

    On long lead times in volatile currencies, the amount that settles can differ meaningfully from the amount booked. Reporting the booking figure describes an intention rather than income.

  • 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

HotelRunner → PostHog · diagnose

Diagnostic order — HotelRunner → PostHog

  1. 01

    Count bookings carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Fix a reporting currency and state the conversion basis

    Without it, month-on-month comparisons partly measure the exchange rate.

  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.

HotelRunner → PostHog · prove

How it gets proven — HotelRunner → PostHog

Source of truth

HotelRunner bookings by arrival, in the property's settlement currency, split by channel.

  • 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 settled value in the reporting currency.

HotelRunner → PostHog · free audit

What we check in the free audit

  • Count bookings carrying the distinct_id
  • Follow one real conversion end to end
  • Fix a reporting currency and state the conversion basis
  • Check ingestion health and disk before debugging any missing event
  • Read the match rate, not the success message

Checked against

HotelRunner bookings by arrival, in the property's settlement currency, split by channel.

Get my free conversion tracking audit

Free30 minutesNo obligation

HotelRunner → PostHog · when not to buy

When you don't need this — HotelRunner → PostHog

  • Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry the distinct_id.
  • Single-currency properties can report booking value directly and skip the conversion question.
  • 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.

HotelRunner → PostHog · what we deliver

What gets built — HotelRunner → PostHog

  • Identifier capture into HotelRunner

    Capture on your own site where you have one, and treat messaging-sourced bookings as their own unattributable channel.

  • Event source: the HotelRunner booking record

    Send direct bookings at settlement value in a single reporting currency.

  • 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 HotelRunner bookings by arrival, in the property's settlement currency, split by channel.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

HotelRunner → PostHog questions, answered

Track every chat-button tap in PostHog with the step it happened on; the funnel shows where guests leave the booking engine.

Free · 30 min

Get HotelRunner and PostHog joined properly

Free30 minutesNo obligation