Connecting Profitroom to PostHog
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. 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 Profitroom 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 on a Profitroom hotel site: find where bookers drop out
PostHog shows where hotel visitors abandon the path to booking. Pass the distinct_id into the booking engine URL and send the confirmed reservation from your server with the reservation number as event UUID, including arrival date, nights, rate plan, stay value and lead time. Keep guest personal data out.
PostHog does not feed an ad platform's bidding; on a hotel site its job is showing where people abandon the path from room page to confirmed reservation. The difficulty is that the most important step, date selection and checkout, happens on the Profitroom booking engine domain. Check whether Profitroom lets you load your own snippet there. If not, the funnel ends at the Book Now click, and that is still useful for comparing room pages and offers.
To join the outcome, pass PostHog's distinct_id into the booking engine URL and send the confirmed reservation from your server as a capture event with the same distinct_id. Use the Profitroom reservation number as the event UUID so retries do not duplicate. Useful properties: arrival date, nights, rate plan, total stay value, and lead time in days between booking and arrival. Lead time is the property most hotels have never analyzed by traffic source, and it changes how you read every campaign.
Keep guest personal data out of event properties. Name, email and phone are not needed for funnel analysis, and on a self-hosted instance you carry the responsibility for whatever you store. Record cancellations as a separate event so the funnel shows bookings kept, not just bookings made.
Profitroom → PostHog · what breaks
Why this join usually fails — Profitroom → PostHog
- 01
The distinct_id never reaches Profitroom
The booking engine sits on a Profitroom-served domain and the decision runs across sessions and devices.
- 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.
- 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.
- 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.
Profitroom → PostHog · the fix
What working looks like — Profitroom → 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
Profitroom → PostHog · architecture
How Profitroom and PostHog actually connect
- 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
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
The identifier is the bridge
The distinct_id, captured at the visit and carried into the Profitroom booking.
- 4
The event source decides reliability
Send direct bookings at total stay value, with OTA-sourced reservations reported separately.
- 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.
Profitroom → PostHog · normal or broken
Working vs. broken, side by side — Profitroom → PostHog
Normal, not a fault
The distinct_id present on the booking
Sent from the Profitroom 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 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 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
Profitroom → PostHog · diagnose
Diagnostic order — Profitroom → PostHog
- 01
Count bookings carrying the distinct_id
- 02
Follow one real conversion end to end
- 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.
- 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.
- 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.
Profitroom → PostHog · prove
How it gets proven — Profitroom → PostHog
Source of truth
Profitroom direct bookings by arrival date, at total stay revenue.
- 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 stay value against imported conversions, with direct share stated.
Profitroom → PostHog · free audit
What we check in the free audit
- Count bookings carrying the distinct_id
- Follow one real conversion end to end
- Report direct share of bookings, not just occupancy
- Check ingestion health and disk before debugging any missing event
- Read the match rate, not the success message
Checked against
Profitroom direct bookings by arrival date, at total stay revenue.
Free30 minutesNo obligation
Profitroom → PostHog · when not to buy
When you don't need this — Profitroom → PostHog
- Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry the distinct_id.
- If your OTA share is already low, the remaining upside is small and the effort belongs elsewhere.
- 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.
Profitroom → PostHog · what we deliver
What gets built — Profitroom → PostHog
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 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, 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.
From $400 · See packages
FAQ
Profitroom → PostHog questions, answered
Only if Profitroom lets you add your own tracking to the booking pages; confirm this with them. Otherwise, send the confirmed reservation server-side with the captured distinct_id so at least the outcome joins the visit.
Not as an ad destination, since it does not feed bidding. It is useful for funnel drop-off, lead time by source, and testing which room pages lead to bookings.
Almost always because the distinct_id never reached the Profitroom booking. The booking engine sits on a Profitroom-served domain and the decision runs across sessions and devices. Measure coverage before debugging the dispatch.
PostHog identifies by distinct_id with an alias call to merge anonymous and identified users. On a self-hosted instance you also control the ingestion endpoint, which means the identifier survives ad blockers that would kill a third-party pixel — one of the few genuine technical advantages available to a first-party setup.
The Profitroom booking record. Send direct bookings at total stay value, with OTA-sourced reservations reported separately.
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.
More on Profitroom → PostHog
- Stripe → PostHogConnecting Stripe to PostHog
- PayPal → PostHogConnecting PayPal to PostHog
- Shopify → PostHogConnecting Shopify to PostHog
RELATED GUIDES
Where Profitroom → PostHog fits in the rest of your tracking
- Little Hotelier → PostHogConnecting Little Hotelier to PostHog
- eviivo → PostHogConnecting eviivo to PostHog
- Tokeet → PostHogConnecting Tokeet to PostHog
- Profitroom → AmplitudeConnecting Profitroom to Amplitude
- Profitroom → MixpanelConnecting Profitroom to Mixpanel
- TravelConversion tracking for travel, across long research windows and several devices
- Beds24 → PostHogConnecting Beds24 to PostHog
- Smoobu → PostHogConnecting Smoobu to PostHog
Free · 30 min
Get Profitroom and PostHog joined properly
Free30 minutesNo obligation
