Skip to main content
Xola → MatomoIntegration guide

Connecting Xola to Matomo

Xola books tours and activities where capacity is fixed by the boat, the van or the guide, so the goal is not maximum bookings but the right bookings at the right price. 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 Xola 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

Xola to Matomo: send the order with ticket types as items

Read the Matomo visitor ID on your page before the Xola checkout opens, store it with the booking, and post an ecommerce order through the HTTP Tracking API from the booking webhook, with the Xola booking ID as order ID, each ticket type as an item with quantity, and total paid as revenue. Handle weather cancellations yourself.

Matomo's ecommerce tracking takes an order with an order ID, a revenue total and line items with quantities, which suits a Xola booking well. Use the Xola booking ID as the order ID, send each ticket type as an item with its quantity and price, and the total paid as revenue. Matomo then reports items sold alongside orders, which is participants alongside bookings without any custom work.

The visitor link is the part that breaks. The Matomo cookie is set on your domain, the booking completes in a Xola-served frame, and a tracking call from inside that frame either cannot see your visitor ID or creates a new visit. Read the visitor ID on your own page before the checkout opens, store it with the booking, and post the order from your booking webhook through the Matomo HTTP Tracking API with that visitor ID, so the order lands on the visit that came from the campaign. Self-hosted on your domain, this is one of the few setups where the visit data survives ad blockers as well as the order does.

Matomo does not retract a recorded order on its own. Weather cancellations stay in the revenue report unless you handle them, so either report on departed bookings with a scheduled correction or keep a cancellations segment you subtract before anyone quotes revenue from Matomo.

Xola → Matomo · what breaks

Why this join usually fails — Xola → Matomo

  1. 01

    The first-party visitor ID never reaches Xola

    The checkout runs in a Xola-served frame, and a meaningful share of activity bookings are made by one person for a whole group.

  2. 02

    Bookings counted, participants ignored

    Optimizing on booking count teaches the platform that a one-person booking is as good as a twelve-person one. It will then find you a great many solo travellers.

  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.

Xola → Matomo · the fix

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

Xola → Matomo · architecture

How Xola and Matomo actually connect

  1. 1

    Xola holds the truth

    One booking can be one person or twelve. Counting bookings rather than participants makes a family reunion and a solo traveller identical conversions against wildly different revenue.

  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 Xola booking.

  4. 4

    The event source decides reliability

    Send bookings valued at the total paid, with participant count as a separate field.

  5. 5

    Deduplication at the destination

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

Xola → Matomo · normal or broken

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

Normal, not a fault

  • The first-party visitor ID present on the booking

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

    The checkout runs in a Xola-served frame, and a meaningful share of activity bookings are made by one person for a whole group.

  • Sent from the browser

    Optimizing on booking count teaches the platform that a one-person booking is as good as a twelve-person one. It will then find you a great many solo travellers.

  • 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

Xola → Matomo · diagnose

Diagnostic order — Xola → Matomo

  1. 01

    Count bookings carrying the first-party visitor ID

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare booking count against participant count by campaign

    The ratio varies by source far more than most operators expect, and it decides where budget should go.

  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.

Xola → Matomo · prove

How it gets proven — Xola → Matomo

Source of truth

Xola bookings by departure date and time slot, valued at total participants rather than per booking.

  • The first-party visitor ID confirmed present on a live booking.
  • Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
  • Departed bookings reconciled at total value against imported conversions.

Xola → 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
  • Compare booking count against participant count by campaign
  • Check tracker reachability and database lag before debugging any tag
  • Read the match rate, not the success message

Checked against

Xola bookings by departure date and time slot, valued at total participants rather than per booking.

Get my free conversion tracking audit

Free30 minutesNo obligation

Xola → Matomo · when not to buy

When you don't need this — Xola → Matomo

  • Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry the first-party visitor ID.
  • If every booking is a fixed single seat, count bookings and skip the participant dimension entirely.
  • 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.

Xola → Matomo · what we deliver

What gets built — Xola → Matomo

  • Identifier capture into Xola

    Capture on your own domain before the frame loads, and attach the identifier to the booking so participant count and total value travel with it.

  • Event source: the Xola booking record

    Send bookings valued at the total paid, with participant count as a separate field.

  • Dispatch to Matomo

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

  • Reversals where they exist

    Cancellations and weather cancellations reverse. In outdoor activities the second category is not small.

Written guarantee

95%+ tracking accuracy

Measured against Xola bookings by departure date and time slot, valued at total participants rather than per booking.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Xola → Matomo questions, answered

Capture the Matomo visitor ID on your page before the Xola checkout opens, then post the order server-side with the Xola booking ID as order ID and ticket types as items.

Free · 30 min

Get Xola and Matomo joined properly

Free30 minutesNo obligation