Skip to main content
Bookinglayer → AmplitudeIntegration guide

Connecting Bookinglayer to Amplitude

Bookinglayer sells a stay bundled with an experience — a surf camp, a yoga retreat — which means the package price contains accommodation, instruction, food and equipment that all have different margins and different capacity limits. Amplitude is built around behavioural cohorts, which makes the identity resolution and the event taxonomy load-bearing in a way they never are for an ad pixel. The join between them succeeds or fails on one thing: whether the user ID and device ID pair reaches the Bookinglayer booking before the conversion happens, because Amplitude can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Bookinglayer bookings in Amplitude without splitting the guest

Pass the Amplitude device ID from your site into the Bookinglayer booking through a hidden field or URL parameter, then send bookings server-side with that device ID and your own guest user ID. Model deposit paid, balance paid and stay completed as separate events with package, nights, room type and add-ons as properties, and send cancellations as their own event.

Amplitude is useful here for a question Bookinglayer cannot answer: what a future guest did on your site in the weeks before booking, which camp pages they compared, which dates they checked, whether they looked at the add-ons. That only works if the booking lands on the same Amplitude user as the browsing. The browser SDK assigns a device ID; the Bookinglayer booking knows an email and a booking reference. Nothing connects them unless you build it.

Build it before the handoff. Read the Amplitude device ID on your own domain and pass it into the booking as a hidden field or URL parameter, if your Bookinglayer form accepts one (check this first). Then send the booking server-side with that same device ID, plus a user ID from your own guest record. Send it with neither and Amplitude creates a new user who only ever booked, and your pre-booking funnel shows no conversions at all.

Model the booking as several events rather than one: deposit paid at booking, balance paid later, stay completed after arrival, each carrying package, nights, room type and add-ons as event properties. That gives you the bed-versus-lesson-versus-add-on split as ordinary Amplitude charts. Keep package choice off user properties, because a returning guest books something different next season. Send cancellations as their own event, or a negative revenue event, rather than expecting the original deposit to change.

Bookinglayer → Amplitude · what breaks

Why this join usually fails — Bookinglayer → Amplitude

  1. 01

    The user ID and device ID pair never reaches Bookinglayer

    Retreat decisions run weeks to months, frequently start on Instagram and finish on a Bookinglayer-hosted checkout, and deposits are taken long before arrival.

  2. 02

    One package price hiding four different constraints

    A camp can be sold out on beds while instructors sit idle, or the reverse. A single booking count cannot show which resource is actually binding, so advertising keeps pushing the package that is already full.

  3. 03

    Revenue events that carry no revenue

    Amplitude will happily accept a purchase event with no price field. The event count looks correct, the funnel looks correct, and the revenue reporting stays at zero — which people usually discover a quarter later when someone asks what a cohort is worth.

  4. 04

    Nothing reconciles afterwards

    Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.

Bookinglayer → Amplitude · the fix

What working looks like — Bookinglayer → Amplitude

  • The user ID and device ID pair on every booking

  • Conversions arriving in Amplitude

    The event lands on the user, joins their behavioural history, and becomes available for cohorts, funnels and retention.

  • Reconciled against the source

Bookinglayer → Amplitude · architecture

How Bookinglayer and Amplitude actually connect

  1. 1

    Bookinglayer holds the truth

    A package is not one product. Rooms are capacity-limited by beds, lessons by instructors, and add-ons carry the best margin — so two bookings at the same price can be quite different businesses.

  2. 2

    Amplitude needs a click to match

    Amplitude needs a device or user identifier, an event type and its properties. Revenue events need the price and quantity fields specifically, or the revenue reporting stays empty while events flow normally.

  3. 3

    The identifier is the bridge

    The user ID and device ID pair, captured at the visit and carried into the Bookinglayer booking.

  4. 4

    The event source decides reliability

    Send the deposit at its amount and the completed stay at full package value, as two separate events rather than one optimistic total.

  5. 5

    Deduplication at the destination

    Amplitude deduplicates on insert_id. Omit it and a retried batch is counted twice, which shows up as a phantom spike that someone will eventually build a hypothesis on.

