Skip to main content
Rakuten Advertising → MatomoIntegration guide

Connecting Rakuten Advertising to Matomo

Rakuten's network is closely tied to a consumer cashback proposition, which puts a large population of shoppers who route through cashback as a habit into your affiliate programme. 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 Rakuten 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

Rakuten traffic in Matomo: label the affiliate before it's a referral

Rakuten Advertising redirects scatter affiliate traffic across Matomo referral and direct. At landing, read the Rakuten site ID and add Matomo campaign parameters to deep links or record the publisher in a visit-scope custom dimension. Send Matomo the order with the order ID also sent to Rakuten, and check the raw visit log for last-minute cashback visits.

Matomo will see Rakuten traffic but may not label it as affiliate. Rakuten links typically pass through a redirect domain before reaching your site, carrying Rakuten's own parameters rather than Matomo campaign parameters. Depending on how the redirect behaves, Matomo records the visit as a referral from a publisher site, a referral from the redirect domain, or a direct visit, and the affiliate channel ends up scattered across all three.

Fix it at the landing page. Read the Rakuten site ID parameter (confirm which one your program uses) and either add Matomo campaign parameters to the deep-link destination where the network allows it, or record the publisher in a visit-scope custom dimension. Then send the order to Matomo, from the browser or server, with your order ID so it deduplicates, and the same order ID goes to Rakuten so the two lists can be matched.

Self-hosted Matomo is useful here for a specific reason: the raw visit log shows the full sequence of visits before an order, including when the affiliate visit happened. Pull orders where the Rakuten visit is the last one and happened minutes before purchase after earlier visits from other channels. That is the cashback pattern, measured on infrastructure you own and without sending order data to a third party.

Rakuten Advertising → Matomo · what breaks

Why this join usually fails — Rakuten Advertising → Matomo

  1. 01

    The first-party visitor ID never reaches Rakuten Advertising

    Cashback clicks arrive immediately before checkout, overwriting whatever earlier identifier was stored.

  2. 02

    Paying commission on customers you already had

    A returning customer who routes through cashback before every purchase costs you a commission on revenue that required no acquisition. Whether that is acceptable is a business decision — but it should be a decision, not an accident.

  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.

Rakuten Advertising → Matomo · the fix

What working looks like — Rakuten Advertising → Matomo

  • The first-party visitor ID on every conversion

  • 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

Rakuten Advertising → Matomo · architecture

How Rakuten Advertising and Matomo actually connect

  1. 1

    Rakuten Advertising holds the truth

    Cashback shoppers frequently already intended to buy. Their click happens last, deliberately, to capture the reward — which is exactly the pattern last-click attribution rewards most.

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

  4. 4

    The event source decides reliability

    Send orders net of commission, with cashback-sourced orders reported as their own category.

  5. 5

    Deduplication at the destination

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

Rakuten Advertising → Matomo · normal or broken

Working vs. broken, side by side — Rakuten Advertising → Matomo

Normal, not a fault

  • The first-party visitor ID present on the conversion

  • Sent from your order record with Rakuten 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

    Cashback clicks arrive immediately before checkout, overwriting whatever earlier identifier was stored.

  • Sent from the browser

    A returning customer who routes through cashback before every purchase costs you a commission on revenue that required no acquisition. Whether that is acceptable is a business decision — but it should be a decision, not an accident.

  • 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

Rakuten Advertising → Matomo · diagnose

Diagnostic order — Rakuten Advertising → Matomo

  1. 01

    Count conversions carrying the first-party visitor ID

  2. 02

    Follow one real conversion end to end

  3. 03

    Measure what share of cashback-attributed orders are from existing customers

    If it is high, you are paying an acquisition cost on retention, and the commission structure is the lever 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.

Rakuten Advertising → Matomo · prove

How it gets proven — Rakuten Advertising → Matomo

Source of truth

Orders flagged by publisher, with cashback-sourced orders identified.

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

Rakuten Advertising → Matomo · free audit

What we check in the free audit

  • Count conversions carrying the first-party visitor ID
  • Follow one real conversion end to end
  • Measure what share of cashback-attributed orders are from existing customers
  • Check tracker reachability and database lag before debugging any tag
  • Read the match rate, not the success message

Checked against

Orders flagged by publisher, with cashback-sourced orders identified.

Get my free conversion tracking audit

Free30 minutesNo obligation

Rakuten Advertising → Matomo · when not to buy

When you don't need this — Rakuten Advertising → Matomo

  • Measure identifier coverage yourself first — pull your last hundred conversions and count how many carry the first-party visitor ID.
  • If your programme excludes cashback publishers, this pattern 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.

Rakuten Advertising → Matomo · what we deliver

What gets built — Rakuten Advertising → Matomo

  • Identifier capture into Rakuten Advertising

    Record click timestamps so the last-second pattern is visible rather than invisible.

  • Event source: your order record with Rakuten attribution

    Send orders net of commission, with cashback-sourced orders reported as their own category.

  • Dispatch to Matomo

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

  • Reversals where they exist

    Refunds reverse and reverse commission.

Written guarantee

95%+ tracking accuracy

Measured against Orders flagged by publisher, with cashback-sourced orders identified.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Rakuten Advertising → Matomo questions, answered

Rakuten links carry their own parameters, not Matomo campaign parameters, so visits show up as referrals or direct. Map the Rakuten parameter to a campaign or custom dimension.

Free · 30 min

Get Rakuten Advertising and Matomo joined properly

Free30 minutesNo obligation