Skip to main content
Adyen → MixpanelIntegration guide

Connecting Adyen to Mixpanel

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. Mixpanel is a product analytics tool, not an ad platform, which means it has no attribution model of its own and will faithfully report whatever event schema you give it — including a bad one. The join between them succeeds or fails on one thing: whether the distinct_id reaches the Adyen payment before the conversion happens, because Mixpanel can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Adyen to Mixpanel: one distinct_id across the bank redirect

Write the Mixpanel SDK's distinct_id into Adyen payment metadata when your server creates the session, then send the purchase from the notification with it, so bank-app redirects stay on one profile. Add paymentMethod as a property for per-method funnels, build $insert_id from pspReference plus eventCode, convert minor units, and keep currency as a property.

For Mixpanel the question is whose profile the payment lands on. A shopper who starts checkout on a phone, gets sent to a banking app for iDEAL or Bancontact, and finishes there comes back, if at all, in a different browser context with a different anonymous ID. Write the distinct_id the Mixpanel SDK is using into the Adyen payment metadata when your server creates the session, and send the purchase from the notification with that value. The payment then sits at the end of the funnel that produced it.

Mixpanel funnels are where payment-method drop-off becomes visible, so send the method too. The notification carries paymentMethod, and a property such as payment_method = ideal lets you build checkout started, redirected, authorised per method and per country. That is the analysis Adyen's breadth of local methods makes necessary, and no ad platform will do it for you.

Use an $insert_id built from pspReference plus eventCode, because Adyen re-sends notifications until you acknowledge them and a slow handler produces duplicates. Send declined authorisations as their own event if decline rates matter to you, never under the purchase name. Convert amount.value from minor units before writing revenue and keep currency as a property; Mixpanel will sum yen and dollars into one meaningless figure if you let it.

Adyen → Mixpanel · what breaks

Why this join usually fails — Adyen → Mixpanel

  1. 01

    The distinct_id 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

    One event schema, two teams, no agreement

    Marketing names an event Purchase, the product team names it purchase_completed, and both are sent. Mixpanel treats them as unrelated, every funnel silently splits, and two teams spend a quarter arguing about which number is right when both are.

  4. 04

    Nothing reconciles afterwards

    Mixpanel shows events in the live view within moments. Check that the distinct_id matches the signed-in user rather than a lingering anonymous ID, because that is the failure that quietly breaks every cross-signup funnel.

Adyen → Mixpanel · the fix

What working looks like — Adyen → Mixpanel

  • The distinct_id on every payment

  • Conversions arriving in Mixpanel

    The event lands on the user profile and becomes available in funnels, retention and cohort analysis.

  • Reconciled against the source

Adyen → Mixpanel · architecture

How Adyen and Mixpanel 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

    Mixpanel needs a click to match

    Mixpanel needs a distinct_id, an event name and its properties. Events without a distinct_id are rejected; events with the wrong one land on a stranger's profile.

  3. 3

    The identifier is the bridge

    The distinct_id, 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

    Mixpanel deduplicates on $insert_id within a time window. Without it, a retried server request creates a second event, and because Mixpanel is where product decisions get made, that inflation ends up in a roadmap rather than in an ad report.

Adyen → Mixpanel · normal or broken

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

Normal, not a fault

  • The distinct_id present on the payment

  • Sent from the Adyen standard notification webhook

  • Deduplicated correctly

    Mixpanel deduplicates on $insert_id within a time window. Without it, a retried server request creates a second event, and because Mixpanel is where product decisions get made, that inflation ends up in a roadmap rather than in an ad report.

  • Reconciles with the source

Actually broken

  • The distinct_id 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

    Marketing names an event Purchase, the product team names it purchase_completed, and both are sent. Mixpanel treats them as unrelated, every funnel silently splits, and two teams spend a quarter arguing about which number is right when both are.

  • Nobody has reconciled it

Adyen → Mixpanel · diagnose

Diagnostic order — Adyen → Mixpanel

  1. 01

    Count payments carrying the distinct_id

  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

    List every event name in the project and look for near-duplicates

    Case differences, tense differences and synonyms are the usual finding, and they are cheap to fix before a year of data is built on them.

  5. 05

    Read the match rate, not the success message

    Mixpanel shows events in the live view within moments. Check that the distinct_id matches the signed-in user rather than a lingering anonymous ID, because that is the failure that quietly breaks every cross-signup funnel.

Adyen → Mixpanel · prove

How it gets proven — Adyen → Mixpanel

Source of truth

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

  • The distinct_id confirmed present on a live payment.
  • Purchase events reconciled per transaction against your billing system, with identity aliasing verified across the signup boundary.
  • A payment made with a redirect method, abandoned at the return step, confirmed to still report.

Adyen → Mixpanel · free audit

What we check in the free audit

  • Count payments carrying the distinct_id
  • Follow one real conversion end to end
  • Compare authorised payments against confirmation-page loads by payment method
  • List every event name in the project and look for near-duplicates
  • 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 → Mixpanel · when not to buy

When you don't need this — Adyen → Mixpanel

  • Measure identifier coverage yourself first — pull your last hundred payments and count how many carry the distinct_id.
  • If you sell in one market on cards only, most of Adyen's complexity does not apply and a simpler approach is fine.
  • If you already have the same events in a warehouse and nobody is running product analysis on them, adding Mixpanel adds a second source of truth rather than an answer.

Adyen → Mixpanel · what we deliver

What gets built — Adyen → Mixpanel

  • 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 Mixpanel

    The Mixpanel ingestion API, posted server-side from your backend with the distinct_id and event 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 → Mixpanel questions, answered

Pass the browser's distinct_id into the payment request metadata and send the server event with it. For logged-in shoppers, use your own user ID, which should already be identified in Mixpanel.

Free · 30 min

Get Adyen and Mixpanel joined properly

Free30 minutesNo obligation