Skip to main content
Mews → MatomoIntegration guide

Connecting Mews to Matomo

Mews is a modern hospitality platform built API-first, which makes it one of the more tractable lodging systems to integrate and does nothing about the OTA problem. 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 Mews reservation 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

Mews and Matomo: keeping the visitor ID across the booking engine

Matomo's visitor ID stops at your domain unless cross-domain linking and the Mews booking engine carry it. The dependable route posts an ecommerce order from the confirmed-reservation webhook through the HTTP Tracking API, with the carried visitor ID, reservation group as order ID and room revenue as total. Record checkout folio spend as a separate goal or order.

Matomo's first-party advantage stops at your own domain. When a guest moves from your site to the Mews booking engine, the visitor ID does not travel unless you make it. Matomo's cross-domain linking can append the visitor to outbound links, but the engine then has to keep that value and either run your tracker or pass it onto the reservation; check which your engine supports. Otherwise the booking arrives as a new visitor with no source, and direct bookings look like they came from nowhere.

The dependable route is server-side: post an ecommerce order from the confirmed-reservation webhook through the HTTP Tracking API with the carried visitor ID, the reservation group as order ID, and room revenue as the total. Because Matomo ignores a repeated order ID, folio spend at checkout cannot be added by resending the same order. Record it as a separate goal, or as a second order with its own ID, and keep the two distinguishable in reports.

For a property that has made privacy commitments to guests, self-hosted Matomo can report booking engine conversion by channel without a third party involved, which is the reason to pick it over a hosted tool. That only holds if the tracker endpoint is up during your heaviest booking hours; an outage on a Sunday evening loses the week's highest-intent traffic.

Mews → Matomo · what breaks

Why this join usually fails — Mews → Matomo

  1. 01

    The first-party visitor ID never reaches Mews

    The Mews distributor booking engine is hosted, so the identifier must be passed deliberately. Ancillary spend during the stay — restaurant, spa, late checkout — lands on the folio afterwards and is invisible to any booking-time conversion.

  2. 02

    The room rate is not the revenue

    In a full-service property the folio at checkout can be substantially above the booked rate. Optimizing on the room rate alone makes bidding indifferent between guests who spend on site and guests who do not.

  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.

Mews → Matomo · the fix

What working looks like — Mews → Matomo

  • The first-party visitor ID on every reservation

  • 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

Mews → Matomo · architecture

How Mews and Matomo actually connect

  1. 1

    Mews holds the truth

    Mews holds reservations, the folio and the eventual payment, so a single system can tell you what was booked and what was actually spent on site — which in hospitality frequently differ.

  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 Mews reservation.

  4. 4

    The event source decides reliability

    Send confirmed direct reservations at booking. If ancillary spend is significant, send a second value adjustment at checkout rather than pretending the room rate was the whole sale.

  5. 5

    Deduplication at the destination

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

Mews → Matomo · normal or broken

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

Normal, not a fault

  • The first-party visitor ID present on the reservation

  • Sent from the Mews reservation webhook

  • 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 Mews distributor booking engine is hosted, so the identifier must be passed deliberately. Ancillary spend during the stay — restaurant, spa, late checkout — lands on the folio afterwards and is invisible to any booking-time conversion.

  • Sent from the browser

    In a full-service property the folio at checkout can be substantially above the booked rate. Optimizing on the room rate alone makes bidding indifferent between guests who spend on site and guests who do not.

  • 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

Mews → Matomo · diagnose

Diagnostic order — Mews → Matomo

  1. 01

    Count reservations carrying the first-party visitor ID

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare booked rate against folio total for a closed month

    The gap is ancillary spend, and in some properties it is large enough to change which campaigns look profitable.

  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.

Mews → Matomo · prove

How it gets proven — Mews → Matomo

Source of truth

Mews reservations by booking date with their total value, split by channel.

  • The first-party visitor ID confirmed present on a live reservation.
  • Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
  • Direct reservations reconciled per reservation, with the room-rate-versus-folio decision documented.

Mews → Matomo · free audit

What we check in the free audit

  • Count reservations carrying the first-party visitor ID
  • Follow one real conversion end to end
  • Compare booked rate against folio total for a closed month
  • Check tracker reachability and database lag before debugging any tag
  • Read the match rate, not the success message

Checked against

Mews reservations by booking date with their total value, split by channel.

Get my free conversion tracking audit

Free30 minutesNo obligation

Mews → Matomo · when not to buy

When you don't need this — Mews → Matomo

  • Measure identifier coverage yourself first — pull your last hundred reservations and count how many carry the first-party visitor ID.
  • For a limited-service property with negligible ancillary spend, the room rate is the whole value and this is simpler.
  • 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.

Mews → Matomo · what we deliver

What gets built — Mews → Matomo

  • Identifier capture into Mews

    Pass the identifier through the distributor's supported parameters onto the reservation, and decide whether the conversion value is the room rate or the eventual folio total.

  • Event source: the Mews reservation webhook

    Send confirmed direct reservations at booking. If ancillary spend is significant, send a second value adjustment at checkout rather than pretending the room rate was the whole sale.

  • Dispatch to Matomo

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

  • Reversals where they exist

    Cancellations and no-shows both occur and both should reduce the figure.

Written guarantee

95%+ tracking accuracy

Measured against Mews reservations by booking date with their total value, split by channel.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Mews → Matomo questions, answered

Send an ecommerce order server-side from the reservation webhook with the visitor ID carried through the booking engine handoff, using the reservation group number as the order ID.

Free · 30 min

Get Mews and Matomo joined properly

Free30 minutesNo obligation