Connecting Newbook to PostHog
Newbook runs mixed-accommodation properties — cabins, powered sites, glamping tents — where each accommodation type has its own capacity, price and seasonality inside one park. 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 Newbook 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
Newbook and PostHog: see where guests drop before the hosted engine
PostHog sees your own site up to the Book now click. To close the loop, put the PostHog distinct_id on the handoff link or a reservation field, then send a reservation-created event to the capture API with that distinct_id, accommodation type, value and a UUID derived from the booking number. PostHog Cloud is usually enough for one park.
PostHog shows what visitors do on your own site: which accommodation pages they open, which dates they try, and where they click through to book. The Newbook-hosted booking engine is a different site, and unless it runs your PostHog snippet the funnel ends at the Book now click. That is still useful, because the question most parks have is which accommodation type people browse and then abandon.
To close the loop, put the PostHog distinct_id on the handoff link or a field stored with the reservation, then send a reservation-created event server-side to the capture API with that distinct_id, accommodation type, value, and a UUID generated deterministically from the booking number. A funnel can then run from cabin page view to completed reservation, split by type, showing whether glamping visitors book at a different rate from powered-site visitors.
Self-hosting PostHog for one park is more infrastructure than the question deserves; PostHog Cloud does the same job. If you self-host because guest data must stay with you, monitor the ingestion instance before peak booking season, because that is when it fills and when you most need the data.
Newbook → PostHog · what breaks
Why this join usually fails — Newbook → PostHog
- 01
The distinct_id never reaches Newbook
The booking engine is Newbook-hosted and the channel manager brings OTA reservations with no identifier at all.
- 02
Mixed inventory averaged into one occupancy figure
A park at ninety percent occupancy can be full on cheap sites and empty on premium cabins. The aggregate looks healthy and the revenue does not follow.
- 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.
Newbook → PostHog · the fix
What working looks like — Newbook → 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
Newbook → PostHog · architecture
How Newbook and PostHog actually connect
- 1
Newbook holds the truth
Mixed inventory means one park is several businesses. Glamping fills in summer at a premium; powered sites fill year-round at a lower rate. Averaging them produces a number that guides nothing.
- 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 Newbook reservation.
- 4
The event source decides reliability
Send direct-channel stays at total revenue, with accommodation type attached.
- 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.
Newbook → PostHog · normal or broken
Working vs. broken, side by side — Newbook → PostHog
Normal, not a fault
The distinct_id present on the reservation
Sent from the Newbook reservation 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 Newbook-hosted and the channel manager brings OTA reservations with no identifier at all.
Sent from the browser
A park at ninety percent occupancy can be full on cheap sites and empty on premium cabins. The aggregate looks healthy and the revenue does not follow.
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
Newbook → PostHog · diagnose
Diagnostic order — Newbook → PostHog
- 01
Count reservations carrying the distinct_id
- 02
Follow one real conversion end to end
- 03
Report occupancy and revenue per accommodation type
It is the difference between knowing the park is busy and knowing which part of it is earning.
- 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.
Newbook → PostHog · prove
How it gets proven — Newbook → PostHog
Source of truth
Newbook reservations by arrival, with accommodation type and channel recorded.
- 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 stays reconciled at total revenue by accommodation type against imported conversions.
Newbook → PostHog · free audit
What we check in the free audit
- Count reservations carrying the distinct_id
- Follow one real conversion end to end
- Report occupancy and revenue per accommodation type
- Check ingestion health and disk before debugging any missing event
- Read the match rate, not the success message
Checked against
Newbook reservations by arrival, with accommodation type and channel recorded.
Free30 minutesNo obligation
Newbook → PostHog · when not to buy
When you don't need this — Newbook → PostHog
- Measure identifier coverage yourself first — pull your last hundred reservations and count how many carry the distinct_id.
- Single-inventory parks can use one conversion action without losing anything.
- 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.
Newbook → PostHog · what we deliver
What gets built — Newbook → PostHog
Identifier capture into Newbook
Capture on your own domain and keep both accommodation type and channel on every reservation downstream.
Event source: the Newbook reservation record
Send direct-channel stays at total revenue, with accommodation type attached.
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 accommodation type.
Written guarantee
95%+ tracking accuracy
Measured against Newbook reservations by arrival, with accommodation type and channel recorded.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Newbook → PostHog questions, answered
Not directly unless the engine runs your snippet. Send the completed reservation to PostHog server-side with the distinct_id you captured before the handoff.
Give each reservation event a UUID generated deterministically from the Newbook booking number, so retries carry the same UUID and are deduplicated.
Almost always because the distinct_id never reached the Newbook reservation. The booking engine is Newbook-hosted and the channel manager brings OTA reservations with no identifier at all. 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 Newbook reservation record. Send direct-channel stays at total revenue, with accommodation type attached.
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 Newbook → PostHog
- Stripe → PostHogConnecting Stripe to PostHog
- PayPal → PostHogConnecting PayPal to PostHog
- Shopify → PostHogConnecting Shopify to PostHog
RELATED GUIDES
Where Newbook → PostHog fits in the rest of your tracking
- ResNexus → PostHogConnecting ResNexus to PostHog
- Campspot → PostHogConnecting Campspot to PostHog
- RoverPass → PostHogConnecting RoverPass to PostHog
- Newbook → AmplitudeConnecting Newbook to Amplitude
- Newbook → GA4Connecting Newbook to GA4
- Powersports and RVConversion tracking for powersports and RV, measured in delivered units
- Firefly → PostHogConnecting Firefly Reservations to PostHog
- CampLife → PostHogConnecting CampLife to PostHog
Free · 30 min
Get Newbook and PostHog joined properly
Free30 minutesNo obligation
