Skip to main content
Worldpay → MatomoIntegration guide

Connecting Worldpay to Matomo

Worldpay spans online and in-person payments for large merchants, which means one provider covers two channels with completely different attribution potential. 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 Worldpay transaction 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

Worldpay in Matomo: stop the payment page stealing the referral

Exclude Worldpay's payment domains as referrers in Matomo so returns don't steal campaign credit. Store Matomo's visitor ID on the order before redirect, then send the ecommerce order through the HTTP Tracking API when Worldpay confirms payment, with the order code as order ID and amounts converted from minor units. Record card-present volume separately, not as orders.

The classic Worldpay problem in Matomo is not a missing order but a misattributed one. The shopper arrives from a campaign, goes to Worldpay's hosted payment page, and returns to your confirmation page with Worldpay as the referrer. Matomo can start a new visit attributed to a referral from Worldpay's domain, and the order lands there instead of on the campaign. Check whether your Matomo version lets you exclude referrer domains for the site, and add the Worldpay payment domains your integration uses.

Server-side sending fixes both that and the shoppers who never come back. Store Matomo's visitor ID on the order before the redirect, then send the ecommerce order through the HTTP Tracking API when Worldpay's notification confirms payment, with the Worldpay order code as the order ID so a returning browser's hit and the server hit collapse into one. Amounts must be converted from Worldpay's minor units first.

Because Matomo keeps raw logs in your own database, it is also a reasonable place to hold the channel split properly: send ecommerce orders as ecommerce, and if you want store totals, record card-present volume as a separate goal or custom dimension rather than as orders with no visitor. Refunds do not reverse a Matomo order, so keep reversal reporting in finance or your warehouse.

Worldpay → Matomo · what breaks

Why this join usually fails — Worldpay → Matomo

  1. 01

    The first-party visitor ID never reaches Worldpay

    The hosted payment pages redirect the shopper off-site, and card-present terminals have no marketing context at all. Only the ecommerce channel is joinable, and only if the identifier was attached at payment creation.

  2. 02

    Two channels reported as one number

    Card-present revenue cannot be attributed to a click and will make ecommerce performance look far worse than it is if the two are summed.

  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.

Worldpay → Matomo · the fix

What working looks like — Worldpay → Matomo

  • The first-party visitor ID on every transaction

  • 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

Worldpay → Matomo · architecture

How Worldpay and Matomo actually connect

  1. 1

    Worldpay holds the truth

    Card-present transactions have no click and no session by construction. Splitting the channels before comparing anything is the first requirement of an honest number here.

  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 Worldpay transaction.

  4. 4

    The event source decides reliability

    Fire on settlement from the notification rather than a return URL, since hosted pages mean the shopper may not come back.

  5. 5

    Deduplication at the destination

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

Worldpay → Matomo · normal or broken

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

Normal, not a fault

  • The first-party visitor ID present on the transaction

  • Sent from the Worldpay payment notification

  • 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 hosted payment pages redirect the shopper off-site, and card-present terminals have no marketing context at all. Only the ecommerce channel is joinable, and only if the identifier was attached at payment creation.

  • Sent from the browser

    Card-present revenue cannot be attributed to a click and will make ecommerce performance look far worse than it is if the two are summed.

  • 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

Worldpay → Matomo · diagnose

Diagnostic order — Worldpay → Matomo

  1. 01

    Count transactions carrying the first-party visitor ID

  2. 02

    Follow one real conversion end to end

  3. 03

    Split settled volume by channel before anything else

    Every subsequent number depends on that split, and it is usually the first thing nobody has done.

  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.

Worldpay → Matomo · prove

How it gets proven — Worldpay → Matomo

Source of truth

Worldpay's settled transactions by date, split by channel — ecommerce and card-present are different questions.

  • The first-party visitor ID confirmed present on a live transaction.
  • Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
  • Ecommerce transactions reconciled separately from card-present, with the split stated.

Worldpay → Matomo · free audit

What we check in the free audit

  • Count transactions carrying the first-party visitor ID
  • Follow one real conversion end to end
  • Split settled volume by channel before anything else
  • Check tracker reachability and database lag before debugging any tag
  • Read the match rate, not the success message

Checked against

Worldpay's settled transactions by date, split by channel — ecommerce and card-present are different questions.

Get my free conversion tracking audit

Free30 minutesNo obligation

Worldpay → Matomo · when not to buy

When you don't need this — Worldpay → Matomo

  • Measure identifier coverage yourself first — pull your last hundred transactions and count how many carry the first-party visitor ID.
  • If nearly all your Worldpay volume is card-present, there is very little for click attribution to reach.
  • 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.

Worldpay → Matomo · what we deliver

What gets built — Worldpay → Matomo

  • Identifier capture into Worldpay

    Pass the identifier into the transaction's custom or merchant reference fields on the ecommerce channel, and treat card-present volume as a separate, unattributable line.

  • Event source: the Worldpay payment notification

    Fire on settlement from the notification rather than a return URL, since hosted pages mean the shopper may not come back.

  • Dispatch to Matomo

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

  • Reversals where they exist

    Refunds and chargebacks are recorded against the original transaction.

Written guarantee

95%+ tracking accuracy

Measured against Worldpay's settled transactions by date, split by channel — ecommerce and card-present are different questions.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Worldpay → Matomo questions, answered

Shoppers return from Worldpay's hosted payment page with Worldpay as the referrer, which can start a new visit. Exclude the payment domains as referrers if your version supports it, or send the order server-side with the stored visitor ID.

Free · 30 min

Get Worldpay and Matomo joined properly

Free30 minutesNo obligation