Skip to main content
Klarna → GA4Integration guide

Connecting Klarna to GA4

Klarna approves the shopper and takes on the credit risk, which means an order can be placed and then declined at the approval step — after the customer thought they had bought. 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 Klarna order 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

Klarna to GA4: purchase on capture, declines in the funnel

Send the GA4 purchase from the server at Klarna capture, with the order number as transaction_id and the client_id stored on the order before the Klarna handoff. Measurement Protocol rejects timestamps over 72 hours old, so send at capture time, or at approval with refunds for cancellations. Send add_payment_info with payment_type Klarna to see the approval gap.

A Klarna order has three moments that matter to GA4: the shopper chooses Klarna, Klarna approves or declines, and the merchant captures, often when the order ships. The browser purchase tag usually fires on the confirmation page, which can be before approval is final. Send purchase from the server at capture instead, with the order number as transaction_id and the client_id stored on the order before the handoff.

Capture timing collides with a Measurement Protocol limit: GA4 accepts timestamps no more than 72 hours old. If you capture on shipment and fulfilment takes a week, send the event at capture time without backdating, or send purchase at approval and a refund event for orders that are later cancelled. Pick one model and keep it for every Klarna order so revenue is comparable month to month.

GA4 is also the easiest place to see the approval gap. Send add_payment_info with payment_type set to Klarna when the shopper picks it, then compare that count with captured Klarna purchases. The difference is declines plus abandonment inside Klarna's flow, which no ad platform will show you.

Klarna → GA4 · what breaks

Why this join usually fails — Klarna → GA4

  1. 01

    The GA4 client_id never reaches Klarna

    The checkout hands off to Klarna's hosted flow and returns, and approval happens on Klarna's side.

  2. 02

    Firing before Klarna approves

    An order fired at checkout that Klarna then declines is a conversion that never happened. On categories with lower approval rates the gap is material and it is entirely invisible in the ad platform.

  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.

Klarna → GA4 · the fix

What working looks like — Klarna → GA4

  • The GA4 client_id on every order

  • 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

Klarna → GA4 · architecture

How Klarna and GA4 actually connect

  1. 1

    Klarna holds the truth

    Klarna runs its own approval. A declined shopper produces an abandoned order that can look like a completed one depending on where in the flow the conversion fires.

  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 Klarna order.

  4. 4

    The event source decides reliability

    Send captured orders at the amount you actually receive after Klarna's fee.

  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.

Klarna → GA4 · normal or broken

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

Normal, not a fault

  • The GA4 client_id present on the order

  • Sent from the order record at Klarna capture

  • 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

    The checkout hands off to Klarna's hosted flow and returns, and approval happens on Klarna's side.

  • Sent from the browser

    An order fired at checkout that Klarna then declines is a conversion that never happened. On categories with lower approval rates the gap is material and it is entirely invisible in the ad platform.

  • 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

Klarna → GA4 · diagnose

Diagnostic order — Klarna → GA4

  1. 01

    Count orders carrying the GA4 client_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Measure the approval rate and compare against your conversion count

    If conversions exceed captured orders, declines are being counted.

  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.

Klarna → GA4 · prove

How it gets proven — Klarna → GA4

Source of truth

Klarna orders that were actually approved and captured, not orders attempted.

  • The GA4 client_id confirmed present on a live order.
  • Server events confirmed in DebugView attaching to an existing session with the original traffic source intact.
  • Captured orders reconciled net of fees against imported conversions.

Klarna → GA4 · free audit

What we check in the free audit

  • Count orders carrying the GA4 client_id
  • Follow one real conversion end to end
  • Measure the approval rate and compare against your conversion count
  • Check whether server events carry a session and a source
  • Read the match rate, not the success message

Checked against

Klarna orders that were actually approved and captured, not orders attempted.

Get my free conversion tracking audit

Free30 minutesNo obligation

Klarna → GA4 · when not to buy

When you don't need this — Klarna → GA4

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the GA4 client_id.
  • If you fire on capture already, the decline gap does not affect you.
  • 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.

Klarna → GA4 · what we deliver

What gets built — Klarna → GA4

  • Identifier capture into Klarna

    Capture on your own domain, persist through the handoff, and fire the conversion on capture rather than on order creation.

  • Event source: the order record at Klarna capture

    Send captured orders at the amount you actually receive after Klarna's fee.

  • 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 and returns reverse. Klarna's shopper base returns at above-average rates on some categories.

Written guarantee

95%+ tracking accuracy

Measured against Klarna orders that were actually approved and captured, not orders attempted.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Klarna → GA4 questions, answered

On capture, or on approval with refunds for orders that never capture. Firing on the confirmation page counts declined shoppers as revenue.

Free · 30 min

Get Klarna and GA4 joined properly

Free30 minutesNo obligation