Skip to main content
OPERA → PostHogIntegration guide

Connecting Oracle OPERA to PostHog

OPERA is the enterprise hotel property management system, which means the reservation record is authoritative, deeply structured, and controlled by a corporate IT function rather than by marketing. 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 OPERA 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

OPERA and PostHog: funnel analysis that stops at the booking engine

PostHog funnels usually stop where the CRS-hosted booking engine begins. If you cannot install PostHog there, pass the distinct_id into the booking flow so the CRS stores it, then send a reservation event server-side with confirmation number, property, arrival date and rate code category, plus a check-out event with realized revenue from OPERA PMS.

PostHog is product analytics, and a hotel website is a short funnel: search dates, pick a room, pay. The catch is that the last two steps usually happen on a booking engine run by the CRS vendor, where you may not be allowed to install a PostHog snippet. Check that first. Without it, PostHog sees people leave for the booking engine and never sees them book, and every funnel ends at the handoff.

If the booking engine is off limits, close the loop from OPERA. Pass the PostHog distinct_id into the booking flow as a parameter the CRS stores on the reservation, then send a reservation event server-side through the capture API with that distinct_id, the confirmation number, property, arrival date and rate code category. A second event at check-out with realized revenue lets you build funnels that end at a stay rather than a click on the book button.

PostHog is a strong fit where the hotel group runs its own app or member portal, because there the product is genuinely yours: loyalty account, digital key, upgrade requests. For a single property on a vendor booking engine, it is a lot of plumbing to answer questions your booking engine's own reports already answer.

OPERA → PostHog · what breaks

Why this join usually fails — OPERA → PostHog

  1. 01

    The distinct_id never reaches OPERA

    There is no browser near the PMS. Reservations arrive from a CRS, a channel manager or the front desk, and the identifier must be carried in as a reservation field.

  2. 02

    Contracted business credited to media

    Group blocks and corporate negotiated rates are sold by a sales team under agreements signed months earlier. In a pooled revenue figure they land against whichever campaign happened to be running.

  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.

OPERA → PostHog · the fix

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

    Oracle OPERA's own records are the reference, not either dashboard.

OPERA → PostHog · architecture

How OPERA and PostHog actually connect

  1. 1

    Oracle OPERA holds the truth

    Rate code is the key field. Corporate negotiated rates, group blocks and contracted business all sit alongside transient bookings, and only transient is influenced by advertising.

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

  4. 4

    The event source decides reliability

    Send transient direct reservations per property at total stay revenue, excluding contracted rate codes.

  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.

OPERA → PostHog · normal or broken

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

Normal, not a fault

  • The distinct_id present on the reservation

    Visible on the record itself in Oracle OPERA, not merely captured somewhere on the site.

  • Sent from the OPERA 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

    PostHog's count and Oracle OPERA's records agree within a few percent over a closed window.

Actually broken

  • The distinct_id missing on most records

    There is no browser near the PMS. Reservations arrive from a CRS, a channel manager or the front desk, and the identifier must be carried in as a reservation field.

  • Sent from the browser

    Group blocks and corporate negotiated rates are sold by a sales team under agreements signed months earlier. In a pooled revenue figure they land against whichever campaign happened to be running.

  • 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

    The dashboard shows a number and no one has compared it to Oracle OPERA.

OPERA → PostHog · diagnose

Diagnostic order — OPERA → PostHog

  1. 01

    Count reservations carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Exclude contracted rate codes before reading any campaign figure

    At enterprise properties this is most of the revenue, and including it makes campaign reporting meaningless.

  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.

OPERA → PostHog · prove

How it gets proven — OPERA → PostHog

Against Oracle OPERA's own records, not against either platform's dashboard.

Source of truth

OPERA reservations by property and rate code, 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.
  • Transient direct reservations reconciled per property and rate code against imported conversions.

OPERA → PostHog · free audit

What we check in the free audit

  • Count reservations carrying the distinct_id
  • Follow one real conversion end to end
  • Exclude contracted rate codes before reading any campaign figure
  • Check ingestion health and disk before debugging any missing event
  • Read the match rate, not the success message

Checked against

OPERA reservations by property and rate code, at total stay revenue.

Get my free conversion tracking audit

Free30 minutesNo obligation

OPERA → PostHog · when not to buy

When you don't need this — OPERA → PostHog

  • If PostHog already reports conversions that reconcile against Oracle OPERA's records within a few percent, this join is working and there is nothing to buy.
  • Measure identifier coverage yourself first — pull your last hundred reservations and count how many carry the distinct_id.
  • Properties filling mainly on group and corporate business have a sales question rather than a media one.
  • 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.

OPERA → PostHog · what we deliver

What gets built — OPERA → PostHog

  • Identifier capture into OPERA

    Write the identifier into a supported reservation field at booking, and expect a change-control process to reach it.

  • Event source: the OPERA reservation record

    Send transient direct reservations per property at total stay revenue, excluding contracted rate codes.

  • 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 no-shows reverse.

Written guarantee

95%+ tracking accuracy

Measured against OPERA reservations by property and rate code, at total stay revenue.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

OPERA → PostHog questions, answered

Only if the engine lets you add the snippet. Otherwise carry the distinct_id onto the reservation and send the booking server-side from OPERA or the CRS.

Free · 30 min

Get OPERA and PostHog joined properly

Free30 minutesNo obligation