Skip to main content
Refersion → AppsFlyerIntegration guide

Connecting Refersion to AppsFlyer

Refersion runs affiliate and influencer programmes on Shopify stores, which puts a commission-earning third party directly alongside your paid media on the same orders. 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 Refersion conversion 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

Refersion to AppsFlyer: creator links that open the app, not the store

Do not post Refersion conversions to AppsFlyer; web orders have no appsflyer_id and would invent organic installs. For creators promoting both store and app, let Refersion pay on code redemptions and AppsFlyer measure installs and app revenue by creator for budgets only. Put the Refersion affiliate ID in the OneLink campaign or sub-parameter so data joins monthly.

A Refersion conversion is a web order with no appsflyer_id behind it, so posting it to AppsFlyer's server-to-server API either fails attribution or invents an organic install. Do not do it. The real question for this pair is the creator who promotes your app as well as your store: a Refersion link lands on the website, while an AppsFlyer OneLink can drive an install that Refersion never sees.

Brands running both usually end up with two creator-attribution systems that each think they own the influencer. AppsFlyer credits the install and in-app purchases to the OneLink media source; Refersion credits web orders, plus any app order where the creator's discount code reaches Shopify. Check whether your app's checkout writes the discount code into the Shopify order, because that decides whether Refersion commissions in-app sales at all.

A workable split: Refersion pays on code redemptions wherever they happen, and AppsFlyer measures installs and app revenue by creator for budget decisions, never for payout. Name each creator identically in both, putting the Refersion affiliate ID into the OneLink's campaign or sub-parameter, so a monthly join shows a creator's web commissions next to their app installs.

Refersion → AppsFlyer · what breaks

Why this join usually fails — Refersion → AppsFlyer

  1. 01

    The AppsFlyer device identifier, appsflyer_id never reaches Refersion

    Affiliate links carry their own parameters and land on your store, frequently overwriting or colliding with a paid identifier already stored.

  2. 02

    Influencer codes claiming paid traffic's orders

    A customer sees your ad, searches for a discount code, finds an influencer's, and orders. The influencer earns a commission on a sale your advertising produced, and your paid reporting counts it too.

  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.

Refersion → AppsFlyer · the fix

What working looks like — Refersion → AppsFlyer

  • The AppsFlyer device identifier, appsflyer_id on every conversion

  • 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

Refersion → AppsFlyer · architecture

How Refersion and AppsFlyer actually connect

  1. 1

    Refersion holds the truth

    An affiliate order costs you a commission on top of whatever the ad click cost. If both systems claim it, the order is being paid for twice and neither report mentions the other.

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

  4. 4

    The event source decides reliability

    Send orders net of affiliate commission, with the affiliate-sourced share marked.

  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.

Refersion → AppsFlyer · normal or broken

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

Normal, not a fault

  • The AppsFlyer device identifier, appsflyer_id present on the conversion

  • Sent from the store order record with Refersion attribution attached

  • 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

    Affiliate links carry their own parameters and land on your store, frequently overwriting or colliding with a paid identifier already stored.

  • Sent from the browser

    A customer sees your ad, searches for a discount code, finds an influencer's, and orders. The influencer earns a commission on a sale your advertising produced, and your paid reporting counts it too.

  • 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

Refersion → AppsFlyer · diagnose

Diagnostic order — Refersion → AppsFlyer

  1. 01

    Count conversions carrying the AppsFlyer device identifier, appsflyer_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Count orders appearing in both paid conversions and Refersion

    The overlap is the double payment. One query, rarely run.

  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.

Refersion → AppsFlyer · prove

How it gets proven — Refersion → AppsFlyer

Source of truth

Store orders flagged by whether an affiliate link or code produced them, with the commission recorded.

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

Refersion → AppsFlyer · free audit

What we check in the free audit

  • Count conversions carrying the AppsFlyer device identifier, appsflyer_id
  • Follow one real conversion end to end
  • Count orders appearing in both paid conversions and Refersion
  • 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 whether an affiliate link or code produced them, with the commission recorded.

Get my free conversion tracking audit

Free30 minutesNo obligation

Refersion → AppsFlyer · when not to buy

When you don't need this — Refersion → AppsFlyer

  • Measure identifier coverage yourself first — pull your last hundred conversions and count how many carry the AppsFlyer device identifier, appsflyer_id.
  • No affiliate programme means no conflict and this reduces to an ordinary store integration.
  • 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.

Refersion → AppsFlyer · what we deliver

What gets built — Refersion → AppsFlyer

  • Identifier capture into Refersion

    Set an explicit precedence rule between affiliate and paid parameters rather than letting last-write-wins decide, and record both on the order.

  • Event source: the store order record with Refersion attribution attached

    Send orders net of affiliate commission, with the affiliate-sourced share marked.

  • 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 should claw back the commission.

Written guarantee

95%+ tracking accuracy

Measured against Store orders flagged by whether an affiliate link or code produced them, with the commission recorded.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Refersion → AppsFlyer questions, answered

No. They are web orders with no device ID and cannot be tied to an install. Send in-app purchases from the app or your billing backend with the appsflyer_id instead.

Free · 30 min

Get Refersion and AppsFlyer joined properly

Free30 minutesNo obligation