Skip to main content
Klaviyo → AppsFlyerIntegration guide

Connecting Klaviyo to AppsFlyer

Klaviyo holds the profile, the email engagement and — where it is wired to your store — the order. 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 Klaviyo profile 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

Klaviyo and AppsFlyer: send install source to Klaviyo, not orders back

Klaviyo events cannot be posted to AppsFlyer, because profiles carry no AppsFlyer device ID. Run it the other way: when users sign in to the app, write the AppsFlyer media source and campaign onto the Klaviyo profile to segment email and SMS by acquisition channel. Test OneLink email links on real devices, since click tracking can break app links.

A Klaviyo profile has no AppsFlyer device ID on it, so Klaviyo events posted to AppsFlyer's server-to-server API have nothing to attach to. Web orders mirrored into Klaviyo are worse: they would either be discarded or credited to installs they had nothing to do with, and AppsFlyer would forward that revenue on to the ad networks it postbacks to.

The useful flow runs the other way. When a user signs in to the app, your backend knows their user ID, their email and the media source AppsFlyer attributed their install to. Writing that media source and campaign onto the Klaviyo profile lets you segment email and SMS by acquisition channel, and see whether installs bought on a given network ever open an email or place a second order.

The second place this pair meets is email links that should open the app. Klaviyo rewrites links through its click-tracking domain, and that redirect can stop iOS universal links and Android app links from opening the app, so the user lands on the mobile web instead and any deep link context is lost. If you route email traffic through an AppsFlyer OneLink, check how AppsFlyer documents email click-tracking domains and test on a real device with the app installed and with it uninstalled.

Klaviyo → AppsFlyer · what breaks

Why this join usually fails — Klaviyo → AppsFlyer

  1. 01

    The AppsFlyer device identifier, appsflyer_id never reaches Klaviyo

    Klaviyo identifies profiles by email, which the visitor supplies at signup — often long before or long after the ad click. If the identifier is not written to a profile property at the moment of signup, there is no way to reconstruct which click created the profile.

  2. 02

    Klaviyo is a mirror, not the system of record

    Order data in Klaviyo arrives via a sync. Sending revenue from the mirror rather than the source adds a delay and a class of discrepancy that is genuinely hard to debug later.

  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.

Klaviyo → AppsFlyer · the fix

What working looks like — Klaviyo → AppsFlyer

  • The AppsFlyer device identifier, appsflyer_id on every profile

  • 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

Klaviyo → AppsFlyer · architecture

How Klaviyo and AppsFlyer actually connect

  1. 1

    Klaviyo holds the truth

    Klaviyo profiles are identity-first: the email address is the key. That makes it a natural place to hold an identifier across sessions and devices, and an awkward place to source purchase events, because Klaviyo's order data is a mirror of the store's rather than the original.

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

  4. 4

    The event source decides reliability

    Send from a flow webhook on the metric you care about, or read events through the API. Sourcing purchases from Klaviyo rather than the store adds a hop and a sync delay — prefer the store when the store is available.

  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.

Klaviyo → AppsFlyer · normal or broken

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

Normal, not a fault

  • The AppsFlyer device identifier, appsflyer_id present on the profile

  • Sent from the Klaviyo Events API, or a flow webhook

  • 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

    Klaviyo identifies profiles by email, which the visitor supplies at signup — often long before or long after the ad click. If the identifier is not written to a profile property at the moment of signup, there is no way to reconstruct which click created the profile.

  • Sent from the browser

    Order data in Klaviyo arrives via a sync. Sending revenue from the mirror rather than the source adds a delay and a class of discrepancy that is genuinely hard to debug later.

  • 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

Klaviyo → AppsFlyer · diagnose

Diagnostic order — Klaviyo → AppsFlyer

  1. 01

    Count profiles carrying the AppsFlyer device identifier, appsflyer_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether the profile carries the identifier property

    On profiles created during a paid campaign. Then confirm the signup path writes it, not just the ones created manually or by import.

  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.

Klaviyo → AppsFlyer · prove

How it gets proven — Klaviyo → AppsFlyer

Source of truth

Klaviyo's own metric reports for the same window, cross-checked against the store's order records.

  • The AppsFlyer device identifier, appsflyer_id confirmed present on a live profile.
  • In-app revenue events reconciled per transaction against your billing system, with the organic share stated rather than assumed away.
  • Klaviyo's counts reconciled against the store's order records before either is used as evidence.

Klaviyo → AppsFlyer · free audit

What we check in the free audit

  • Count profiles carrying the AppsFlyer device identifier, appsflyer_id
  • Follow one real conversion end to end
  • Check whether the profile carries the identifier property
  • Check what share of your revenue happens in the app at all
  • Read the match rate, not the success message

Checked against

Klaviyo's own metric reports for the same window, cross-checked against the store's order records.

Get my free conversion tracking audit

Free30 minutesNo obligation

Klaviyo → AppsFlyer · when not to buy

When you don't need this — Klaviyo → AppsFlyer

  • Measure identifier coverage yourself first — pull your last hundred profiles and count how many carry the AppsFlyer device identifier, appsflyer_id.
  • For revenue events, use your store as the source rather than Klaviyo. Use this integration for the audience and engagement side, which is what Klaviyo is actually authoritative about.
  • 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.

Klaviyo → AppsFlyer · what we deliver

What gets built — Klaviyo → AppsFlyer

  • Identifier capture into Klaviyo

    Write the click identifier to a custom profile property at signup, and update it on subsequent identified sessions so the most recent paid touch is available.

  • Event source: the Klaviyo Events API, or a flow webhook

    Send from a flow webhook on the metric you care about, or read events through the API. Sourcing purchases from Klaviyo rather than the store adds a hop and a sync delay — prefer the store when the store is available.

  • 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

    Klaviyo mirrors refunds from the store where the integration supports it, but treat the store as authoritative for anything financial.

Written guarantee

95%+ tracking accuracy

Measured against Klaviyo's own metric reports for the same window, cross-checked against the store's order records.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Klaviyo → AppsFlyer questions, answered

No. Klaviyo profiles carry no AppsFlyer device identifier, so the events cannot be tied to an install. Send in-app purchases from the app SDK or your billing system with the device ID.

Free · 30 min

Get Klaviyo and AppsFlyer joined properly

Free30 minutesNo obligation