Connecting Rewardful to Segment
Rewardful reads directly from Stripe, which makes it unusually accurate about revenue and unusually blind to everything that happened before the customer reached checkout. Segment is a customer data platform rather than an ad network, so sending to it is not about matching a conversion — it is about putting one clean event where every other destination can read it. The join between them succeeds or fails on one thing: whether the userId and anonymousId reaches the Rewardful referral before the conversion happens, because Segment can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Rewardful through Segment: decide which destinations get referrals
Identify users at signup with your own user ID and send the Rewardful referral as a trait, then send Stripe subscription events server-side with that userId and a messageId based on the Stripe event ID, so retries are dropped. Decide per ad destination whether referral-flagged subscriptions are forwarded, and send everything to the warehouse.
Routing Stripe and Rewardful data through Segment puts one subscription event in front of every connected tool, which is useful for the warehouse and email, and risky for ad destinations. Every affiliate-referred subscription forwarded to Google Ads, Meta and others becomes a conversion each platform may claim, on top of the commission you already paid. With fan-out, that decision has to be made once, deliberately, per destination.
Identify the user at signup with your own user ID, aliasing the anonymous visitor, and send the Rewardful referral ID as a trait. Add the affiliate ID once Rewardful records the conversion. Send subscription events server-side from Stripe webhooks with that userId, the referral as a property, and the Stripe event ID as the basis of the messageId. Stripe retries a webhook with the same event ID, so a retried delivery is dropped instead of being forwarded to every destination.
Then configure ad destinations with intent: either forward all subscriptions and accept that affiliates and ads overlap in platform reporting, or filter out referral-flagged ones where your plan supports destination filters. The warehouse destination should always get everything, including the referral and paid click IDs from Stripe metadata, so the overlap can be counted later. Check whether a Rewardful source exists in Segment's catalog; otherwise send from your own server.
Rewardful → Segment · what breaks
Why this join usually fails — Rewardful → Segment
- 01
The userId and anonymousId never reaches Rewardful
The referral cookie is set on click and read at checkout; a paid identifier stored earlier is invisible to Rewardful entirely.
- 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.
- 03
One bad event multiplied across every destination
Segment's value is fan-out, which is also its risk. An inconsistent identity or a duplicated event does not break one report — it breaks every connected tool simultaneously, and tracing it back is harder than debugging a direct integration.
- 04
Nothing reconciles afterwards
Segment's debugger shows events arriving and which destinations accepted them. Arriving is not the test — check a destination you care about and confirm the event landed there with the identity intact, then reconcile against your own records.
Rewardful → Segment · the fix
What working looks like — Rewardful → Segment
The userId and anonymousId on every referral
Conversions arriving in Segment
Events land in Segment and forward to every connected destination, warehouse included, on one shared definition.
Reconciled against the source
Rewardful → Segment · architecture
How Rewardful and Segment actually connect
- 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
Segment needs a click to match
Segment needs a consistent identity model — the same userId everywhere, an alias when an anonymous visitor becomes known, and event names that follow one spec. Feeding it inconsistent identities pushes the mess to every connected destination at once.
- 3
The identifier is the bridge
The userId and anonymousId, captured at the visit and carried into the Rewardful referral.
- 4
The event source decides reliability
Send new subscriptions net of commission, with the referral flag from Stripe metadata.
- 5
Deduplication at the destination
Segment deduplicates on messageId within a window. Because it fans out to many destinations, a duplicate here becomes a duplicate everywhere, which makes idempotent messageIds more important than in any single-destination integration.
Rewardful → Segment · normal or broken
Working vs. broken, side by side — Rewardful → Segment
Normal, not a fault
The userId and anonymousId present on the referral
Sent from the Stripe subscription with Rewardful attribution
Deduplicated correctly
Segment deduplicates on messageId within a window. Because it fans out to many destinations, a duplicate here becomes a duplicate everywhere, which makes idempotent messageIds more important than in any single-destination integration.
Reconciles with the source
Actually broken
The userId and anonymousId 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
Segment's value is fan-out, which is also its risk. An inconsistent identity or a duplicated event does not break one report — it breaks every connected tool simultaneously, and tracing it back is harder than debugging a direct integration.
Nobody has reconciled it
Rewardful → Segment · diagnose
Diagnostic order — Rewardful → Segment
- 01
Count referrals carrying the userId and anonymousId
- 02
Follow one real conversion end to end
- 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.
- 04
Check identity resolution before checking anything downstream
If anonymousId is never aliased to userId, every destination sees two people where there is one, and no downstream fix helps.
- 05
Read the match rate, not the success message
Segment's debugger shows events arriving and which destinations accepted them. Arriving is not the test — check a destination you care about and confirm the event landed there with the identity intact, then reconcile against your own records.
Rewardful → Segment · prove
How it gets proven — Rewardful → Segment
Source of truth
Stripe subscriptions flagged by referral, with commission calculated on actual Stripe revenue.
- The userId and anonymousId confirmed present on a live referral.
- An anonymous session confirmed aliased to a known user, with the event visible in at least one downstream destination.
- New subscriptions reconciled in Stripe with both referral and paid identifiers present, and the overlap stated.
Rewardful → Segment · free audit
What we check in the free audit
- Count referrals carrying the userId and anonymousId
- Follow one real conversion end to end
- Check whether Stripe customer metadata holds both identifiers
- Check identity resolution before checking anything downstream
- Read the match rate, not the success message
Checked against
Stripe subscriptions flagged by referral, with commission calculated on actual Stripe revenue.
Free30 minutesNo obligation
Rewardful → Segment · when not to buy
When you don't need this — Rewardful → Segment
- Measure identifier coverage yourself first — pull your last hundred referrals and count how many carry the userId and anonymousId.
- If you run no paid media alongside the affiliate programme, there is no overlap to measure.
- If you send to one or two destinations, Segment is infrastructure you do not need — direct integrations are simpler and cheaper. It earns its place at genuine fan-out.
Rewardful → Segment · what we deliver
What gets built — Rewardful → Segment
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 Segment
Server-side track and identify calls with a stable messageId, consistent userId, and the click identifier carried as a trait or property.
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.
From $400 · See packages
FAQ
Rewardful → Segment questions, answered
Decide per destination. Forwarding them lets ad platforms claim customers you paid commission on; filtering them gives cleaner but smaller signal. The warehouse should receive everything.
Base the messageId on the Stripe event ID, which stays the same when Stripe retries a webhook, so Segment drops the repeat.
Almost always because the userId and anonymousId never reached the Rewardful referral. The referral cookie is set on click and read at checkout; a paid identifier stored earlier is invisible to Rewardful entirely. Measure coverage before debugging the dispatch.
Segment identifies people by anonymousId before they are known and userId afterwards, and the alias between them is what stitches a session to a customer. Click identifiers travel as event properties or traits rather than as a matching key — Segment does not match anything itself, it forwards. That distinction changes the whole design: get the identity resolution right and every downstream destination inherits it.
The Stripe subscription with Rewardful attribution. Send new subscriptions net of commission, with the referral flag from Stripe metadata.
Segment's debugger shows events arriving and which destinations accepted them. Arriving is not the test — check a destination you care about and confirm the event landed there with the identity intact, then reconcile against your own records.
More on Rewardful → Segment
- Stripe → SegmentConnecting Stripe to Segment
- PayPal → SegmentConnecting PayPal to Segment
- Shopify → SegmentConnecting Shopify to Segment
RELATED GUIDES
Where Rewardful → Segment fits in the rest of your tracking
- Rakuten Advertising → SegmentConnecting Rakuten Advertising to Segment
- Post Affiliate Pro → SegmentConnecting Post Affiliate Pro to Segment
- Refersion → SegmentConnecting Refersion to Segment
- Rewardful → BigQueryConnecting Rewardful to BigQuery
- SubscriptionsConversion tracking for subscription businesses, across the whole lifecycle
- ShareASale → SegmentConnecting ShareASale to Segment
- Everflow → SegmentConnecting Everflow to Segment
- Tapfiliate → SegmentConnecting Tapfiliate to Segment
Free · 30 min
Get Rewardful and Segment joined properly
Free30 minutesNo obligation
