Skip to main content
mParticle → AppsFlyerIntegration guide

Connecting mParticle to AppsFlyer

mParticle is built around mobile identity resolution, which is the hard case — an app install severs the browser cookie, and stitching the two sides is the entire value proposition. 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 mParticle user event 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

mParticle and AppsFlyer: one purchase path, not kit plus server

With the AppsFlyer kit inside mParticle, in-app purchases already reach AppsFlyer from the device, so pick device or server for each event and switch the other off. Server-side events need the appsflyer_id stored on the known mParticle profile. Send only App Store, Google Play and in-app billing transactions with currency, keep web revenue out, and report store refunds.

This is the pairing mParticle is often bought for, and it fails in a predictable way. With the AppsFlyer kit running inside the mParticle SDK, in-app purchases already reach AppsFlyer from the device. Add a server-side purchase from your billing system for accuracy and AppsFlyer receives two events for one sale, then posts both revenue figures to every network it forwards to. Decide per event whether the device or the server reports it, and switch the other path off.

Server-side events need the appsflyer_id that AppsFlyer assigned on the device. Confirm it is being stored on the mParticle profile (check how your kit version exposes it), and that it sits on the known user after login, not stranded on the anonymous profile that existed before IDSync identified them. A user with two devices has two AppsFlyer IDs; send each purchase against the device it happened on.

Keep web revenue out. mParticle readily resolves a web purchase to the same person as an app user, which makes it tempting to forward it to AppsFlyer as an in-app event. It has no install behind it and will distort cohort revenue. Send AppsFlyer the App Store, Google Play and in-app billing transactions only, with currency, and report refunds from the store notifications.

mParticle → AppsFlyer · what breaks

Why this join usually fails — mParticle → AppsFlyer

  1. 01

    The AppsFlyer device identifier, appsflyer_id never reaches mParticle

    The web-to-app transition. A user clicks an ad in a browser, installs the app and converts inside it, and nothing carries across without deliberate deferred-deep-link handling.

  2. 02

    Identity merge rules quietly setting your conversion count

    Merge too aggressively and two people become one customer. Merge too conservatively and one customer becomes three conversions. Neither failure announces itself and both change the number your bidding runs on.

  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.

mParticle → AppsFlyer · the fix

What working looks like — mParticle → AppsFlyer

  • The AppsFlyer device identifier, appsflyer_id on every event

  • 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

mParticle → AppsFlyer · architecture

How mParticle and AppsFlyer actually connect

  1. 1

    mParticle holds the truth

    Identity resolution decides which events belong to which person, and the merge rules you configure directly determine your conversion counts. Get them wrong and you either duplicate people or collapse strangers together.

  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 mParticle user event.

  4. 4

    The event source decides reliability

    Send settled transactions from the resolved profile, with platform noted, so web and app performance stay distinguishable.

  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.

mParticle → AppsFlyer · normal or broken

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

Normal, not a fault

  • The AppsFlyer device identifier, appsflyer_id present on the event

  • Sent from the mParticle server-side feed

  • 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 web-to-app transition. A user clicks an ad in a browser, installs the app and converts inside it, and nothing carries across without deliberate deferred-deep-link handling.

  • Sent from the browser

    Merge too aggressively and two people become one customer. Merge too conservatively and one customer becomes three conversions. Neither failure announces itself and both change the number your bidding runs on.

  • 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

mParticle → AppsFlyer · diagnose

Diagnostic order — mParticle → AppsFlyer

  1. 01

    Count events carrying the AppsFlyer device identifier, appsflyer_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Audit the identity priority order

    Read the configured hierarchy and test it against known duplicate accounts before trusting any downstream count.

  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.

mParticle → AppsFlyer · prove

How it gets proven — mParticle → AppsFlyer

Source of truth

The resolved user profile, joined to your billing or order system.

  • The AppsFlyer device identifier, appsflyer_id confirmed present on a live event.
  • In-app revenue events reconciled per transaction against your billing system, with the organic share stated rather than assumed away.
  • Distinct paying customers in billing reconciled against resolved profiles reporting a purchase.

mParticle → AppsFlyer · free audit

What we check in the free audit

  • Count events carrying the AppsFlyer device identifier, appsflyer_id
  • Follow one real conversion end to end
  • Audit the identity priority order
  • Check what share of your revenue happens in the app at all
  • Read the match rate, not the success message

Checked against

The resolved user profile, joined to your billing or order system.

Get my free conversion tracking audit

Free30 minutesNo obligation

mParticle → AppsFlyer · when not to buy

When you don't need this — mParticle → AppsFlyer

  • Measure identifier coverage yourself first — pull your last hundred events and count how many carry the AppsFlyer device identifier, appsflyer_id.
  • Web-only businesses rarely need this. The mobile identity problem is what justifies the complexity, and without an app you are paying for a solution to a problem you do not have.
  • 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.

mParticle → AppsFlyer · what we deliver

What gets built — mParticle → AppsFlyer

  • Identifier capture into mParticle

    Capture the identifier on the web, pass it through the install attribution flow, and set it as a user attribute on the app-side profile so the eventual purchase can still name its origin.

  • Event source: the mParticle server-side feed

    Send settled transactions from the resolved profile, with platform noted, so web and app performance stay distinguishable.

  • 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 subscription cancellations reverse against the same profile.

Written guarantee

95%+ tracking accuracy

Measured against The resolved user profile, joined to your billing or order system.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

mParticle → AppsFlyer questions, answered

Usually the AppsFlyer kit sends the purchase from the device and a server-side forward sends it again. Choose one source per event; AppsFlyer cannot tell the two copies apart.

Free · 30 min

Get mParticle and AppsFlyer joined properly

Free30 minutesNo obligation