Skip to main content
Rewardful → AmplitudeIntegration guide

Connecting Rewardful to Amplitude

Rewardful reads directly from Stripe, which makes it unusually accurate about revenue and unusually blind to everything that happened before the customer reached checkout. Amplitude is built around behavioural cohorts, which makes the identity resolution and the event taxonomy load-bearing in a way they never are for an ad pixel. The join between them succeeds or fails on one thing: whether the user ID and device ID pair reaches the Rewardful referral before the conversion happens, because Amplitude can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Rewardful in Amplitude: do affiliate customers retain?

Capture the Rewardful referral ID at signup and set it, plus the affiliate ID after conversion, as user properties on the same Amplitude user ID your app uses. Send Stripe first payments and renewals server-side as gross revenue events, with the Stripe invoice ID as insert_id, plus refunds as negative revenue and cancellations as events.

Amplitude is the right place to answer the question Rewardful cannot: whether customers referred by affiliates behave like the rest after they pay. Rewardful knows the referral and the commission; it knows nothing about activation, feature use or which accounts are quietly going idle before they cancel. Amplitude knows all of that and nothing about the referral, unless you put it there.

Capture the Rewardful referral ID in the browser at signup, the same moment you identify the user in Amplitude, and set it, with the affiliate ID once the referral converts, as user properties on the Amplitude user ID. Use the same user ID your app's SDK uses, or the referral lands on a separate user. Then send subscription revenue server-side from Stripe events: the first payment and each renewal as revenue events with price and quantity populated, using the Stripe invoice ID as the insert_id so a webhook retry is not counted twice.

Send gross revenue to Amplitude rather than net of commission. Commission is a cost of acquisition, and subtracting it inside product analytics makes affiliate cohorts look lower-value for the wrong reason. Report commission from Rewardful. Refunds go in as negative revenue against the same user, and a cancellation as its own event, so retention charts by referral source reflect what actually happened.

Rewardful → Amplitude · what breaks

Why this join usually fails — Rewardful → Amplitude

  1. 01

    The user ID and device ID pair 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

    Revenue events that carry no revenue

    Amplitude will happily accept a purchase event with no price field. The event count looks correct, the funnel looks correct, and the revenue reporting stays at zero — which people usually discover a quarter later when someone asks what a cohort is worth.

  4. 04

    Nothing reconciles afterwards

    Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.

Rewardful → Amplitude · the fix

What working looks like — Rewardful → Amplitude

  • The user ID and device ID pair on every referral

  • Conversions arriving in Amplitude

    The event lands on the user, joins their behavioural history, and becomes available for cohorts, funnels and retention.

  • Reconciled against the source

Rewardful → Amplitude · architecture

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

    Amplitude needs a click to match

    Amplitude needs a device or user identifier, an event type and its properties. Revenue events need the price and quantity fields specifically, or the revenue reporting stays empty while events flow normally.

  3. 3

    The identifier is the bridge

    The user ID and device ID pair, 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

    Amplitude deduplicates on insert_id. Omit it and a retried batch is counted twice, which shows up as a phantom spike that someone will eventually build a hypothesis on.

Rewardful → Amplitude · normal or broken

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

Normal, not a fault

  • The user ID and device ID pair present on the referral

  • Sent from the Stripe subscription with Rewardful attribution

  • Deduplicated correctly

    Amplitude deduplicates on insert_id. Omit it and a retried batch is counted twice, which shows up as a phantom spike that someone will eventually build a hypothesis on.

  • Reconciles with the source

Actually broken

  • The user ID and device ID pair 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

    Amplitude will happily accept a purchase event with no price field. The event count looks correct, the funnel looks correct, and the revenue reporting stays at zero — which people usually discover a quarter later when someone asks what a cohort is worth.

  • Nobody has reconciled it

Rewardful → Amplitude · diagnose

Diagnostic order — Rewardful → Amplitude

  1. 01

    Count referrals carrying the user ID and device ID pair

  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 a purchase event for the price and quantity fields specifically

    Not whether the event arrived — whether the revenue fields are populated, in the exact names Amplitude expects.

  5. 05

    Read the match rate, not the success message

    Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.

Rewardful → Amplitude · prove

How it gets proven — Rewardful → Amplitude

Source of truth

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

  • The user ID and device ID pair confirmed present on a live referral.
  • Revenue reconciled per transaction against your billing system, with identity merge behaviour verified across signup.
  • New subscriptions reconciled in Stripe with both referral and paid identifiers present, and the overlap stated.

Rewardful → Amplitude · free audit

What we check in the free audit

  • Count referrals carrying the user ID and device ID pair
  • Follow one real conversion end to end
  • Check whether Stripe customer metadata holds both identifiers
  • Check a purchase event for the price and quantity fields specifically
  • 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 → Amplitude · when not to buy

When you don't need this — Rewardful → Amplitude

  • Measure identifier coverage yourself first — pull your last hundred referrals and count how many carry the user ID and device ID pair.
  • If you run no paid media alongside the affiliate programme, there is no overlap to measure.
  • If nobody is building cohorts or retention analysis, this is a large amount of instrumentation for reporting a dashboard already gives you.

Rewardful → Amplitude · what we deliver

What gets built — Rewardful → Amplitude

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

    The Amplitude HTTP V2 API, posted server-side with the identity, event type and 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 → Amplitude questions, answered

Set the Rewardful referral and affiliate IDs as user properties at signup on the same user ID your app uses, then build retention and revenue charts split by that property.

Free · 30 min

Get Rewardful and Amplitude joined properly

Free30 minutesNo obligation