Connecting Affirm to Amplitude
Affirm is longer-term financed BNPL, typically on higher-ticket items, which adds a credit decision between the checkout and the sale. 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 Affirm charge 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
Affirm checkouts in Amplitude: approvals, captures and real revenue
Write the Amplitude device ID and user ID onto the order before the redirect to Affirm, then send authorization and capture as server events with those values, the capture timed to when the order was placed. Use the price the shopper was charged, send cancellations and refunds as negative revenue, and set insert_id from charge ID plus event type.
Amplitude is useful here for a question your store dashboard can't answer: do customers who finance with Affirm behave differently afterwards? Do they come back, buy accessories, return more? To answer it, the server-side capture event has to land on the same Amplitude user the browser SDK has been tracking. Write the Amplitude device ID, and user ID if they're logged in, onto the order before the shopper is sent to Affirm, and send the capture event with those values rather than an ID generated on your server.
Model the Affirm steps as one funnel with a payment method property: checkout started, Affirm application started, order authorized, order captured. Authorization and capture are separate events because many merchants authorize at order time and capture when the item ships. Set the capture event's time to when the order was placed, or the purchase lands days late and shifts every retention curve built on it.
The revenue event needs price and quantity on each line, using what the shopper was charged, not the amount Affirm settles after its fee. Send cancelled financing and refunds as their own event with negative revenue, so cohorts of Affirm buyers don't carry money that went back. Use the Affirm charge ID plus the event type as insert_id, so a retried webhook doesn't double a high-ticket order.
Affirm → Amplitude · what breaks
Why this join usually fails — Affirm → Amplitude
- 01
The user ID and device ID pair never reaches Affirm
The shopper leaves for Affirm's flow, is assessed, and returns only if approved. Both the redirect and the decline create paths where nothing fires on your site.
- 02
A credit decision inside the checkout
Declines are real volume that reached checkout and produced nothing. Counting checkout starts rather than captured charges overstates performance by the decline rate.
- 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.
Affirm → Amplitude · the fix
What working looks like — Affirm → Amplitude
The user ID and device ID pair on every order
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
Affirm → Amplitude · architecture
How Affirm and Amplitude actually connect
- 1
Affirm holds the truth
Affirm runs a real credit decision, so a shopper who reaches checkout may be declined. The order only exists if the financing was approved and captured.
- 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 Affirm charge.
- 4
The event source decides reliability
Fire on capture after approval, and tag the payment method — Affirm orders skew to higher ticket values that will distort a blended average.
- 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.
Affirm → Amplitude · normal or broken
Working vs. broken, side by side — Affirm → Amplitude
Normal, not a fault
The user ID and device ID pair present on the order
Sent from your store's order webhook, on Affirm charge capture
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 shopper leaves for Affirm's flow, is assessed, and returns only if approved. Both the redirect and the decline create paths where nothing fires on your site.
Sent from the browser
Declines are real volume that reached checkout and produced nothing. Counting checkout starts rather than captured charges overstates performance by the decline rate.
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
Affirm → Amplitude · diagnose
Diagnostic order — Affirm → Amplitude
- 01
Count orders carrying the user ID and device ID pair
- 02
Follow one real conversion end to end
- 03
Compare Affirm checkouts started, approved and captured
The decline rate is a genuine cost of this payment method and it belongs in the report.
- 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.
Affirm → Amplitude · prove
How it gets proven — Affirm → Amplitude
Source of truth
Your store's orders financed through Affirm, cross-checked against Affirm's settlement.
- The user ID and device ID pair confirmed present on a live order.
- Revenue reconciled per transaction against your billing system, with identity merge behaviour verified across signup.
- An approved Affirm order confirmed to report and a declined one confirmed not to.
Affirm → Amplitude · free audit
What we check in the free audit
- Count orders carrying the user ID and device ID pair
- Follow one real conversion end to end
- Compare Affirm checkouts started, approved and captured
- Check a purchase event for the price and quantity fields specifically
- Read the match rate, not the success message
Checked against
Your store's orders financed through Affirm, cross-checked against Affirm's settlement.
Free30 minutesNo obligation
Affirm → Amplitude · when not to buy
When you don't need this — Affirm → Amplitude
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the user ID and device ID pair.
- If your average order value is low, Affirm is a poor fit for the payment method and the integration follows that.
- If nobody is building cohorts or retention analysis, this is a large amount of instrumentation for reporting a dashboard already gives you.
Affirm → Amplitude · what we deliver
What gets built — Affirm → Amplitude
Identifier capture into Affirm
Capture the identifier before checkout and store it on the order, so approved financing is attributable regardless of the return journey.
Event source: your store's order webhook, on Affirm charge capture
Fire on capture after approval, and tag the payment method — Affirm orders skew to higher ticket values that will distort a blended average.
Dispatch to Amplitude
The Amplitude HTTP V2 API, posted server-side with the identity, event type and properties.
Reversals where they exist
Refunds and cancelled financing both exist and should reduce the reported figure.
Written guarantee
95%+ tracking accuracy
Measured against Your store's orders financed through Affirm, cross-checked against Affirm's settlement.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Affirm → Amplitude questions, answered
Your store usually learns only of approvals, because declined or abandoning shoppers come back through the cancel path or not at all. Build a funnel from Affirm application started to order captured and read the gap as declines plus abandons; check whether your Affirm account reports declines separately.
Usually the purchase event arrives without the price and quantity fields Amplitude reads for revenue, or carries the total in a custom property it ignores. Open one captured Affirm order in the user's activity stream and check the revenue fields.
Almost always because the user ID and device ID pair never reached the Affirm charge. The shopper leaves for Affirm's flow, is assessed, and returns only if approved. Both the redirect and the decline create paths where nothing fires on your site. 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.
Your store's order webhook, on Affirm charge capture. Fire on capture after approval, and tag the payment method — Affirm orders skew to higher ticket values that will distort a blended average.
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 Affirm → Amplitude
- Affirm → Google AdsConnecting Affirm to Google Ads
- Affirm → MetaConnecting Affirm to Meta Conversions API
- Affirm → GA4Connecting Affirm to GA4
Using Affirm for bookings? How Affirm bookings get tracked end to end
RELATED GUIDES
Where Affirm → Amplitude fits in the rest of your tracking
- Mollie → AmplitudeConnecting Mollie to Amplitude
- Worldpay → AmplitudeConnecting Worldpay to Amplitude
- Splitit → AmplitudeConnecting Splitit to Amplitude
- Affirm → Adobe AnalyticsConnecting Affirm to Adobe Analytics
- Affirm → MatomoConnecting Affirm to Matomo
- SubscriptionsConversion tracking for subscription businesses, across the whole lifecycle
- Helcim → AmplitudeConnecting Helcim to Amplitude
- Adyen → AmplitudeConnecting Adyen to Amplitude
Free · 30 min
Get Affirm and Amplitude joined properly
Free30 minutesNo obligation
