Connecting PayPal to Amplitude
PayPal holds the settled transaction, and it is frequently the payment method that reports worst. 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 PayPal transaction 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
PayPal revenue in Amplitude: store the device ID before the redirect
PayPal's capture webhook carries no Amplitude identity, so store the Amplitude device ID and user ID on your order before redirecting. On PAYMENT.CAPTURE.COMPLETED, look up the order by custom_id or invoice_id and send revenue with price and quantity, using the capture ID as insert_id. Send PAYMENT.CAPTURE.REFUNDED as negative revenue.
Amplitude cares less about the lost confirmation page than about who paid. The PAYMENT.CAPTURE.COMPLETED webhook carries an amount, a currency and your reference in custom_id or invoice_id. It carries no Amplitude identity at all. Before the buyer is sent to PayPal, store the Amplitude device ID, and the user ID if they're logged in, on your order record. When the webhook arrives, look up the order by that reference and send the revenue event with the same IDs. Skip that step and every PayPal buyer who didn't return becomes a new, revenue-only user.
Send revenue with price and quantity set from your order lines, not just the capture total. Otherwise Amplitude's revenue charts stay empty while the events flow. Use the PayPal capture ID as insert_id, since PayPal retries webhooks until you acknowledge them.
Refunds come through PAYMENT.CAPTURE.REFUNDED with the same reference. Send them as negative revenue on the same user so lifetime value per cohort stays honest. Product teams will also want payment method as a property, because PayPal buyers often behave differently in retention charts, and that difference is real, not a tracking artifact.
PayPal → Amplitude · what breaks
Why this join usually fails — PayPal → Amplitude
- 01
The user ID and device ID pair never reaches PayPal
The classic PayPal flow bounces the buyer to paypal.com and back. If the buyer abandons the return, your site never runs the thank-you page and never fires anything, but PayPal has already taken the money. This is why PayPal-heavy stores routinely under-report: the sale is real and the tracking event does not exist.
- 02
The buyer never comes back from PayPal
Money moves, the confirmation page never loads, and the conversion is invisible. It is the single biggest reason PayPal-heavy stores see paid channels look worse than they are.
- 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.
PayPal → Amplitude · the fix
What working looks like — PayPal → Amplitude
The user ID and device ID pair on every transaction
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
PayPal → Amplitude · architecture
How PayPal and Amplitude actually connect
- 1
PayPal holds the truth
The transaction record carries the amount, currency and a transaction ID. It is also the record that survives when the buyer is redirected out to PayPal and never returns to your confirmation page.
- 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 PayPal transaction.
- 4
The event source decides reliability
Listen for PAYMENT.CAPTURE.COMPLETED and send from your server. Firing on the return URL loses every buyer who closes the tab at PayPal, which is a much larger share than most merchants expect.
- 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.
PayPal → Amplitude · normal or broken
Working vs. broken, side by side — PayPal → Amplitude
Normal, not a fault
The user ID and device ID pair present on the transaction
Sent from the PayPal webhook (or your order record when the IPN lands)
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 classic PayPal flow bounces the buyer to paypal.com and back. If the buyer abandons the return, your site never runs the thank-you page and never fires anything, but PayPal has already taken the money. This is why PayPal-heavy stores routinely under-report: the sale is real and the tracking event does not exist.
Sent from the browser
Money moves, the confirmation page never loads, and the conversion is invisible. It is the single biggest reason PayPal-heavy stores see paid channels look worse than they are.
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
PayPal → Amplitude · diagnose
Diagnostic order — PayPal → Amplitude
- 01
Count transactions carrying the user ID and device ID pair
- 02
Follow one real conversion end to end
- 03
Compare completed PayPal transactions against confirmation-page loads
For the same day. The gap between the two is the share of PayPal revenue your browser-side setup is structurally unable to see.
- 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.
PayPal → Amplitude · prove
How it gets proven — PayPal → Amplitude
Source of truth
PayPal's Activity report, filtered to completed payments for the same window.
- The user ID and device ID pair confirmed present on a live transaction.
- Revenue reconciled per transaction against your billing system, with identity merge behaviour verified across signup.
- A PayPal order where the buyer never returned to the site, confirmed to have reported anyway.
PayPal → Amplitude · free audit
What we check in the free audit
- Count transactions carrying the user ID and device ID pair
- Follow one real conversion end to end
- Compare completed PayPal transactions against confirmation-page loads
- Check a purchase event for the price and quantity fields specifically
- Read the match rate, not the success message
Checked against
PayPal's Activity report, filtered to completed payments for the same window.
Free30 minutesNo obligation
PayPal → Amplitude · when not to buy
When you don't need this — PayPal → Amplitude
- Measure identifier coverage yourself first — pull your last hundred transactions and count how many carry the user ID and device ID pair.
- If PayPal is under a few percent of your orders, fixing the whole flow may not move a decision. Measure the share first.
- If nobody is building cohorts or retention analysis, this is a large amount of instrumentation for reporting a dashboard already gives you.
PayPal → Amplitude · what we deliver
What gets built — PayPal → Amplitude
Identifier capture into PayPal
Capture the click identifier before checkout and store it against the order in your own database, keyed by the PayPal order ID. PayPal's own custom_id / invoice_id fields can carry your order reference so the two records can always be re-joined server-side.
Event source: the PayPal webhook (or your order record when the IPN lands)
Listen for PAYMENT.CAPTURE.COMPLETED and send from your server. Firing on the return URL loses every buyer who closes the tab at PayPal, which is a much larger share than most merchants expect.
Dispatch to Amplitude
The Amplitude HTTP V2 API, posted server-side with the identity, event type and properties.
Reversals where they exist
PAYMENT.CAPTURE.REFUNDED and the dispute webhooks exist and carry the same reference, so reversals can be wired properly.
Written guarantee
95%+ tracking accuracy
Measured against PayPal's Activity report, filtered to completed payments for the same window.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
PayPal → Amplitude questions, answered
Store the Amplitude device and user IDs on your order before redirecting to PayPal, then send a revenue event from the PAYMENT.CAPTURE.COMPLETED webhook with those IDs and the capture ID as insert_id.
The server event had no device or user ID from the buyer's session. Save them against the order before the PayPal redirect.
Almost always because the user ID and device ID pair never reached the PayPal transaction. The classic PayPal flow bounces the buyer to paypal.com and back. If the buyer abandons the return, your site never runs the thank-you page and never fires anything, but PayPal has already taken the money. This is why PayPal-heavy stores routinely under-report: the sale is real and the tracking event does not exist. 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 PayPal webhook (or your order record when the IPN lands). Listen for PAYMENT.CAPTURE.COMPLETED and send from your server. Firing on the return URL loses every buyer who closes the tab at PayPal, which is a much larger share than most merchants expect.
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 PayPal → Amplitude
- PayPal → GA4Connecting PayPal to GA4
- PayPal → Google AdsConnecting PayPal to Google Ads
- PayPal → MetaConnecting PayPal to Meta Conversions API
Using PayPal for bookings? How PayPal bookings get tracked end to end
RELATED GUIDES
Where PayPal → Amplitude fits in the rest of your tracking
- Stripe → AmplitudeConnecting Stripe to Amplitude
- Stripe Billing → AmplitudeConnecting Stripe Billing to Amplitude
- PayPal → PostHogConnecting PayPal to PostHog
- PayPal → GA4Connecting PayPal to GA4
- SubscriptionsConversion tracking for subscription businesses, across the whole lifecycle
- Stripe Billing → Adobe AnalyticsConnecting Stripe Billing to Adobe Analytics
- Stripe Billing → PostHogConnecting Stripe Billing to PostHog
- Stripe → MixpanelConnecting Stripe to Mixpanel
Free · 30 min
Get PayPal and Amplitude joined properly
Free30 minutesNo obligation