Bookinglayer → Amplitude · normal or broken

Working vs. broken, side by side — Bookinglayer → Amplitude

Normal, not a fault

  • The user ID and device ID pair present on the booking

  • Sent from the Bookinglayer booking record

  • Deduplicated correctly

    Amplitude deduplicates on insert_id. Omit it and a retried batch is counted twice, which shows up as a phantom spike that someone will eventually build a hypothesis on.

  • Reconciles with the source

Actually broken

  • The user ID and device ID pair missing on most records

    Retreat decisions run weeks to months, frequently start on Instagram and finish on a Bookinglayer-hosted checkout, and deposits are taken long before arrival.

  • Sent from the browser

    A camp can be sold out on beds while instructors sit idle, or the reverse. A single booking count cannot show which resource is actually binding, so advertising keeps pushing the package that is already full.

  • Counted twice, or not at all

    Amplitude will happily accept a purchase event with no price field. The event count looks correct, the funnel looks correct, and the revenue reporting stays at zero — which people usually discover a quarter later when someone asks what a cohort is worth.

  • Nobody has reconciled it

Bookinglayer → Amplitude · diagnose

Diagnostic order — Bookinglayer → Amplitude

  1. 01

    Count bookings carrying the user ID and device ID pair

  2. 02

    Follow one real conversion end to end

  3. 03

    Report occupancy separately for beds, lessons and equipment

    Whichever fills first is your real capacity limit, and it decides which package the advertising should be selling.

  4. 04

    Check a purchase event for the price and quantity fields specifically

    Not whether the event arrived — whether the revenue fields are populated, in the exact names Amplitude expects.

  5. 05

    Read the match rate, not the success message

    Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.

Bookinglayer → Amplitude · prove

How it gets proven — Bookinglayer → Amplitude

Source of truth

Bookinglayer bookings by arrival date, with the package composition and any add-ons recorded.

  • The user ID and device ID pair confirmed present on a live booking.
  • Revenue reconciled per transaction against your billing system, with identity merge behaviour verified across signup.
  • Completed stays reconciled at package value against imported conversions, with add-on revenue reported separately.

Bookinglayer → Amplitude · free audit

What we check in the free audit

  • Count bookings carrying the user ID and device ID pair
  • Follow one real conversion end to end
  • Report occupancy separately for beds, lessons and equipment
  • Check a purchase event for the price and quantity fields specifically
  • Read the match rate, not the success message

Checked against

Bookinglayer bookings by arrival date, with the package composition and any add-ons recorded.

Get my free conversion tracking audit

Free30 minutesNo obligation

Bookinglayer → Amplitude · when not to buy

When you don't need this — Bookinglayer → Amplitude

  • Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry the user ID and device ID pair.
  • If you sell one fixed package with one capacity limit, this is a straightforward booking integration and the composition detail adds nothing.
  • If nobody is building cohorts or retention analysis, this is a large amount of instrumentation for reporting a dashboard already gives you.

Bookinglayer → Amplitude · what we deliver

What gets built — Bookinglayer → Amplitude

  • Identifier capture into Bookinglayer

    Capture on your own domain, persist against the guest record, and carry it through the deposit-to-balance gap so the arrival months later still resolves.

  • Event source: the Bookinglayer booking record

    Send the deposit at its amount and the completed stay at full package value, as two separate events rather than one optimistic total.

  • Dispatch to Amplitude

    The Amplitude HTTP V2 API, posted server-side with the identity, event type and properties.

  • Reversals where they exist

    Cancellations reverse. Retreat cancellation windows are long and the cancellation rate is material.

Written guarantee

95%+ tracking accuracy

Measured against Bookinglayer bookings by arrival date, with the package composition and any add-ons recorded.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Bookinglayer → Amplitude questions, answered

Pass Amplitude's device ID, or your own user ID, into the Bookinglayer booking from your site, then send the booking event server-side with that ID. Without it the booking appears as a new, separate user.

Free · 30 min

Get Bookinglayer and Amplitude joined properly

Free30 minutesNo obligation