Skip to main content
Rakuten Advertising → MixpanelIntegration guide

Connecting Rakuten Advertising to Mixpanel

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. Mixpanel is a product analytics tool, not an ad platform, which means it has no attribution model of its own and will faithfully report whatever event schema you give it — including a bad one. The join between them succeeds or fails on one thing: whether the distinct_id reaches the Rakuten transaction before the conversion happens, because Mixpanel can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Rakuten to Mixpanel: seeing the cashback detour in the funnel

Capture the Rakuten Advertising landing in Mixpanel as its own event with publisher ID and timestamp, since automatic UTM capture misses Rakuten parameters. Identify on the checkout email so the server-side purchase joins the right profile, use the order ID as $insert_id, and keep the existing purchase event name. Then count purchases where add-to-cart preceded the Rakuten landing.

Mixpanel is good at showing the cashback detour as a funnel. A shopper adds to cart, leaves, and comes back seconds or minutes later through a Rakuten link to finish checkout. In Mixpanel that reads as add-to-cart, then a new landing carrying Rakuten's parameters, then purchase. Capture the Rakuten landing explicitly as its own event with the publisher ID and a timestamp, because Mixpanel's automatic UTM capture only sees Rakuten traffic if your program appends UTM tags to its links.

The distinct_id has to survive the round trip. Most detours return in the same browser, so the anonymous distinct_id persists, but an extension that opens a new tab in a different profile or browser breaks it, and the purchase lands on a new anonymous user with no cart history. Identify on the checkout email so the server-side purchase joins the right profile, and use the order ID as $insert_id so a retried send from your backend does not double the order.

The report that matters: of purchases with a Rakuten landing in the last few minutes before checkout, how many had an add-to-cart before that landing? Those buyers had decided before the commission was earned. Mixpanel cannot change commission, but that ratio by publisher is the evidence for renegotiating cashback rates. Keep the purchase event name identical to the one the product team already uses so the funnel does not split.

Rakuten Advertising → Mixpanel · what breaks

Why this join usually fails — Rakuten Advertising → Mixpanel

  1. 01

    The distinct_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

    One event schema, two teams, no agreement

    Marketing names an event Purchase, the product team names it purchase_completed, and both are sent. Mixpanel treats them as unrelated, every funnel silently splits, and two teams spend a quarter arguing about which number is right when both are.

  4. 04

    Nothing reconciles afterwards

    Mixpanel shows events in the live view within moments. Check that the distinct_id matches the signed-in user rather than a lingering anonymous ID, because that is the failure that quietly breaks every cross-signup funnel.

Rakuten Advertising → Mixpanel · the fix

What working looks like — Rakuten Advertising → Mixpanel

  • The distinct_id on every conversion

  • Conversions arriving in Mixpanel

    The event lands on the user profile and becomes available in funnels, retention and cohort analysis.

  • Reconciled against the source

Rakuten Advertising → Mixpanel · architecture

How Rakuten Advertising and Mixpanel 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

    Mixpanel needs a click to match

    Mixpanel needs a distinct_id, an event name and its properties. Events without a distinct_id are rejected; events with the wrong one land on a stranger's profile.

  3. 3

    The identifier is the bridge

    The distinct_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

    Mixpanel deduplicates on $insert_id within a time window. Without it, a retried server request creates a second event, and because Mixpanel is where product decisions get made, that inflation ends up in a roadmap rather than in an ad report.

Rakuten Advertising → Mixpanel · normal or broken

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

Normal, not a fault

  • The distinct_id present on the conversion

  • Sent from your order record with Rakuten attribution

  • Deduplicated correctly

    Mixpanel deduplicates on $insert_id within a time window. Without it, a retried server request creates a second event, and because Mixpanel is where product decisions get made, that inflation ends up in a roadmap rather than in an ad report.

  • Reconciles with the source

Actually broken

  • The distinct_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

    Marketing names an event Purchase, the product team names it purchase_completed, and both are sent. Mixpanel treats them as unrelated, every funnel silently splits, and two teams spend a quarter arguing about which number is right when both are.

  • Nobody has reconciled it

Rakuten Advertising → Mixpanel · diagnose

Diagnostic order — Rakuten Advertising → Mixpanel

  1. 01

    Count conversions carrying the distinct_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

    List every event name in the project and look for near-duplicates

    Case differences, tense differences and synonyms are the usual finding, and they are cheap to fix before a year of data is built on them.

  5. 05

    Read the match rate, not the success message

    Mixpanel shows events in the live view within moments. Check that the distinct_id matches the signed-in user rather than a lingering anonymous ID, because that is the failure that quietly breaks every cross-signup funnel.

Rakuten Advertising → Mixpanel · prove

How it gets proven — Rakuten Advertising → Mixpanel

Source of truth

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

  • The distinct_id confirmed present on a live conversion.
  • Purchase events reconciled per transaction against your billing system, with identity aliasing verified across the signup boundary.
  • Orders reconciled net of commission, with cashback orders split by new versus returning customer.

Rakuten Advertising → Mixpanel · free audit

What we check in the free audit

  • Count conversions carrying the distinct_id
  • Follow one real conversion end to end
  • Measure what share of cashback-attributed orders are from existing customers
  • List every event name in the project and look for near-duplicates
  • 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 → Mixpanel · when not to buy

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

  • Measure identifier coverage yourself first — pull your last hundred conversions and count how many carry the distinct_id.
  • If your programme excludes cashback publishers, this pattern does not arise.
  • If you already have the same events in a warehouse and nobody is running product analysis on them, adding Mixpanel adds a second source of truth rather than an answer.

Rakuten Advertising → Mixpanel · what we deliver

What gets built — Rakuten Advertising → Mixpanel

  • 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 Mixpanel

    The Mixpanel ingestion API, posted server-side from your backend with the distinct_id and event properties.

  • 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 → Mixpanel questions, answered

Track a landing event with Rakuten's publisher parameters when a shopper arrives through a Rakuten link, and identify them at checkout so the server-side purchase joins the same profile. Mixpanel only captures UTM tags automatically, which Rakuten links may not carry.

Free · 30 min

Get Rakuten Advertising and Mixpanel joined properly

Free30 minutesNo obligation