Skip to main content
TripWorks → MatomoIntegration guide

Connecting TripWorks to Matomo

TripWorks pushes operators toward abandoned-cart recovery and upsells, which means a meaningful share of its bookings are recovered rather than won and need to be labelled as such. 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 TripWorks 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

TripWorks bookings in Matomo without losing the visitor

Capture the Matomo visitor ID before the hand-off to TripWorks' hosted checkout, store it on the booking and abandoned cart, and send a server-side ecommerce order through the HTTP Tracking API with that ID as _id and the booking ID as ec_id. Track cancellations separately and send upsells as their own orders.

Matomo's visitor cookie lives on your site's domain. The TripWorks checkout does not, so a guest who browses tour pages in Matomo and pays in TripWorks becomes two unrelated things: a visit with no order and an order with no visit. The browser tag on the booking confirmation will not reliably fix that, because the confirmation step is TripWorks-hosted too.

The fix is a server-side ecommerce order sent through the HTTP Tracking API using the Matomo visitor ID you captured before the hand-off. Check whether TripWorks can carry a custom field or URL parameter through to the booking record; if it can, store the visitor ID there and send the order with it as the visitor ID (`_id`) and the TripWorks booking ID as the order ID (`ec_id`). Persist it against the abandoned cart too, or a recovered booking arrives as a fresh email visit and Matomo credits the recovery email.

Two Matomo specifics shape the rest. There is no clean way to refund or edit an ecommerce order through the tracking API, so cancellations need a separate report or a custom dimension rather than a reversal. And an upsell added days later should be its own order with a distinct ID, not folded into the original, or your channel revenue includes money the upsell email earned. Self-hosting suits operators wary of sending guest data to an ad company, but you own the uptime.

TripWorks → Matomo · what breaks

Why this join usually fails — TripWorks → Matomo

  1. 01

    The first-party visitor ID never reaches TripWorks

    Recovery emails are opened days later on other devices, and the checkout itself is TripWorks-hosted.

  2. 02

    Recovered bookings arriving as email traffic

    Without persistence, cart recovery quietly transfers credit from the paid campaign that created the cart to the email that closed it. Both teams then report the same booking.

  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.

TripWorks → Matomo · the fix

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

TripWorks → Matomo · architecture

How TripWorks and Matomo actually connect

  1. 1

    TripWorks holds the truth

    A recovered cart is a booking the paid click did produce, eventually. An upsell added later is revenue the email produced. Both belong in the total and only one belongs to acquisition unmodified.

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

  4. 4

    The event source decides reliability

    Send completed bookings at total paid, with a flag distinguishing first-pass from recovered.

  5. 5

    Deduplication at the destination

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

TripWorks → Matomo · normal or broken

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

Normal, not a fault

  • The first-party visitor ID present on the booking

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

    Recovery emails are opened days later on other devices, and the checkout itself is TripWorks-hosted.

  • Sent from the browser

    Without persistence, cart recovery quietly transfers credit from the paid campaign that created the cart to the email that closed it. Both teams then report the same booking.

  • 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

TripWorks → Matomo · diagnose

Diagnostic order — TripWorks → Matomo

  1. 01

    Count bookings carrying the first-party visitor ID

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether recovered bookings retain the original source

    If they show as email or direct, the paid channel is being undercounted by exactly your recovery rate.

  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.

TripWorks → Matomo · prove

How it gets proven — TripWorks → Matomo

Source of truth

TripWorks bookings by departure, flagged by whether a recovery email or upsell was involved.

  • The first-party visitor ID confirmed present on a live booking.
  • Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
  • Completed bookings reconciled against imported conversions, with recovered bookings identified.

TripWorks → 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 recovered bookings retain the original source
  • Check tracker reachability and database lag before debugging any tag
  • Read the match rate, not the success message

Checked against

TripWorks bookings by departure, flagged by whether a recovery email or upsell was involved.

Get my free conversion tracking audit

Free30 minutesNo obligation

TripWorks → Matomo · when not to buy

When you don't need this — TripWorks → Matomo

  • Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry the first-party visitor ID.
  • No recovery flow means no double-claim, and this reduces to an ordinary booking integration.
  • 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.

TripWorks → Matomo · what we deliver

What gets built — TripWorks → Matomo

  • Identifier capture into TripWorks

    Persist the identifier against the abandoned cart so the recovered booking still resolves, rather than arriving as a direct visit from an email click.

  • Event source: the TripWorks booking record

    Send completed bookings at total paid, with a flag distinguishing first-pass from recovered.

  • 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 TripWorks bookings by departure, flagged by whether a recovery email or upsell was involved.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

TripWorks → Matomo questions, answered

Because the checkout runs on TripWorks' host, where your Matomo cookie is not readable. Send the order server-side with the visitor ID you captured on your own site.

Free · 30 min

Get TripWorks and Matomo joined properly

Free30 minutesNo obligation