Skip to main content
LeadDyno → MatomoIntegration guide

Connecting LeadDyno to Matomo

LeadDyno targets smaller businesses running their first affiliate programme, where the most common outcome is paying commission on customers who would have bought anyway. 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 LeadDyno referral 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

LeadDyno affiliate visits and orders in Matomo

Matomo reads LeadDyno affiliate visits as website referrals or direct, so map the code into campaign parameters or a custom dimension at landing, with precedence matching LeadDyno's. Matomo's raw visitor log shows whether a referred visitor had visited or ordered before. Send orders with LeadDyno's order ID, and track refunds separately, since Matomo will not reverse them.

Matomo does not recognise LeadDyno's affiliate code as a campaign. Visitors who arrive on an affiliate link are recorded as website referrals from the affiliate's page, or as direct traffic when the click comes from an app or email. Map the LeadDyno code into Matomo's campaign parameters or a custom dimension at landing, so affiliate visits show up as a channel you can filter. Then decide whether that campaign value may replace an earlier paid campaign referrer, and match the rule LeadDyno uses.

Matomo's main advantage for this pairing is its raw visitor log. For any LeadDyno-referred order, you can query whether the same visitor ID had visited, or ordered, before the affiliate click. That is direct evidence for the question LeadDyno programmes most need answered: whether the commission went to a customer who would have bought anyway. Hosted analytics tools rarely let you look at individual visits this way.

Send the ecommerce order to Matomo with the same order ID LeadDyno stores, so a refreshed confirmation page cannot add a second order. Matomo will not reverse revenue when LeadDyno cancels a commission for a refund. Keep a refund list beside your affiliate reports, or Matomo's affiliate revenue will run higher than LeadDyno's.

LeadDyno → Matomo · what breaks

Why this join usually fails — LeadDyno → Matomo

  1. 01

    The first-party visitor ID never reaches LeadDyno

    Affiliate links land on your store carrying parameters that may overwrite a paid identifier already stored.

  2. 02

    Paying commission on existing customers

    First affiliate programmes almost always leak this way. Without a new-customer condition on the commission rule, you are paying a percentage on repeat purchases you would have received for nothing.

  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.

LeadDyno → Matomo · the fix

What working looks like — LeadDyno → Matomo

  • The first-party visitor ID on every referral

  • 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

LeadDyno → Matomo · architecture

How LeadDyno and Matomo actually connect

  1. 1

    LeadDyno holds the truth

    New programmes frequently recruit existing customers as affiliates, who then refer themselves or their own repeat purchases. That is commission on revenue you already had.

  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 LeadDyno referral.

  4. 4

    The event source decides reliability

    Send orders net of commission, with new-versus-existing customer status recorded.

  5. 5

    Deduplication at the destination

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

LeadDyno → Matomo · normal or broken

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

Normal, not a fault

  • The first-party visitor ID present on the referral

  • Sent from your order record with affiliate attribution

  • 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

    Affiliate links land on your store carrying parameters that may overwrite a paid identifier already stored.

  • Sent from the browser

    First affiliate programmes almost always leak this way. Without a new-customer condition on the commission rule, you are paying a percentage on repeat purchases you would have received for nothing.

  • 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

LeadDyno → Matomo · diagnose

Diagnostic order — LeadDyno → Matomo

  1. 01

    Count referrals carrying the first-party visitor ID

  2. 02

    Follow one real conversion end to end

  3. 03

    Count affiliate-attributed orders from customers who already existed

    If the share is high, the fix is the commission rule rather than the tracking.

  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.

LeadDyno → Matomo · prove

How it gets proven — LeadDyno → Matomo

Source of truth

Orders flagged by affiliate, with the customer's prior relationship recorded.

  • The first-party visitor ID confirmed present on a live referral.
  • Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
  • Affiliate orders reconciled net of commission, split by new versus existing customer.

LeadDyno → Matomo · free audit

What we check in the free audit

  • Count referrals carrying the first-party visitor ID
  • Follow one real conversion end to end
  • Count affiliate-attributed orders from customers who already existed
  • Check tracker reachability and database lag before debugging any tag
  • Read the match rate, not the success message

Checked against

Orders flagged by affiliate, with the customer's prior relationship recorded.

Get my free conversion tracking audit

Free30 minutesNo obligation

LeadDyno → Matomo · when not to buy

When you don't need this — LeadDyno → Matomo

  • Measure identifier coverage yourself first — pull your last hundred referrals and count how many carry the first-party visitor ID.
  • Programmes already restricted to new customers do not have this leak.
  • 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.

LeadDyno → Matomo · what we deliver

What gets built — LeadDyno → Matomo

  • Identifier capture into LeadDyno

    Set precedence explicitly and record whether the referred customer was already known to you.

  • Event source: your order record with affiliate attribution

    Send orders net of commission, with new-versus-existing customer status recorded.

  • Dispatch to Matomo

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

  • Reversals where they exist

    Refunds reverse and reclaim commission.

Written guarantee

95%+ tracking accuracy

Measured against Orders flagged by affiliate, with the customer's prior relationship recorded.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

LeadDyno → Matomo questions, answered

Matomo reads its own campaign parameters, not LeadDyno's affiliate code. Copy the code into a Matomo campaign or custom dimension when the visitor lands.

Free · 30 min

Get LeadDyno and Matomo joined properly

Free30 minutesNo obligation