Skip to main content
FirstPromoter → MatomoIntegration guide

Connecting FirstPromoter to Matomo

FirstPromoter is affiliate and referral tracking aimed at SaaS, where the referrer is frequently an existing customer — which makes the programme a retention mechanism as much as an acquisition one. 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 FirstPromoter 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

Seeing FirstPromoter referral visits in Matomo

Matomo ignores FirstPromoter's referral parameter, so store it in a visit-scope custom dimension plus one for customer versus affiliate. Send the subscription from billing through the HTTP Tracking API as an ecommerce order with the visitor ID stored at signup and the subscription or first-invoice ID as order ID. Cookieless mode leaves no visitor ID to join.

Matomo's campaign tracking reads its own campaign parameters and standard UTM tags, not FirstPromoter's referral parameter. A visitor arriving on a referral link therefore shows as direct or as whatever site the link was pasted on, and Matomo's channel report hides the referral programme entirely. Read the parameter on landing and store it in a visit-scope custom dimension, with a second dimension for customer versus affiliate referral.

The subscription happens in billing, so send it server-side through the HTTP Tracking API as an ecommerce order. Store Matomo's visitor ID on the account at signup and use it on the order, with the subscription or first-invoice ID as the order ID so a retried webhook does not record a second sale. Send the value net of tax and of any referral discount you applied.

Check your consent mode. Many teams pick self-hosted Matomo to run without cookies; in that mode there is no persistent visitor ID to store at signup, and the server-sent order cannot be tied to the referral visit at all. If that is the configuration you need, report referral subscriptions from FirstPromoter directly and use Matomo only for site behaviour.

FirstPromoter → Matomo · what breaks

Why this join usually fails — FirstPromoter → Matomo

  1. 01

    The first-party visitor ID never reaches FirstPromoter

    Referral links are shared privately — in Slack, in email, in conversation — and land with a parameter that may overwrite a paid identifier.

  2. 02

    Customer word of mouth billed as media

    When customer referrals and affiliate media share one programme, the acquisition report cannot distinguish a product that people recommend from a commission you paid. Those lead to opposite decisions.

  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.

FirstPromoter → Matomo · the fix

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

FirstPromoter → Matomo · architecture

How FirstPromoter and Matomo actually connect

  1. 1

    FirstPromoter holds the truth

    A customer referring a colleague and a review site earning a commission are both referrals and are nothing alike. One indicates product satisfaction; the other is a media cost.

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

  4. 4

    The event source decides reliability

    Send new subscriptions with the referral type marked, net of commission.

  5. 5

    Deduplication at the destination

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

FirstPromoter → Matomo · normal or broken

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

Normal, not a fault

  • The first-party visitor ID present on the referral

  • Sent from the subscription record with referral 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

    Referral links are shared privately — in Slack, in email, in conversation — and land with a parameter that may overwrite a paid identifier.

  • Sent from the browser

    When customer referrals and affiliate media share one programme, the acquisition report cannot distinguish a product that people recommend from a commission you paid. Those lead to opposite decisions.

  • 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

FirstPromoter → Matomo · diagnose

Diagnostic order — FirstPromoter → Matomo

  1. 01

    Count referrals carrying the first-party visitor ID

  2. 02

    Follow one real conversion end to end

  3. 03

    Split referrers into customers and commercial affiliates

    It is a field on the promoter, and it changes what the whole programme is telling you.

  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.

FirstPromoter → Matomo · prove

How it gets proven — FirstPromoter → Matomo

Source of truth

New subscriptions flagged by referrer, with customer-referrers distinguished from professional affiliates.

  • The first-party visitor ID confirmed present on a live referral.
  • Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
  • New subscriptions reconciled by referral type against imported conversions.

FirstPromoter → 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
  • Split referrers into customers and commercial affiliates
  • Check tracker reachability and database lag before debugging any tag
  • Read the match rate, not the success message

Checked against

New subscriptions flagged by referrer, with customer-referrers distinguished from professional affiliates.

Get my free conversion tracking audit

Free30 minutesNo obligation

FirstPromoter → Matomo · when not to buy

When you don't need this — FirstPromoter → Matomo

  • Measure identifier coverage yourself first — pull your last hundred referrals and count how many carry the first-party visitor ID.
  • A purely commercial affiliate programme has no customer-referral component and this distinction does not arise.
  • 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.

FirstPromoter → Matomo · what we deliver

What gets built — FirstPromoter → Matomo

  • Identifier capture into FirstPromoter

    Record referral type and paid identifier separately on the account, with an explicit precedence rule.

  • Event source: the subscription record with referral attribution

    Send new subscriptions with the referral type marked, net of commission.

  • Dispatch to Matomo

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

  • Reversals where they exist

    Cancellations reverse and stop commission.

Written guarantee

95%+ tracking accuracy

Measured against New subscriptions flagged by referrer, with customer-referrers distinguished from professional affiliates.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

FirstPromoter → Matomo questions, answered

Matomo does not recognize FirstPromoter's referral parameter as a campaign. Capture it into a custom dimension on landing, or add standard campaign tags to referral links.

Free · 30 min

Get FirstPromoter and Matomo joined properly

Free30 minutesNo obligation