Skip to main content
OPERA → GA4Integration guide

Connecting Oracle OPERA to GA4

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. GA4 is where the business goes to understand what happened, which makes an unattributed conversion there expensive in decisions rather than in ad spend. The join between them succeeds or fails on one thing: whether the GA4 client_id reaches the OPERA reservation before the conversion happens, because GA4 can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

OPERA reservations in GA4: cancellations and true stay revenue

The booking engine usually already sends GA4's purchase at booking. From OPERA PMS, send refund events for cancelled and no-show reservations with the same transaction_id, which first requires finding the field holding the engine's external confirmation number. Filter out group and negotiated rate codes entirely, and send property code as a parameter.

In most hotels the booking engine already sends a GA4 purchase at the moment of booking. What GA4 lacks is everything OPERA learns afterwards: the stay was canceled, the guest no-showed, or the room revenue changed at check-out. OPERA's job here is correction, not first reporting. Send a refund event for canceled and no-show reservations with the same transaction_id the booking engine used, which means confirming that the engine's confirmation number and OPERA's reservation number can be matched.

That match is the usual failure. Booking engines, the CRS and OPERA often each issue their own number, and only some of them are carried across. If the GA4 transaction_id is the engine's ID and OPERA only stores its own, refunds will not net against anything. Find the field that carries the external confirmation number before writing any integration, and expect to raise a change request with the hotel's IT team to read it, through OHIP or an export.

Filter by rate code before sending anything. Group blocks and negotiated corporate rates never touched your website, so they must not appear in GA4 at all. Send property code as a parameter so multi-property groups can split GA4 reports per hotel.

OPERA → GA4 · what breaks

Why this join usually fails — OPERA → GA4

  1. 01

    The GA4 client_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

    Everything lands under (direct)/(none)

    The classic Measurement Protocol symptom, and it always means the same thing: the client_id was missing or wrong, so GA4 had no session to attach the event to and invented a new user.

  4. 04

    Nothing reconciles afterwards

    GA4 DebugView shows events arriving with their parameters, and Realtime confirms the user and session they attached to. Neither tells you whether you are double-counting — for that, compare GA4's conversion count against the source system's record for the same window.

OPERA → GA4 · the fix

What working looks like — OPERA → GA4

  • The GA4 client_id on every reservation

  • Conversions arriving in GA4

    Conversions appear in GA4 attributed to the original session's source and medium, so acquisition reporting reflects what actually drove revenue.

  • Reconciled against the source

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

OPERA → GA4 · architecture

How OPERA and GA4 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

    GA4 needs a click to match

    GA4 needs the client_id to attach a server event to the user and session that produced the click. Without it there is no attribution to inherit and the event is orphaned.

  3. 3

    The identifier is the bridge

    The GA4 client_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

    GA4 has no built-in deduplication for Measurement Protocol. If the browser also sends the event, it counts twice. The only reliable approach is to decide per event which side sends it, and enforce that decision — GA4 will not protect you from your own duplicates.

OPERA → GA4 · normal or broken

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

Normal, not a fault

  • The GA4 client_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

    GA4 has no built-in deduplication for Measurement Protocol. If the browser also sends the event, it counts twice. The only reliable approach is to decide per event which side sends it, and enforce that decision — GA4 will not protect you from your own duplicates.

  • Reconciles with the source

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

Actually broken

  • The GA4 client_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 classic Measurement Protocol symptom, and it always means the same thing: the client_id was missing or wrong, so GA4 had no session to attach the event to and invented a new user.

  • Nobody has reconciled it

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

OPERA → GA4 · diagnose

Diagnostic order — OPERA → GA4

  1. 01

    Count reservations carrying the GA4 client_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 whether server events carry a session and a source

    In GA4 Realtime or DebugView, find the event and look at its session and traffic source. A brand-new user with no source on every server event is the missing-client_id signature.

  5. 05

    Read the match rate, not the success message

    GA4 DebugView shows events arriving with their parameters, and Realtime confirms the user and session they attached to. Neither tells you whether you are double-counting — for that, compare GA4's conversion count against the source system's record for the same window.

OPERA → GA4 · prove

How it gets proven — OPERA → GA4

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 GA4 client_id confirmed present on a live reservation.
  • Server events confirmed in DebugView attaching to an existing session with the original traffic source intact.
  • Transient direct reservations reconciled per property and rate code against imported conversions.

OPERA → GA4 · free audit

What we check in the free audit

  • Count reservations carrying the GA4 client_id
  • Follow one real conversion end to end
  • Exclude contracted rate codes before reading any campaign figure
  • Check whether server events carry a session and a source
  • 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 → GA4 · when not to buy

When you don't need this — OPERA → GA4

  • If GA4 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 GA4 client_id.
  • Properties filling mainly on group and corporate business have a sales question rather than a media one.
  • GA4 is reporting, not bidding. If your problem is ad platform optimization, fix the ad platform destination first — GA4 will not change what any campaign does.

OPERA → GA4 · what we deliver

What gets built — OPERA → GA4

  • 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 GA4

    Measurement Protocol events with the client_id, session_id and the correct measurement ID and API secret, sent server-side.

  • 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 → GA4 questions, answered

The GA4 transaction_id usually comes from the booking engine, and OPERA stores a different reservation number. Map the external confirmation number before sending refund events.

Free · 30 min

Get OPERA and GA4 joined properly

Free30 minutesNo obligation