Skip to main content
Klarna → AppsFlyerIntegration guide

Connecting Klarna to AppsFlyer

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. AppsFlyer exists because mobile app attribution is a different problem from web attribution, and on iOS a large share of it is now aggregated and delayed by design rather than by accident. The join between them succeeds or fails on one thing: whether the AppsFlyer device identifier, appsflyer_id reaches the Klarna order before the conversion happens, because AppsFlyer can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Klarna to AppsFlyer: in-app orders, the app switch and capture

Send in-app Klarna orders to AppsFlyer server-to-server once Klarna captures, with the AppsFlyer device identifier stored on the order at creation, revenue and currency. Make the Klarna return link reopen your app, keep revenue consistently gross or net of Klarna's fee, and share an event identifier with any SDK checkout purchase. Mobile web Klarna orders do not belong here.

AppsFlyer only cares about Klarna orders placed inside your app. Those usually involve a hop: the shopper taps Klarna, is handed to the Klarna app or a Klarna web view to approve, and must come back. If the return link is not set up to reopen your app, the shopper lands in a browser, the in-app purchase event never fires, and AppsFlyer sees an install with no revenue.

Send the purchase server-to-server from your order system once Klarna captures, with the AppsFlyer device identifier you stored on the order when it was created in the app, the revenue and the currency. Decide whether revenue is gross or net of Klarna's fee and keep that choice consistent, because AppsFlyer forwards revenue to the ad networks it postbacks to, and a mixed definition shows up in every one of them. If the SDK also logs a purchase at checkout, either drop it or give both the same event identifier, or every Klarna order counts twice.

Klarna orders placed on your mobile website do not belong here. They have no AppsFlyer device ID and no install behind them. Send those to your web destinations directly. Partial captures, where a split shipment is captured in two parts, should still produce one purchase event per order.

Klarna → AppsFlyer · what breaks

Why this join usually fails — Klarna → AppsFlyer

  1. 01

    The AppsFlyer device identifier, appsflyer_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

    Web conversions sent to a mobile attribution platform

    This is the common error and it produces confident nonsense. A purchase made on your website has no device identifier and no install behind it. AppsFlyer will either discard it or attribute it to nothing, and the revenue disappears somewhere between the two systems without anyone noticing it went.

  4. 04

    Nothing reconciles afterwards

    AppsFlyer shows the event on the raw data export with its attributed media source. Check the raw export, not the aggregate dashboard, and confirm the event carries a device identifier rather than landing as organic.

Klarna → AppsFlyer · the fix

What working looks like — Klarna → AppsFlyer

  • The AppsFlyer device identifier, appsflyer_id on every order

  • Conversions arriving in AppsFlyer

    The event is attributed to the install source, forwarded to whichever networks are configured, and appears in the cohort reporting.

  • Reconciled against the source

Klarna → AppsFlyer · architecture

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

    AppsFlyer needs a click to match

    AppsFlyer needs the device identifier and an event name it recognizes, plus the revenue value for in-app purchases. A server event about a user with no linked device cannot be attributed to an install.

  3. 3

    The identifier is the bridge

    The AppsFlyer device identifier, appsflyer_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

    AppsFlyer deduplicates in-app events by its own event identifier. Sending the same purchase from both the SDK and your server produces two events and double-counts revenue in every dashboard downstream, including the ad networks AppsFlyer forwards to.

Klarna → AppsFlyer · normal or broken

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

Normal, not a fault

  • The AppsFlyer device identifier, appsflyer_id present on the order

  • Sent from the order record at Klarna capture

  • Deduplicated correctly

    AppsFlyer deduplicates in-app events by its own event identifier. Sending the same purchase from both the SDK and your server produces two events and double-counts revenue in every dashboard downstream, including the ad networks AppsFlyer forwards to.

  • Reconciles with the source

Actually broken

  • The AppsFlyer device identifier, appsflyer_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

    This is the common error and it produces confident nonsense. A purchase made on your website has no device identifier and no install behind it. AppsFlyer will either discard it or attribute it to nothing, and the revenue disappears somewhere between the two systems without anyone noticing it went.

  • Nobody has reconciled it

Klarna → AppsFlyer · diagnose

Diagnostic order — Klarna → AppsFlyer

  1. 01

    Count orders carrying the AppsFlyer device identifier, appsflyer_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 what share of your revenue happens in the app at all

    If most purchases are on the web, AppsFlyer is not your conversion destination and the work belongs somewhere else entirely.

  5. 05

    Read the match rate, not the success message

    AppsFlyer shows the event on the raw data export with its attributed media source. Check the raw export, not the aggregate dashboard, and confirm the event carries a device identifier rather than landing as organic.

Klarna → AppsFlyer · prove

How it gets proven — Klarna → AppsFlyer

Source of truth

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

  • The AppsFlyer device identifier, appsflyer_id confirmed present on a live order.
  • In-app revenue events reconciled per transaction against your billing system, with the organic share stated rather than assumed away.
  • Captured orders reconciled net of fees against imported conversions.

Klarna → AppsFlyer · free audit

What we check in the free audit

  • Count orders carrying the AppsFlyer device identifier, appsflyer_id
  • Follow one real conversion end to end
  • Measure the approval rate and compare against your conversion count
  • Check what share of your revenue happens in the app at all
  • 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 → AppsFlyer · when not to buy

When you don't need this — Klarna → AppsFlyer

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the AppsFlyer device identifier, appsflyer_id.
  • If you fire on capture already, the decline gap does not affect you.
  • If you have no mobile app, this is not a destination for you. If you have one but sell mostly on the web, send web conversions to your ad platforms directly and use AppsFlyer only for install and in-app events.

Klarna → AppsFlyer · what we deliver

What gets built — Klarna → AppsFlyer

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

    The AppsFlyer server-to-server events API, posted from your billing system with the device identifier and revenue.

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

Usually the shopper is not returned to your app after Klarna approves, so the in-app event never fires. Send the purchase server-side on capture with the stored AppsFlyer ID instead.

Free · 30 min

Get Klarna and AppsFlyer joined properly

Free30 minutesNo obligation