Skip to main content
Rewardful → MatomoIntegration guide

Connecting Rewardful to Matomo

Rewardful reads directly from Stripe, which makes it unusually accurate about revenue and unusually blind to everything that happened before the customer reached checkout. 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 Rewardful 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

Rewardful and Matomo: two readers of the same landing URL

Send the subscription to Matomo server-side from the Stripe webhook as an ecommerce order, with the Stripe invoice ID as order ID and the Matomo visitor ID stored in Stripe metadata beside the Rewardful referral. Map Rewardful's via parameter to a Matomo campaign, consider sending only first payments, and keep the affiliate token in a custom dimension.

Rewardful and Matomo both look at the landing URL, and they read it differently. Rewardful picks up its referral parameter (via by default, unless you changed it) and sets a cookie; Matomo sees an unrecognized query string and files the visit as a referral from the affiliate's site, or as direct traffic if the link was clicked in an app or email. Add Matomo campaign parameters to affiliate links, or map the Rewardful parameter to a campaign in Matomo, otherwise your affiliate channel is spread across dozens of referrer domains.

The subscription itself should go to Matomo server-side from the Stripe webhook, as an ecommerce order with the Stripe invoice ID as the order ID and the Matomo visitor ID that was stored in Stripe customer metadata next to the Rewardful referral. Without that visitor ID the order lands on a new, empty visitor and the funnel from affiliate click to paid plan breaks at checkout.

Choose whether renewals are orders. Sending every monthly invoice inflates Matomo's ecommerce conversion rate with visits that never happened; sending only the first payment keeps the funnel honest, with renewals kept in Stripe. Put the affiliate token in a visit or action custom dimension so Matomo can compare affiliate-referred trials against paid-search trials on activation, which Rewardful cannot show.

Rewardful → Matomo · what breaks

Why this join usually fails — Rewardful → Matomo

  1. 01

    The first-party visitor ID never reaches Rewardful

    The referral cookie is set on click and read at checkout; a paid identifier stored earlier is invisible to Rewardful entirely.

  2. 02

    Accurate revenue, invisible overlap

    Rewardful will tell you exactly what an affiliate earned and nothing about whether you also paid Google for the same customer. Putting both identifiers in Stripe metadata is the cheapest fix available and almost nobody does it.

  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.

Rewardful → Matomo · the fix

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

Rewardful → Matomo · architecture

How Rewardful and Matomo actually connect

  1. 1

    Rewardful holds the truth

    Because it reads Stripe, the revenue figure is right. What it cannot see is the paid click that preceded the referral link, which is exactly the overlap you need to measure.

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

  4. 4

    The event source decides reliability

    Send new subscriptions net of commission, with the referral flag from Stripe metadata.

  5. 5

    Deduplication at the destination

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

Rewardful → Matomo · normal or broken

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

Normal, not a fault

  • The first-party visitor ID present on the referral

  • Sent from the Stripe subscription with Rewardful 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

    The referral cookie is set on click and read at checkout; a paid identifier stored earlier is invisible to Rewardful entirely.

  • Sent from the browser

    Rewardful will tell you exactly what an affiliate earned and nothing about whether you also paid Google for the same customer. Putting both identifiers in Stripe metadata is the cheapest fix available and almost nobody does it.

  • 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

Rewardful → Matomo · diagnose

Diagnostic order — Rewardful → Matomo

  1. 01

    Count referrals carrying the first-party visitor ID

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether Stripe customer metadata holds both identifiers

    If it holds only one, the overlap between affiliate and paid is unmeasurable after the fact.

  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.

Rewardful → Matomo · prove

How it gets proven — Rewardful → Matomo

Source of truth

Stripe subscriptions flagged by referral, with commission calculated on actual Stripe revenue.

  • 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 in Stripe with both referral and paid identifiers present, and the overlap stated.

Rewardful → 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
  • Check whether Stripe customer metadata holds both identifiers
  • Check tracker reachability and database lag before debugging any tag
  • Read the match rate, not the success message

Checked against

Stripe subscriptions flagged by referral, with commission calculated on actual Stripe revenue.

Get my free conversion tracking audit

Free30 minutesNo obligation

Rewardful → Matomo · when not to buy

When you don't need this — Rewardful → Matomo

  • Measure identifier coverage yourself first — pull your last hundred referrals and count how many carry the first-party visitor ID.
  • If you run no paid media alongside the affiliate programme, there is no overlap to measure.
  • 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.

Rewardful → Matomo · what we deliver

What gets built — Rewardful → Matomo

  • Identifier capture into Rewardful

    Store the paid identifier in Stripe customer metadata alongside the referral, so the overlap is visible in one place.

  • Event source: the Stripe subscription with Rewardful attribution

    Send new subscriptions net of commission, with the referral flag from Stripe metadata.

  • Dispatch to Matomo

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

  • Reversals where they exist

    Cancellations and refunds reverse in both systems.

Written guarantee

95%+ tracking accuracy

Measured against Stripe subscriptions flagged by referral, with commission calculated on actual Stripe revenue.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Rewardful → Matomo questions, answered

Matomo does not know the Rewardful parameter is a campaign marker. Add Matomo campaign parameters to the affiliate links or configure a campaign mapping, and confirm on a test click.

Free · 30 min

Get Rewardful and Matomo joined properly

Free30 minutesNo obligation