Skip to main content
Klarna → AmplitudeIntegration guide

Connecting Klarna to Amplitude

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

Klarna to Amplitude: revenue at capture, in dollars not cents

Convert Klarna's minor-unit amounts before Amplitude sees them, or cohorts read a hundred times too high. Send a checkout completed event at Klarna authorization and a revenue event at capture with price and quantity per line. Write Amplitude device and user IDs onto the order before Klarna's flow, and send refunds as negative revenue.

Amplitude's revenue reporting reads price and quantity, and Klarna stores every amount in minor units: a $49.00 order line is 4900. Pass that through untouched and every cohort is worth a hundred times too much. That is the first check for this pair, before identity or timing.

The second is which moment counts. Klarna gives you an authorization (the shopper was approved), the order you create, and a capture when you ship. For product analysis the useful split is two events: a checkout completed event when Klarna returns the authorization, and a revenue event at capture with price and quantity per order line. Funnels then show how many approved Klarna checkouts never ship and how approval rate varies with cart size, which is the kind of question Amplitude answers well.

Identity is the hazard. Order creation and capture both happen server-side, where there is no device ID unless you put one there. Write the Amplitude device ID and user ID onto your order record before the shopper enters Klarna's flow, and post the capture event against those, never against a fresh ID. Refunds go in as a negative revenue event at the refunded amount, also converted from minor units, with an insert_id built from the refund reference.

Klarna → Amplitude · what breaks

Why this join usually fails — Klarna → Amplitude

  1. 01

    The user ID and device ID pair 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

    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.

Klarna → Amplitude · the fix

What working looks like — Klarna → Amplitude

  • The user ID and device ID pair on every order

  • 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

Klarna → Amplitude · architecture

How Klarna and Amplitude 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

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

    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.

Klarna → Amplitude · normal or broken

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

Normal, not a fault

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

  • Sent from the order record at Klarna capture

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

    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

Klarna → Amplitude · diagnose

Diagnostic order — Klarna → Amplitude

  1. 01

    Count orders carrying the user ID and device ID pair

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

Klarna → Amplitude · prove

How it gets proven — Klarna → Amplitude

Source of truth

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

  • The user ID and device ID pair confirmed present on a live order.
  • Revenue reconciled per transaction against your billing system, with identity merge behaviour verified across signup.
  • Captured orders reconciled net of fees against imported conversions.

Klarna → Amplitude · free audit

What we check in the free audit

  • Count orders carrying the user ID and device ID pair
  • Follow one real conversion end to end
  • Measure the approval rate and compare against your conversion count
  • Check a purchase event for the price and quantity fields specifically
  • 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 → Amplitude · when not to buy

When you don't need this — Klarna → Amplitude

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the user ID and device ID pair.
  • If you fire on capture already, the decline gap does not affect you.
  • If nobody is building cohorts or retention analysis, this is a large amount of instrumentation for reporting a dashboard already gives you.

Klarna → Amplitude · what we deliver

What gets built — Klarna → Amplitude

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

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

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

Klarna amounts are in minor units, so $49.00 arrives as 4900. Divide by the currency's minor-unit factor before setting price.

Free · 30 min

Get Klarna and Amplitude joined properly

Free30 minutesNo obligation