Skip to main content
VWO → MatomoIntegration guide

Connecting VWO to Matomo

VWO runs tests on marketing pages specifically, which puts it directly in the paid traffic path and makes the interaction between testing and attribution unavoidable. 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 VWO variation 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

VWO variations in Matomo: a visit-scoped custom dimension

Store the VWO variation in a visit-scoped Matomo custom dimension set when VWO applies it, and give VWO its own consent decision. Orders sent through the HTTP Tracking API inherit that dimension only if they carry the browser's visitor ID, so pass it into the order at checkout and set the order ID to prevent duplicates.

Matomo is often chosen so analytics data stays on infrastructure you control. VWO is a third-party service with its own cookies and its own processing, so the variation data flowing from VWO into Matomo does not inherit Matomo's privacy posture. If your Matomo instance runs without cookies or consent prompts, VWO still needs its own consent decision, and visitors who decline VWO see the default page, which can skew who ends up in each variation.

To read the test in Matomo, store the variation in a visit-scoped custom dimension set when VWO applies it. Matomo also sells its own A/B testing plugin; if you have it, running VWO alongside it on the same pages produces two overlapping assignments, so pick one.

The break specific to the server side: orders recorded through the HTTP Tracking API inherit the visit's custom dimension only if the request carries the same visitor ID the browser had. If your backend records orders without it, Matomo opens a new visit with no variation, and the ecommerce report by variation shows orders only from visitors whose browser also tracked them. Pass the visitor ID from the browser into the order at checkout, and set the order ID so a refreshed confirmation page does not add a second order.

VWO → Matomo · what breaks

Why this join usually fails — VWO → Matomo

  1. 01

    The first-party visitor ID never reaches VWO

    Synchronous test rendering can delay page load; asynchronous rendering causes flicker. Both push the identifier-capture script later in the sequence than it should be.

  2. 02

    Three tools reporting three different conversion counts

    VWO, the ad platform and the CRM will each produce a different number for the same week, because each defines a visitor, a conversion and a window differently. Reconciling them requires one source of truth, and it is not the testing tool.

  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.

VWO → Matomo · the fix

What working looks like — VWO → Matomo

  • The first-party visitor ID on every variation

  • 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

VWO → Matomo · architecture

How VWO and Matomo actually connect

  1. 1

    VWO holds the truth

    VWO's own goal conversion is measured on its terms, in its window, against its visitor definition. It will not match your ad platform's figure and it is not supposed to.

  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 VWO variation.

  4. 4

    The event source decides reliability

    Send the downstream outcome — a qualified lead or a settled order — with the variation attached, rather than the on-page goal VWO records.

  5. 5

    Deduplication at the destination

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

VWO → Matomo · normal or broken

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

Normal, not a fault

  • The first-party visitor ID present on the variation

  • Sent from your lead or order system

  • 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

    Synchronous test rendering can delay page load; asynchronous rendering causes flicker. Both push the identifier-capture script later in the sequence than it should be.

  • Sent from the browser

    VWO, the ad platform and the CRM will each produce a different number for the same week, because each defines a visitor, a conversion and a window differently. Reconciling them requires one source of truth, and it is not the testing tool.

  • 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

VWO → Matomo · diagnose

Diagnostic order — VWO → Matomo

  1. 01

    Count variations carrying the first-party visitor ID

  2. 02

    Follow one real conversion end to end

  3. 03

    Check the load order of the testing library against identifier capture

    If the test renders first, some share of identifiers is being lost on slower connections, and that share is not random across variations.

  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.

VWO → Matomo · prove

How it gets proven — VWO → Matomo

Source of truth

Your lead or order system, joined to the variation the visitor saw.

  • The first-party visitor ID confirmed present on a live variation.
  • Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
  • Downstream outcomes reconciled per variation against imported conversions.

VWO → Matomo · free audit

What we check in the free audit

  • Count variations carrying the first-party visitor ID
  • Follow one real conversion end to end
  • Check the load order of the testing library against identifier capture
  • Check tracker reachability and database lag before debugging any tag
  • Read the match rate, not the success message

Checked against

Your lead or order system, joined to the variation the visitor saw.

Get my free conversion tracking audit

Free30 minutesNo obligation

VWO → Matomo · when not to buy

When you don't need this — VWO → Matomo

  • Measure identifier coverage yourself first — pull your last hundred variations and count how many carry the first-party visitor ID.
  • Not testing paid landing pages means no interaction, and no reason to integrate the two systems.
  • 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.

VWO → Matomo · what we deliver

What gets built — VWO → Matomo

  • Identifier capture into VWO

    Capture the identifier in the document head, before any testing library runs. This is the fix and it is a five-minute change.

  • Event source: your lead or order system

    Send the downstream outcome — a qualified lead or a settled order — with the variation attached, rather than the on-page goal VWO records.

  • Dispatch to Matomo

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

  • Reversals where they exist

    Disqualified leads and refunds reverse.

Written guarantee

95%+ tracking accuracy

Measured against Your lead or order system, joined to the variation the visitor saw.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

VWO → Matomo questions, answered

Create a visit-scoped custom dimension and set it to the applied variation when VWO runs, then segment goals and ecommerce orders by it.

Free · 30 min

Get VWO and Matomo joined properly

Free30 minutesNo obligation