Skip to main content
Adyen → GA4Integration guide

Connecting Adyen to GA4

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. GA4 is where the business goes to understand what happened, which makes an unattributed conversion there expensive in decisions rather than in ad spend. The join between them succeeds or fails on one thing: whether the GA4 client_id reaches the Adyen payment before the conversion happens, because GA4 can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Adyen to GA4: purchase events that survive redirect payment methods

Send purchase through GA4 Measurement Protocol from the AUTHORISATION notification with transaction_id set to your merchantReference, and stop the confirmation page sending it. Write the GA4 client_id and session_id into payment metadata at session creation so it attributes. Convert minor units by currency exponent, and add payment method as a custom dimension to see the redirect loss.

In GA4 the Adyen problem shows up as revenue missing by country rather than as a flat gap. A shopper who pays by iDEAL or Bancontact and never comes back to your confirmation page never fires the browser purchase event, so GA4's ecommerce reports underweight exactly the markets where those methods dominate. The fix is to send purchase from the AUTHORISATION notification through Measurement Protocol, with transaction_id set to your merchantReference, and stop the confirmation page from sending it too.

That only attributes if the GA4 client_id and session_id were written into the payment request's metadata when your server created the session, because the webhook has no browser to read the _ga cookie from. Adyen amounts arrive in minor units, so 1999 with currency EUR has to reach GA4 as 19.99, and currencies with zero or three decimals need their own exponent rather than a blanket divide by 100.

Some local methods confirm hours or days later. Measurement Protocol only accepts a backdated timestamp_micros within a short window (check the current limit; it has been 72 hours), so a bank transfer confirming after that is dated on arrival. Add payment method as an event-scoped custom dimension; it turns the redirect loss into something you can read per method in Explorations.

Adyen → GA4 · what breaks

Why this join usually fails — Adyen → GA4

  1. 01

    The GA4 client_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

    Everything lands under (direct)/(none)

    The classic Measurement Protocol symptom, and it always means the same thing: the client_id was missing or wrong, so GA4 had no session to attach the event to and invented a new user.

  4. 04

    Nothing reconciles afterwards

    GA4 DebugView shows events arriving with their parameters, and Realtime confirms the user and session they attached to. Neither tells you whether you are double-counting — for that, compare GA4's conversion count against the source system's record for the same window.

Adyen → GA4 · the fix

What working looks like — Adyen → GA4

  • The GA4 client_id on every payment

  • Conversions arriving in GA4

    Conversions appear in GA4 attributed to the original session's source and medium, so acquisition reporting reflects what actually drove revenue.

  • Reconciled against the source

Adyen → GA4 · architecture

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

    GA4 needs a click to match

    GA4 needs the client_id to attach a server event to the user and session that produced the click. Without it there is no attribution to inherit and the event is orphaned.

  3. 3

    The identifier is the bridge

    The GA4 client_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

    GA4 has no built-in deduplication for Measurement Protocol. If the browser also sends the event, it counts twice. The only reliable approach is to decide per event which side sends it, and enforce that decision — GA4 will not protect you from your own duplicates.

Adyen → GA4 · normal or broken

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

Normal, not a fault

  • The GA4 client_id present on the payment

  • Sent from the Adyen standard notification webhook

  • Deduplicated correctly

    GA4 has no built-in deduplication for Measurement Protocol. If the browser also sends the event, it counts twice. The only reliable approach is to decide per event which side sends it, and enforce that decision — GA4 will not protect you from your own duplicates.

  • Reconciles with the source

Actually broken

  • The GA4 client_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

    The classic Measurement Protocol symptom, and it always means the same thing: the client_id was missing or wrong, so GA4 had no session to attach the event to and invented a new user.

  • Nobody has reconciled it

Adyen → GA4 · diagnose

Diagnostic order — Adyen → GA4

  1. 01

    Count payments carrying the GA4 client_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

    Check whether server events carry a session and a source

    In GA4 Realtime or DebugView, find the event and look at its session and traffic source. A brand-new user with no source on every server event is the missing-client_id signature.

  5. 05

    Read the match rate, not the success message

    GA4 DebugView shows events arriving with their parameters, and Realtime confirms the user and session they attached to. Neither tells you whether you are double-counting — for that, compare GA4's conversion count against the source system's record for the same window.

Adyen → GA4 · prove

How it gets proven — Adyen → GA4

Source of truth

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

  • The GA4 client_id confirmed present on a live payment.
  • Server events confirmed in DebugView attaching to an existing session with the original traffic source intact.
  • A payment made with a redirect method, abandoned at the return step, confirmed to still report.

Adyen → GA4 · free audit

What we check in the free audit

  • Count payments carrying the GA4 client_id
  • Follow one real conversion end to end
  • Compare authorised payments against confirmation-page loads by payment method
  • Check whether server events carry a session and a source
  • 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 → GA4 · when not to buy

When you don't need this — Adyen → GA4

  • Measure identifier coverage yourself first — pull your last hundred payments and count how many carry the GA4 client_id.
  • If you sell in one market on cards only, most of Adyen's complexity does not apply and a simpler approach is fine.
  • GA4 is reporting, not bidding. If your problem is ad platform optimization, fix the ad platform destination first — GA4 will not change what any campaign does.

Adyen → GA4 · what we deliver

What gets built — Adyen → GA4

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

    Measurement Protocol events with the client_id, session_id and the correct measurement ID and API secret, sent server-side.

  • 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 → GA4 questions, answered

Usually because purchase fires from the confirmation page and redirect-method shoppers never return to it. Compare by payment method; if the gap sits in iDEAL, Klarna or wallets, move the event to the notification webhook.

Free · 30 min

Get Adyen and GA4 joined properly

Free30 minutesNo obligation