Connecting Refersion to Amplitude
Refersion runs affiliate and influencer programmes on Shopify stores, which puts a commission-earning third party directly alongside your paid media on the same orders. 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 Refersion conversion 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
Refersion to Amplitude: Affiliate-Acquired Cohorts vs Paid Ones
Set set-once Amplitude user properties at first order for acquisition affiliate ID, coupon code and channel, using your Refersion-versus-paid precedence rule. Send purchases at the full order amount with Refersion commission in its own property, and refunds as negative revenue on the same user. Capture the Refersion link parameter explicitly on landing, and send coupon-only attributions server-side.
Amplitude can answer a question Refersion's dashboard cannot: whether customers acquired through affiliates and influencer codes come back and buy again like paid-acquired customers. Set user properties at the first order, such as acquisition affiliate ID, coupon code and channel, using the same precedence rule you apply between Refersion and paid click identifiers. Use a set-once operation so a later affiliate order does not rewrite how the customer was acquired.
Send purchases with price and quantity at the order amount, so revenue in Amplitude reconciles with the store, and put the Refersion commission in its own property. Product and finance teams compare Amplitude revenue against store totals; silently sending net-of-commission values breaks that comparison. When Refersion reverses a commission on a refund, send the refund as a negative-revenue event on the same user.
Use the store's customer ID as user_id. Amplitude's browser SDK records UTM parameters, but Refersion's affiliate link parameter is not a UTM, so capture it explicitly as an event property on landing if you want to see affiliate sessions. Coupon-only attributions, where a customer typed an influencer's code without clicking any link, leave no trace in the session; they exist only on the order and must come from the server-side event.
Refersion → Amplitude · what breaks
Why this join usually fails — Refersion → Amplitude
- 01
The user ID and device ID pair never reaches Refersion
Affiliate links carry their own parameters and land on your store, frequently overwriting or colliding with a paid identifier already stored.
- 02
Influencer codes claiming paid traffic's orders
A customer sees your ad, searches for a discount code, finds an influencer's, and orders. The influencer earns a commission on a sale your advertising produced, and your paid reporting counts it too.
- 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.
- 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.
Refersion → Amplitude · the fix
What working looks like — Refersion → Amplitude
The user ID and device ID pair on every conversion
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
Refersion → Amplitude · architecture
How Refersion and Amplitude actually connect
- 1
Refersion holds the truth
An affiliate order costs you a commission on top of whatever the ad click cost. If both systems claim it, the order is being paid for twice and neither report mentions the other.
- 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
The identifier is the bridge
The user ID and device ID pair, captured at the visit and carried into the Refersion conversion.
- 4
The event source decides reliability
Send orders net of affiliate commission, with the affiliate-sourced share marked.
- 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.
Refersion → Amplitude · normal or broken
Working vs. broken, side by side — Refersion → Amplitude
Normal, not a fault
The user ID and device ID pair present on the conversion
Sent from the store order record with Refersion attribution attached
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
Affiliate links carry their own parameters and land on your store, frequently overwriting or colliding with a paid identifier already stored.
Sent from the browser
A customer sees your ad, searches for a discount code, finds an influencer's, and orders. The influencer earns a commission on a sale your advertising produced, and your paid reporting counts it too.
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
Refersion → Amplitude · diagnose
Diagnostic order — Refersion → Amplitude
- 01
Count conversions carrying the user ID and device ID pair
- 02
Follow one real conversion end to end
- 03
Count orders appearing in both paid conversions and Refersion
The overlap is the double payment. One query, rarely run.
- 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.
- 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.
Refersion → Amplitude · prove
How it gets proven — Refersion → Amplitude
Source of truth
Store orders flagged by whether an affiliate link or code produced them, with the commission recorded.
- The user ID and device ID pair confirmed present on a live conversion.
- Revenue reconciled per transaction against your billing system, with identity merge behaviour verified across signup.
- Non-affiliate orders reconciled against imported conversions, with the overlap measured and stated.
Refersion → Amplitude · free audit
What we check in the free audit
- Count conversions carrying the user ID and device ID pair
- Follow one real conversion end to end
- Count orders appearing in both paid conversions and Refersion
- Check a purchase event for the price and quantity fields specifically
- Read the match rate, not the success message
Checked against
Store orders flagged by whether an affiliate link or code produced them, with the commission recorded.
Free30 minutesNo obligation
Refersion → Amplitude · when not to buy
When you don't need this — Refersion → Amplitude
- Measure identifier coverage yourself first — pull your last hundred conversions and count how many carry the user ID and device ID pair.
- No affiliate programme means no conflict and this reduces to an ordinary store integration.
- If nobody is building cohorts or retention analysis, this is a large amount of instrumentation for reporting a dashboard already gives you.
Refersion → Amplitude · what we deliver
What gets built — Refersion → Amplitude
Identifier capture into Refersion
Set an explicit precedence rule between affiliate and paid parameters rather than letting last-write-wins decide, and record both on the order.
Event source: the store order record with Refersion attribution attached
Send orders net of affiliate commission, with the affiliate-sourced share marked.
Dispatch to Amplitude
The Amplitude HTTP V2 API, posted server-side with the identity, event type and properties.
Reversals where they exist
Refunds reverse and should claw back the commission.
Written guarantee
95%+ tracking accuracy
Measured against Store orders flagged by whether an affiliate link or code produced them, with the commission recorded.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Refersion → Amplitude questions, answered
Write the acquisition source to a user property with set-once on the first order, using the same precedence rule you apply between Refersion and paid click IDs, then build cohorts on it.
Keep price at the order amount so revenue reconciles with the store, and send commission as a separate property so net value can be computed per cohort.
Almost always because the user ID and device ID pair never reached the Refersion conversion. Affiliate links carry their own parameters and land on your store, frequently overwriting or colliding with a paid identifier already stored. Measure coverage before debugging the dispatch.
Amplitude tracks both a device ID and a user ID and merges them when a user identifies. The merge rules decide who counts as one person, so a mistake here does not produce a small error — it changes every retention curve and cohort size in the account.
The store order record with Refersion attribution attached. Send orders net of affiliate commission, with the affiliate-sourced share marked.
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.
More on Refersion → Amplitude
- Stripe → AmplitudeConnecting Stripe to Amplitude
- PayPal → AmplitudeConnecting PayPal to Amplitude
- Shopify → AmplitudeConnecting Shopify to Amplitude
RELATED GUIDES
Where Refersion → Amplitude fits in the rest of your tracking
- Post Affiliate Pro → AmplitudeConnecting Post Affiliate Pro to Amplitude
- FirstPromoter → AmplitudeConnecting FirstPromoter to Amplitude
- Tapfiliate → AmplitudeConnecting Tapfiliate to Amplitude
- Refersion → MixpanelConnecting Refersion to Mixpanel
- Refersion → GA4Connecting Refersion to GA4
- SubscriptionsConversion tracking for subscription businesses, across the whole lifecycle
- Rewardful → AmplitudeConnecting Rewardful to Amplitude
- CJ → AmplitudeConnecting CJ Affiliate to Amplitude
Free · 30 min
Get Refersion and Amplitude joined properly
Free30 minutesNo obligation
