Skip to main content
Hostaway → PostHogIntegration guide

Connecting Hostaway to PostHog

Hostaway is a channel manager first, which means its job is to fill your calendar from Airbnb, Vrbo and Booking.com — and every one of those bookings is unattributable by construction. 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 Hostaway reservation 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

Hostaway to PostHog: map the direct booking funnel, skip OTA noise

Use PostHog as a funnel tool on the direct booking site, then capture direct Hostaway reservations from the webhook on the distinct_id the browser used, passed into a reservation field, so the booking completes the funnel. Group events by property where enabled. Never send OTA reservations, which create single-event persons and dilute conversion rate.

PostHog earns its place on a rental operator's direct site as a funnel tool: which properties get viewed, where people drop between date search and quote, how many abandon at the payment step. The reservation itself should still come from the server. When the Hostaway reservation webhook fires for a direct booking, a capture call with the distinct_id the browser was using makes the reservation the last step of that funnel, rather than an orphan event attached to a new anonymous person.

That requires the distinct_id to reach the reservation. If the booking engine runs on a Hostaway-hosted domain, check whether you can load the PostHog snippet there and pass its identifier into a reservation field; if not, the funnel ends at the hand-off and you will only ever see clicks on the Book button. Group analytics, if enabled on your project, is useful here: grouping events by property lets you compare listings rather than reading a portfolio-wide funnel.

Do not send OTA reservations into PostHog to complete the picture. They have no browser session, so each one creates a person with a single event and no history, and the direct-booking conversion rate you were trying to measure gets diluted by bookings that never touched the site.

Hostaway → PostHog · what breaks

Why this join usually fails — Hostaway → PostHog

  1. 01

    The distinct_id never reaches Hostaway

    OTA reservations arrive by API. There is no browser, no cookie and no click of yours anywhere in the chain.

  2. 02

    OTA growth read as campaign success

    A good month on Booking.com and a good month on Google Ads look identical in a pooled reservation count. One of them you paid a commission for and the other you paid a CPC for, and only one is something your ad account can influence.

  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.

Hostaway → PostHog · the fix

What working looks like — Hostaway → PostHog

  • The distinct_id on every reservation

  • Conversions arriving in PostHog

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

  • Reconciled against the source

Hostaway → PostHog · architecture

How Hostaway and PostHog actually connect

  1. 1

    Hostaway holds the truth

    The channel field is the entire measurement. Pooling OTA and direct reservations produces a number that moves with Airbnb's algorithm and gets read as advertising performance.

  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 Hostaway reservation.

  4. 4

    The event source decides reliability

    Send direct reservations net of channel and cleaning fees, per property. A portfolio operator running one campaign learns nothing from a portfolio-wide total.

  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.

Hostaway → PostHog · normal or broken

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

Normal, not a fault

  • The distinct_id present on the reservation

  • Sent from the Hostaway reservation webhook

  • 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

    OTA reservations arrive by API. There is no browser, no cookie and no click of yours anywhere in the chain.

  • Sent from the browser

    A good month on Booking.com and a good month on Google Ads look identical in a pooled reservation count. One of them you paid a commission for and the other you paid a CPC for, and only one is something your ad account can influence.

  • 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

Hostaway → PostHog · diagnose

Diagnostic order — Hostaway → PostHog

  1. 01

    Count reservations carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Split reservations by channel before anything else

    This takes one report and it changes what every subsequent number means.

  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.

Hostaway → PostHog · prove

How it gets proven — Hostaway → PostHog

Source of truth

Hostaway reservations by property and by channel, with the direct channel kept strictly separate.

  • The distinct_id confirmed present on a live reservation.
  • Purchase events reconciled per transaction against your billing system, with ingestion lag checked over the same window.
  • Direct-channel reservations reconciled per property against imported conversions.

Hostaway → PostHog · free audit

What we check in the free audit

  • Count reservations carrying the distinct_id
  • Follow one real conversion end to end
  • Split reservations by channel before anything else
  • Check ingestion health and disk before debugging any missing event
  • Read the match rate, not the success message

Checked against

Hostaway reservations by property and by channel, with the direct channel kept strictly separate.

Get my free conversion tracking audit

Free30 minutesNo obligation

Hostaway → PostHog · when not to buy

When you don't need this — Hostaway → PostHog

  • Measure identifier coverage yourself first — pull your last hundred reservations and count how many carry the distinct_id.
  • A pure OTA operation has nothing to attribute. Spend the effort on rate parity and listing position instead.
  • 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.

Hostaway → PostHog · what we deliver

What gets built — Hostaway → PostHog

  • Identifier capture into Hostaway

    Attribute the direct channel only, and report OTA volume as a named exclusion so it cannot quietly re-enter the calculation later.

  • Event source: the Hostaway reservation webhook

    Send direct reservations net of channel and cleaning fees, per property. A portfolio operator running one campaign learns nothing from a portfolio-wide total.

  • 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, per property.

Written guarantee

95%+ tracking accuracy

Measured against Hostaway reservations by property and by channel, with the direct channel kept strictly separate.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Hostaway → PostHog questions, answered

Send the reservation server-side with the distinct_id captured in the browser before checkout, so it joins the visitor's existing session history.

Free · 30 min

Get Hostaway and PostHog joined properly

Free30 minutesNo obligation