Implementation guide
Airlines

First-Party PNR Tracking for Airline Booking Attribution

First-Party PNR Tracking for Airline Booking Attribution

Connect consented campaign touchpoints to confirmed reservations without treating an anonymous browser session as a booking.

This page describes an implementation pattern. It does not report results from a named customer.

Airline attribution becomes useful when a confirmed reservation can be tied back to the consented campaign context that preceded it. Hardal collects the marketing touchpoint, receives the booking event from the airline backend, and keeps both records in one first-party measurement flow.

Where booking attribution breaks

  • A traveler researches on one device and books on another.
  • The journey spans several sessions, so browser storage expires or is cleared.
  • The checkout or booking engine runs on a different domain.
  • An affiliate or metasearch referral disappears before the PNR is created.
  • A client-side purchase tag fires before the reservation is confirmed.

The result is a gap between clicks recorded by marketing platforms and bookings recorded by the reservation system.

Implementation pattern

  1. Capture the landing source, campaign parameters, consent state, and a first-party journey identifier.
  2. Carry that identifier into the booking flow without placing PNR data in a URL.
  3. Send a server-side event only after the reservation system confirms the booking.
  4. Join the confirmed event to the eligible campaign touchpoints.
  5. Deliver only the permitted fields to analytics, advertising, or affiliate destinations.

Event design

Keep the booking event small and explicit. A useful schema can include:

  • an internal booking reference or pseudonymous identifier
  • booking status and event timestamp
  • route, market, and product category
  • consent state at collection
  • campaign and affiliate identifiers
  • value and currency where the destination permits them

Do not send passenger names, travel-document details, or other sensitive fields to advertising destinations. Apply hashing or redaction rules before delivery, and review the event design with your privacy and security teams.

What to validate

Measure the implementation against your own baseline:

  • confirmed bookings received by Hardal versus the reservation system
  • duplicate booking events
  • bookings with an eligible campaign or affiliate source
  • rejected destination requests and their causes
  • time from booking confirmation to destination delivery

Start with one market or booking path. Reconcile the totals daily, fix duplicate and consent handling, then expand the same event contract to other routes.

See cross-domain conversion tracking for booking engines on separate domains, or Hardal for web and mobile measurement for journeys that cross an app and a website.

Related use cases