Skip to main content
Bookinglayer → MatomoIntegration guide

Connecting Bookinglayer to Matomo

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. Matomo can be self-hosted with no third party in the chain, which makes it the one analytics destination where the data genuinely never leaves infrastructure you control. The join between them succeeds or fails on one thing: whether the first-party visitor ID reaches the Bookinglayer booking before the conversion happens, because Matomo can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Bookinglayer in Matomo: keeping the visitor ID across the handoff

Self-hosted Matomo works for Bookinglayer retreats, but the hosted booking page breaks the visitor ID. Use cross-domain linking if the form loads your tracker; otherwise store the visitor ID before the handoff and send the deposit server-side through the HTTP Tracking API as an ecommerce order keyed on the booking reference, with the completed stay as a separate goal.

Matomo self-hosted on your own domain is a reasonable choice for a retreat business that cares about guest privacy, and it is far less affected by ad blockers than a hosted analytics tag. The weak point is the Bookinglayer handoff. If the booking runs on a Bookinglayer-hosted page, your Matomo tracker is not on it, so the visitor who read the retreat page and the person who paid the deposit look like two visitors.

Matomo has a cross-domain linking feature that carries the visitor ID on the link to another domain, but it only helps if the destination page also loads your tracker, so check whether the Bookinglayer form allows custom scripts. Otherwise store the visitor ID on your domain before the handoff, attach it to the booking, and send the deposit server-side through the HTTP Tracking API with that ID.

Record the deposit as an ecommerce order with the booking reference as the order ID, so a reloaded confirmation step does not count twice, and track the completed stay as a separate goal with the full package value rather than editing the original order. Matomo's ecommerce reports will otherwise show deposit revenue as if it were the whole package. Use custom dimensions for package type so bed-heavy and lesson-heavy bookings can be compared.

Bookinglayer → Matomo · what breaks

Why this join usually fails — Bookinglayer → Matomo

  1. 01

    The first-party visitor ID 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

    Owning the pipeline means owning the outage

    The advantage is that nothing blocks it. The cost is that when the tracking database fills or falls behind on a weekend, the data is gone and no vendor is paging anyone. Hosted tools fail more visibly.

  4. 04

    Nothing reconciles afterwards

    Matomo exposes raw visit logs, so you can inspect the actual hit rather than an aggregate. Check the log, and check ingestion lag alongside it.

Bookinglayer → Matomo · the fix

What working looks like — Bookinglayer → Matomo

  • The first-party visitor ID on every booking

  • Conversions arriving in Matomo

    The event lands in your own database and is queryable directly, including the raw log, which most analytics products do not expose.

  • Reconciled against the source

Bookinglayer → Matomo · architecture

How Bookinglayer and Matomo 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

    Matomo needs a click to match

    The site ID, the visitor identifier and the event or ecommerce order. Self-hosted instances additionally need the tracker endpoint reachable and the database keeping up, which hosted tools do not fail at.

  3. 3

    The identifier is the bridge

    The first-party visitor ID, 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

    Matomo deduplicates ecommerce orders on order ID. Without one, a refreshed confirmation page records a second order.

Bookinglayer → Matomo · normal or broken

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

Normal, not a fault

  • The first-party visitor ID present on the booking

  • Sent from the Bookinglayer booking record

  • Deduplicated correctly

    Matomo deduplicates ecommerce orders on order ID. Without one, a refreshed confirmation page records a second order.

  • Reconciles with the source

Actually broken

  • The first-party visitor ID 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

    The advantage is that nothing blocks it. The cost is that when the tracking database fills or falls behind on a weekend, the data is gone and no vendor is paging anyone. Hosted tools fail more visibly.

  • Nobody has reconciled it

Bookinglayer → Matomo · diagnose

Diagnostic order — Bookinglayer → Matomo

  1. 01

    Count bookings carrying the first-party visitor ID

  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 tracker reachability and database lag before debugging any tag

    On self-hosted analytics the answer is infrastructure more often than instrumentation.

  5. 05

    Read the match rate, not the success message

    Matomo exposes raw visit logs, so you can inspect the actual hit rather than an aggregate. Check the log, and check ingestion lag alongside it.

Bookinglayer → Matomo · prove

How it gets proven — Bookinglayer → Matomo

Source of truth

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

  • The first-party visitor ID confirmed present on a live booking.
  • Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
  • Completed stays reconciled at package value against imported conversions, with add-on revenue reported separately.

Bookinglayer → Matomo · free audit

What we check in the free audit

  • Count bookings carrying the first-party visitor ID
  • Follow one real conversion end to end
  • Report occupancy separately for beds, lessons and equipment
  • Check tracker reachability and database lag before debugging any tag
  • 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 → Matomo · when not to buy

When you don't need this — Bookinglayer → Matomo

  • Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry the first-party visitor ID.
  • If you sell one fixed package with one capacity limit, this is a straightforward booking integration and the composition detail adds nothing.
  • If you have no privacy or ownership requirement and no team to run it, a hosted product removes the only real cost of this one.

Bookinglayer → Matomo · what we deliver

What gets built — Bookinglayer → Matomo

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

    The Matomo HTTP Tracking API, posted server-side from your order system.

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

Not directly, unless the Bookinglayer form loads your Matomo tracker. The reliable route is to store the visitor ID on your site and send the booking server-side with it.

Free · 30 min

Get Bookinglayer and Matomo joined properly

Free30 minutesNo obligation