Skip to main content
ReferralCandy → AppsFlyerIntegration guide

Connecting ReferralCandy to AppsFlyer

ReferralCandy serves smaller stores where the referral programme is often the second-largest acquisition channel and is almost never measured against paid media properly. 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 ReferralCandy referral 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

ReferralCandy and AppsFlyer: web referrals lost at install

Do not send ReferralCandy web orders to AppsFlyer as in-app events; there is no device identifier, and they would inflate revenue forwarded to partners. Send only in-app purchases from your billing system with the appsflyer_id and revenue after the referral discount. Decide whether AppsFlyer user-invite attribution or ReferralCandy owns app referrals, and log any coupon code on purchase events.

AppsFlyer attributes app installs and in-app events; ReferralCandy attributes web store orders to referrers. A referral link opened on a phone lands on your website, so if the friend then installs your app and buys there, AppsFlyer records an organic install and ReferralCandy sees a referral that never converted, unless the coupon carried it.

Do not send ReferralCandy's web orders to AppsFlyer as in-app events; there is no device identifier to attribute them to, and they would inflate app revenue in every partner AppsFlyer forwards to. Send AppsFlyer only purchases made inside the app, from your billing system with the appsflyer_id and revenue after the referral discount.

If app referrals matter, check AppsFlyer's own user-invite attribution, which is built for referral links that survive an install, and decide which tool owns referrals made in the app. Running both on one customer means two systems crediting the same friend, and possibly two rewards. Where the friend buys in the app with a ReferralCandy coupon, check whether ReferralCandy records that order at all. The coupon code is the one piece of referral evidence that crosses the install, so log it on the in-app purchase event as a property even if nothing else does.

ReferralCandy → AppsFlyer · what breaks

Why this join usually fails — ReferralCandy → AppsFlyer

  1. 01

    The AppsFlyer device identifier, appsflyer_id never reaches ReferralCandy

    Referral links land with their own parameters on a store that may already hold a paid identifier.

  2. 02

    Referral and paid competing for the same orders

    Without a precedence rule the credit goes to whichever parameter was written last, which means your reported channel mix is an accident of browsing order.

  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.

ReferralCandy → AppsFlyer · the fix

What working looks like — ReferralCandy → AppsFlyer

  • The AppsFlyer device identifier, appsflyer_id on every referral

  • 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

ReferralCandy → AppsFlyer · architecture

How ReferralCandy and AppsFlyer actually connect

  1. 1

    ReferralCandy holds the truth

    At small-store scale the referral programme can rival paid acquisition in volume. Pooling them means neither channel's true cost per acquisition is knowable.

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

  4. 4

    The event source decides reliability

    Send orders net of rewards, with referral orders marked and excluded from paid conversion imports.

  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.

ReferralCandy → AppsFlyer · normal or broken

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

Normal, not a fault

  • The AppsFlyer device identifier, appsflyer_id present on the referral

  • Sent from your order feed with referral attribution

  • 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

    Referral links land with their own parameters on a store that may already hold a paid identifier.

  • Sent from the browser

    Without a precedence rule the credit goes to whichever parameter was written last, which means your reported channel mix is an accident of browsing order.

  • 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

ReferralCandy → AppsFlyer · diagnose

Diagnostic order — ReferralCandy → AppsFlyer

  1. 01

    Count referrals carrying the AppsFlyer device identifier, appsflyer_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Count orders carrying both a referral and a paid parameter

    It is usually a meaningful share, and every one of them is currently credited by luck.

  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.

ReferralCandy → AppsFlyer · prove

How it gets proven — ReferralCandy → AppsFlyer

Source of truth

Store orders flagged by referral, net of both rewards.

  • The AppsFlyer device identifier, appsflyer_id confirmed present on a live referral.
  • In-app revenue events reconciled per transaction against your billing system, with the organic share stated rather than assumed away.
  • Non-referral orders reconciled against imported conversions, with referral volume and reward cost stated.

ReferralCandy → AppsFlyer · free audit

What we check in the free audit

  • Count referrals carrying the AppsFlyer device identifier, appsflyer_id
  • Follow one real conversion end to end
  • Count orders carrying both a referral and a paid parameter
  • Check what share of your revenue happens in the app at all
  • Read the match rate, not the success message

Checked against

Store orders flagged by referral, net of both rewards.

Get my free conversion tracking audit

Free30 minutesNo obligation

ReferralCandy → AppsFlyer · when not to buy

When you don't need this — ReferralCandy → AppsFlyer

  • Measure identifier coverage yourself first — pull your last hundred referrals and count how many carry the AppsFlyer device identifier, appsflyer_id.
  • No referral programme, no conflict.
  • 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.

ReferralCandy → AppsFlyer · what we deliver

What gets built — ReferralCandy → AppsFlyer

  • Identifier capture into ReferralCandy

    Set precedence explicitly and record both identifiers on the order.

  • Event source: your order feed with referral attribution

    Send orders net of rewards, with referral orders marked and excluded from paid conversion imports.

  • 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 reverse and reclaim rewards.

Written guarantee

95%+ tracking accuracy

Measured against Store orders flagged by referral, net of both rewards.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

ReferralCandy → AppsFlyer questions, answered

Not web orders. Send only in-app purchases tied to a device, and record any referral coupon used as an event property.

Free · 30 min

Get ReferralCandy and AppsFlyer joined properly

Free30 minutesNo obligation