Skip to main content
TourCMS → MatomoIntegration guide

Connecting TourCMS to Matomo

TourCMS is built around distribution to agents and resellers, which means a large share of bookings arrive through partners who found the customer and take a margin. 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 TourCMS 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

Matomo across the TourCMS booking engine: cross-domain visits

Use Matomo cross-domain linking if TourCMS accepts your tracker, or send confirmed bookings server-side through the HTTP Tracking API with the visitor ID carried in the booking link. Record an ecommerce order with the TourCMS booking reference as order ID, the tour as product, customer price and departure month. Keep agent bookings out.

Matomo on a tour operator's site sees tour pages and the Book Now button, then usually loses the visitor, because the TourCMS booking engine runs on a separate domain or in an iframe. The booking is then recorded, if at all, as a new visit with no campaign source, and every paid channel looks worse than it is.

If you can place the Matomo tracker in the booking engine, use Matomo's cross-domain linking so the visitor ID carries across; check whether TourCMS lets you add your own tracking code to its booking pages before planning around it. If not, send the confirmed booking server-side through the HTTP Tracking API with the visitor ID carried in the booking link. Either way, record it as an ecommerce order with the TourCMS booking reference as the order ID, the tour as the product, value at customer price, and departure month as a custom dimension.

Agent bookings never had a visit and should not be sent; doing so turns net-rate distribution revenue into unexplained direct conversions. Cancellations need a decision too: Matomo will not reverse an order because TourCMS cancelled it, so report cancellations separately or adjust in your reporting layer. Matomo suits an operator that wants traveler data on its own server and has someone to maintain it.

TourCMS → Matomo · what breaks

Why this join usually fails — TourCMS → Matomo

  1. 01

    The first-party visitor ID never reaches TourCMS

    Agent bookings arrive through an API or an agent portal with no consumer session.

  2. 02

    Agent net rates reported at retail price

    An agent booking at a twenty-five percent net discount reported at the retail price overstates that channel by a third. Since agents are often the majority, the total is badly wrong.

  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.

TourCMS → Matomo · the fix

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

TourCMS → Matomo · architecture

How TourCMS and Matomo actually connect

  1. 1

    TourCMS holds the truth

    Agent bookings come at a net rate agreed in advance. Reporting the customer-facing price on those bookings overstates revenue by the whole agent margin.

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

  4. 4

    The event source decides reliability

    Send direct bookings at customer price and agent bookings, if reported at all, at net rate — never mixed.

  5. 5

    Deduplication at the destination

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

TourCMS → Matomo · normal or broken

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

Normal, not a fault

  • The first-party visitor ID present on the booking

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

    Agent bookings arrive through an API or an agent portal with no consumer session.

  • Sent from the browser

    An agent booking at a twenty-five percent net discount reported at the retail price overstates that channel by a third. Since agents are often the majority, the total is badly wrong.

  • 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

TourCMS → Matomo · diagnose

Diagnostic order — TourCMS → Matomo

  1. 01

    Count bookings carrying the first-party visitor ID

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether agent bookings are valued at net or retail

    One question, and on distribution-heavy operators it changes the revenue picture substantially.

  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.

TourCMS → Matomo · prove

How it gets proven — TourCMS → Matomo

Source of truth

TourCMS bookings by departure and channel, at net rate after agent commission.

  • The first-party visitor ID confirmed present on a live booking.
  • Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
  • Direct bookings reconciled at customer price against imported conversions, agent volume reported at net.

TourCMS → 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
  • Check whether agent bookings are valued at net or retail
  • Check tracker reachability and database lag before debugging any tag
  • Read the match rate, not the success message

Checked against

TourCMS bookings by departure and channel, at net rate after agent commission.

Get my free conversion tracking audit

Free30 minutesNo obligation

TourCMS → Matomo · when not to buy

When you don't need this — TourCMS → Matomo

  • Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry the first-party visitor ID.
  • Operators selling only direct do not have the net-rate question.
  • 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.

TourCMS → Matomo · what we deliver

What gets built — TourCMS → Matomo

  • Identifier capture into TourCMS

    Attribute direct bookings only and value agent bookings at the net rate you actually receive.

  • Event source: the TourCMS booking record

    Send direct bookings at customer price and agent bookings, if reported at all, at net rate — never mixed.

  • Dispatch to Matomo

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

  • Reversals where they exist

    Cancellations reverse.

Written guarantee

95%+ tracking accuracy

Measured against TourCMS bookings by departure and channel, at net rate after agent commission.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

TourCMS → Matomo questions, answered

The TourCMS booking engine runs on another domain or in an iframe, so the visit restarts there. Use cross-domain linking or send bookings server-side with the original visitor ID.

Free · 30 min

Get TourCMS and Matomo joined properly

Free30 minutesNo obligation