Skip to main content
Rewardful → MixpanelIntegration guide

Connecting Rewardful to Mixpanel

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

Rewardful in Mixpanel: carry the referral across signup

At signup, identify the Mixpanel user with your own user ID and set the Rewardful referral ID as profile and super property, so the affiliate visit and the payer stay one person. Send Stripe subscription events server-side with that user ID as distinct_id and the Stripe invoice ID as $insert_id, as one event with a referral property.

The Mixpanel failure that hurts this pair most is the signup boundary. A visitor lands from an affiliate link, Rewardful sets its referral cookie, and Mixpanel records the visit under an anonymous distinct_id. If the user is not identified correctly at signup, the referral visit and the paying user become two people, and the funnel from affiliate landing to paid subscription shows nobody converting.

At signup, read the Rewardful referral ID in the browser, identify the user with your own user ID, and set the referral ID as a profile property and a super property so later events carry it. Once the referral converts, add the affiliate ID from Rewardful. Then send subscription events server-side from Stripe with that same user ID as the distinct_id, using the Stripe invoice ID as $insert_id so webhook retries do not double the event.

Name events from your product's point of view, not Rewardful's. Rewardful calls a paying referral a conversion, Stripe calls it a subscription, and if marketing sends affiliate_conversion while product sends subscription_started, Mixpanel shows two unrelated events for one payment. Send one event with a referral property, and break funnels down by it to see where affiliate visitors drop compared with paid ones.

Rewardful → Mixpanel · what breaks

Why this join usually fails — Rewardful → Mixpanel

  1. 01

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

    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.

Rewardful → Mixpanel · the fix

What working looks like — Rewardful → Mixpanel

  • The distinct_id on every referral

  • Conversions arriving in Mixpanel

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

  • Reconciled against the source

Rewardful → Mixpanel · architecture

How Rewardful and Mixpanel 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

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

    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.

Rewardful → Mixpanel · normal or broken

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

Normal, not a fault

  • The distinct_id present on the referral

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

    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

    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

Rewardful → Mixpanel · diagnose

Diagnostic order — Rewardful → Mixpanel

  1. 01

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

    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.

Rewardful → Mixpanel · prove

How it gets proven — Rewardful → Mixpanel

Source of truth

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

  • The distinct_id confirmed present on a live referral.
  • Purchase events reconciled per transaction against your billing system, with identity aliasing verified across the signup boundary.
  • New subscriptions reconciled in Stripe with both referral and paid identifiers present, and the overlap stated.

Rewardful → Mixpanel · free audit

What we check in the free audit

  • Count referrals carrying the distinct_id
  • Follow one real conversion end to end
  • Check whether Stripe customer metadata holds both identifiers
  • List every event name in the project and look for near-duplicates
  • 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 → Mixpanel · when not to buy

When you don't need this — Rewardful → Mixpanel

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

Rewardful → Mixpanel · what we deliver

What gets built — Rewardful → Mixpanel

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

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

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

Usually the anonymous distinct_id from the affiliate landing was not merged with the identified user at signup, so the visit and the payment sit on two profiles.

Free · 30 min

Get Rewardful and Mixpanel joined properly

Free30 minutesNo obligation