Skip to main content
Adyen → AmplitudeIntegration guide

Connecting Adyen to Amplitude

Adyen is enterprise payments across many countries and methods at once, which makes its strength — breadth of local payment methods — the thing that complicates measurement. 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 Adyen payment 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

Adyen to Amplitude: revenue events that survive bank redirects

Write the Amplitude device ID and user ID into Adyen payment request metadata when the session is created, then send the purchase server-side on AUTHORISATION success with price, quantity and revenue in decimal units. That keeps bank-redirect shoppers on their Amplitude user. Send refunds as negative revenue events, with insert_id from pspReference plus eventCode.

The record that matters is the Adyen notification, and the identity that matters is the Amplitude device ID and user ID that were live in the browser when the payment session was created. Write both into the payment request metadata (and your own user ID into shopperReference for logged-in shoppers), so that when an iDEAL or Klarna shopper never returns from their bank, the server-side event still lands on the same Amplitude user instead of creating a new anonymous one with no history.

Send the purchase from your server on AUTHORISATION success with price, quantity and revenue populated, since those are the fields Amplitude's revenue charts read. Adyen gives you amount.value in minor units and amount.currency; convert to a decimal using the currency's exponent before sending. If you sell in several currencies, decide whether Amplitude holds a normalized USD figure or the local amount with currency as a property, and confirm in your project how mixed currencies are displayed. Summing euros and dollars into one revenue line is a common silent error.

Adyen sends REFUND, CANCELLATION and CHARGEBACK as separate notifications carrying the original pspReference. Amplitude's revenue model accepts a refund as a revenue event with a negative price; confirm the exact fields for the API you use. Build insert_id from pspReference plus eventCode so a notification Adyen retries does not post a second refund. Chargebacks arriving weeks later belong on the original user's timeline, which only works if the user ID was stored with the payment at the start.

Adyen → Amplitude · what breaks

Why this join usually fails — Adyen → Amplitude

  1. 01

    The user ID and device ID pair never reaches Adyen

    Many of Adyen's local payment methods redirect the shopper away — iDEAL, Bancontact, Klarna, various wallets — and a share never return to your confirmation page. Anything page-based loses exactly the payment methods that dominate in some markets.

  2. 02

    Local payment methods that redirect away

    In several European markets the dominant method sends the shopper to a bank or wallet and a real share never come back. Page-based tracking loses them entirely and the loss is concentrated in specific countries.

  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.

Adyen → Amplitude · the fix

What working looks like — Adyen → Amplitude

  • The user ID and device ID pair on every payment

  • 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

Adyen → Amplitude · architecture

How Adyen and Amplitude actually connect

  1. 1

    Adyen holds the truth

    Adyen separates authorisation, capture and settlement, and runs multiple merchant accounts across regions. Which account and which state a number came from has to be stated or the figures will never reconcile.

  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 Adyen payment.

  4. 4

    The event source decides reliability

    Fire on AUTHORISATION success with capture confirmed, from your server. Redirect-based methods mean the confirmation page is not a reliable trigger in this stack.

  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.

Adyen → Amplitude · normal or broken

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

Normal, not a fault

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

  • Sent from the Adyen standard notification webhook

  • 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

    Many of Adyen's local payment methods redirect the shopper away — iDEAL, Bancontact, Klarna, various wallets — and a share never return to your confirmation page. Anything page-based loses exactly the payment methods that dominate in some markets.

  • Sent from the browser

    In several European markets the dominant method sends the shopper to a bank or wallet and a real share never come back. Page-based tracking loses them entirely and the loss is concentrated in specific countries.

  • 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

Adyen → Amplitude · diagnose

Diagnostic order — Adyen → Amplitude

  1. 01

    Count payments carrying the user ID and device ID pair

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare authorised payments against confirmation-page loads by payment method

    The gap will be concentrated in the redirect methods, which tells you both the size of the problem and where it is.

  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.

Adyen → Amplitude · prove

How it gets proven — Adyen → Amplitude

Source of truth

Adyen's settled payments by settlement date, per merchant account and currency.

  • The user ID and device ID pair confirmed present on a live payment.
  • Revenue reconciled per transaction against your billing system, with identity merge behaviour verified across signup.
  • A payment made with a redirect method, abandoned at the return step, confirmed to still report.

Adyen → Amplitude · free audit

What we check in the free audit

  • Count payments carrying the user ID and device ID pair
  • Follow one real conversion end to end
  • Compare authorised payments against confirmation-page loads by payment method
  • Check a purchase event for the price and quantity fields specifically
  • Read the match rate, not the success message

Checked against

Adyen's settled payments by settlement date, per merchant account and currency.

Get my free conversion tracking audit

Free30 minutesNo obligation

Adyen → Amplitude · when not to buy

When you don't need this — Adyen → Amplitude

  • Measure identifier coverage yourself first — pull your last hundred payments and count how many carry the user ID and device ID pair.
  • If you sell in one market on cards only, most of Adyen's complexity does not apply and a simpler approach is fine.
  • If nobody is building cohorts or retention analysis, this is a large amount of instrumentation for reporting a dashboard already gives you.

Adyen → Amplitude · what we deliver

What gets built — Adyen → Amplitude

  • Identifier capture into Adyen

    Pass the click identifier in the payment request's metadata or shopper reference when your server creates the payment session, so it survives the redirect and reaches the webhook.

  • Event source: the Adyen standard notification webhook

    Fire on AUTHORISATION success with capture confirmed, from your server. Redirect-based methods mean the confirmation page is not a reliable trigger in this stack.

  • Dispatch to Amplitude

    The Amplitude HTTP V2 API, posted server-side with the identity, event type and properties.

  • Reversals where they exist

    Refunds, cancellations and chargebacks all arrive as notifications carrying the original reference.

Written guarantee

95%+ tracking accuracy

Measured against Adyen's settled payments by settlement date, per merchant account and currency.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Adyen → Amplitude questions, answered

The server event was sent without the device ID or user ID from the browser session. Pass them in the payment request metadata at session creation so they come back on the notification.

Free · 30 min

Get Adyen and Amplitude joined properly

Free30 minutesNo obligation