Skip to main content
D-EDGE → PostHogIntegration guide

Connecting D-EDGE to PostHog

D-EDGE combines a central reservation system, channel management and digital media for hotel groups, which means the same vendor is frequently running the campaigns and reporting on them. 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 D-EDGE 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

D-EDGE booking funnel in PostHog: from date search to reservation

If D-EDGE supports a tag container, run PostHog on the booking engine with the distinct_id passed in the booking URL, capturing searches with arrival date and nights. Send the confirmed reservation server-side from the feed with a UUID from the reservation number. Mask all inputs and exclude the payment step from session replay, or keep replay off.

PostHog can show where hotel shoppers drop between the brand site and a confirmed reservation, but the steps that matter most (date search, room selection, rate choice, guest details, payment) happen in the D-EDGE booking engine on its own domain. Unless PostHog runs on those pages with the distinct_id carried across, your funnel ends at the Book Now button and explains nothing.

Check what D-EDGE allows on its booking engine pages. If it supports a tag container, run PostHog through it with the distinct_id passed in the booking URL, and capture searches with arrival date and number of nights as properties: lead time and length of stay are what hotel funnels split on. Send the confirmed reservation server-side from the reservation feed with a UUID derived from the reservation number, so a refreshed confirmation page does not count twice.

Session replay is the tempting PostHog feature here and the risky one. Booking engine pages collect names, phone numbers and card details, and a replay recording them is a data breach waiting for an audit. If replay runs there at all, mask every input and exclude the payment step entirely; better still, keep replay to your own brand site.

D-EDGE → PostHog · what breaks

Why this join usually fails — D-EDGE → PostHog

  1. 01

    The distinct_id never reaches D-EDGE

    Multi-property groups have bookings crossing brand and property domains within one session.

  2. 02

    The vendor marking its own homework

    A supplier that provides the booking engine, the metasearch bidding and the reporting has every incentive to attribute generously. Reconcile against the PMS, which nobody in that chain controls.

  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.

D-EDGE → PostHog · the fix

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

D-EDGE → PostHog · architecture

How D-EDGE and PostHog actually connect

  1. 1

    D-EDGE holds the truth

    When distribution technology and media buying come from one supplier, there is no independent check on the attribution. Reconciling against the property's own PMS is the only way to verify anything.

  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 D-EDGE reservation.

  4. 4

    The event source decides reliability

    Send direct reservations per property at total stay value.

  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.

D-EDGE → PostHog · normal or broken

Working vs. broken, side by side — D-EDGE → PostHog

Normal, not a fault

  • The distinct_id present on the reservation

  • Sent from the D-EDGE reservation feed

  • 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

    Multi-property groups have bookings crossing brand and property domains within one session.

  • Sent from the browser

    A supplier that provides the booking engine, the metasearch bidding and the reporting has every incentive to attribute generously. Reconcile against the PMS, which nobody in that chain controls.

  • 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

D-EDGE → PostHog · diagnose

Diagnostic order — D-EDGE → PostHog

  1. 01

    Count reservations carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Reconcile vendor-reported bookings against the property's own PMS

    Do this before renewing, not after. The gap is the answer.

  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.

D-EDGE → PostHog · prove

How it gets proven — D-EDGE → PostHog

Source of truth

D-EDGE reservations by property and channel, at total stay revenue.

  • 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 reservations reconciled per property against the PMS and against imported conversions.

D-EDGE → PostHog · free audit

What we check in the free audit

  • Count reservations carrying the distinct_id
  • Follow one real conversion end to end
  • Reconcile vendor-reported bookings against the property's own PMS
  • Check ingestion health and disk before debugging any missing event
  • Read the match rate, not the success message

Checked against

D-EDGE reservations by property and channel, at total stay revenue.

Get my free conversion tracking audit

Free30 minutesNo obligation

D-EDGE → PostHog · when not to buy

When you don't need this — D-EDGE → PostHog

  • Measure identifier coverage yourself first — pull your last hundred reservations and count how many carry the distinct_id.
  • Single independent properties buying media themselves do not have the independence problem.
  • 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.

D-EDGE → PostHog · what we deliver

What gets built — D-EDGE → PostHog

  • Identifier capture into D-EDGE

    Capture at the brand site and persist across the property handoff, writing the identifier onto the reservation.

  • Event source: the D-EDGE reservation feed

    Send direct reservations per property at total stay value.

  • 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 and modifications reverse.

Written guarantee

95%+ tracking accuracy

Measured against D-EDGE reservations by property and channel, at total stay revenue.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

D-EDGE → PostHog questions, answered

Only if D-EDGE lets you deploy PostHog on its booking pages and you pass the distinct_id across domains. Otherwise send confirmed reservations server-side.

Free · 30 min

Get D-EDGE and PostHog joined properly

Free30 minutesNo obligation