Skip to main content
ShareASale → AppsFlyerIntegration guide

Connecting ShareASale to AppsFlyer

ShareASale is a long-established last-click affiliate network, which means the same voucher-code interception problem as any last-click programme, at the scale of a very large publisher base. 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 ShareASale transaction 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

ShareASale in AppsFlyer: only if affiliates drive installs

Do not send ShareASale web orders to AppsFlyer; they have no appsflyer_id to join. A publisher only counts as an AppsFlyer media source if it promotes your app, using AppsFlyer attribution links or OneLink URLs carrying the publisher ID. In-app purchases attributed there must be posted to the network separately if the publisher is paid.

AppsFlyer attributes app installs and in-app events to media sources, and a ShareASale publisher is a media source only if it sends people to your app. Most web affiliate programs never do: the publisher links to your website, the order happens in the browser, and AppsFlyer has nothing to attribute. Do not send web orders to AppsFlyer just because they carry an affiliate flag; they have no appsflyer_id to join to.

If publishers do promote the app, they need AppsFlyer attribution links or OneLink URLs carrying the publisher ID, not their usual ShareASale web links. Check whether your network is set up as an integrated partner in AppsFlyer, and decide who pays: an in-app purchase attributed to the publisher inside AppsFlyer will not appear in the network's own reporting unless you post it there separately.

The overlap check matters more than the build. A publisher's web click followed by an app install the next day appears in AppsFlyer as organic or as whatever paid network last touched the device. Compare affiliate-referred web visitors who later install against AppsFlyer's organic installs before concluding affiliates do nothing for the app.

ShareASale → AppsFlyer · what breaks

Why this join usually fails — ShareASale → AppsFlyer

  1. 01

    The AppsFlyer device identifier, appsflyer_id never reaches ShareASale

    The affiliate cookie is set on click and read at checkout, and a voucher-site click seconds before the order will overwrite whatever preceded it.

  2. 02

    Voucher publishers earning on sales your ads produced

    A customer arrives from a paid ad, opens a tab to find a code, clicks a voucher site's link and returns to buy. Under last-click the voucher site earns the commission on a sale your advertising created — 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.

ShareASale → AppsFlyer · the fix

What working looks like — ShareASale → 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

ShareASale → AppsFlyer · architecture

How ShareASale and AppsFlyer actually connect

  1. 1

    ShareASale holds the truth

    Publisher type is the whole analysis. Content publishers introduce customers; voucher and cashback publishers intercept them at the basket. Both are paid the same way and they are not the same thing.

  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 ShareASale transaction.

  4. 4

    The event source decides reliability

    Send orders net of commission, with affiliate-sourced orders marked and publisher type recorded.

  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.

ShareASale → AppsFlyer · normal or broken

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

Normal, not a fault

  • The AppsFlyer device identifier, appsflyer_id present on the conversion

  • Sent from your order record with affiliate 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

    The affiliate cookie is set on click and read at checkout, and a voucher-site click seconds before the order will overwrite whatever preceded it.

  • Sent from the browser

    A customer arrives from a paid ad, opens a tab to find a code, clicks a voucher site's link and returns to buy. Under last-click the voucher site earns the commission on a sale your advertising created — 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

ShareASale → AppsFlyer · diagnose

Diagnostic order — ShareASale → AppsFlyer

  1. 01

    Count conversions carrying the AppsFlyer device identifier, appsflyer_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Segment commissions by publisher type and time-from-click to order

    Clicks seconds before an order are interception. That segmentation is available and 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.

ShareASale → AppsFlyer · prove

How it gets proven — ShareASale → AppsFlyer

Source of truth

Orders flagged by affiliate, with commission recorded and the publisher type identified.

  • 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.
  • Orders reconciled net of commission against imported conversions, with the paid-media overlap measured.

ShareASale → 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
  • Segment commissions by publisher type and time-from-click to order
  • Check what share of your revenue happens in the app at all
  • Read the match rate, not the success message

Checked against

Orders flagged by affiliate, with commission recorded and the publisher type identified.

Get my free conversion tracking audit

Free30 minutesNo obligation

ShareASale → AppsFlyer · when not to buy

When you don't need this — ShareASale → 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 none of this applies. If you run one, the commission structure by publisher type will change your economics more than tracking accuracy will.
  • 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.

ShareASale → AppsFlyer · what we deliver

What gets built — ShareASale → AppsFlyer

  • Identifier capture into ShareASale

    Record the click timestamp alongside the affiliate identifier so late-journey interception is visible.

  • Event source: your order record with affiliate attribution

    Send orders net of commission, with affiliate-sourced orders marked and publisher type recorded.

  • 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 reverse the commission.

Written guarantee

95%+ tracking accuracy

Measured against Orders flagged by affiliate, with commission recorded and the publisher type identified.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

ShareASale → AppsFlyer questions, answered

Only if publishers use AppsFlyer links with their ID. Ordinary affiliate web links cannot carry attribution into an app install.

Free · 30 min

Get ShareASale and AppsFlyer joined properly

Free30 minutesNo obligation