Skip to main content
Gumroad → AppsFlyerIntegration guide

Connecting Gumroad to AppsFlyer

Gumroad sells digital products for creators with almost no infrastructure, which is its appeal and the reason it gives you very little to work with. 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 Gumroad sale 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

Gumroad and AppsFlyer: web sales with no device ID to attach

A Gumroad sale has no appsflyer_id, so for download sellers AppsFlyer isn't a destination. If an app unlocks access through Gumroad, append your AppsFlyer customer user ID to the Gumroad link, read it from the sale ping, and post the purchase server-to-server. Don't also fire an SDK purchase, or revenue doubles; reverse refunds too.

AppsFlyer attributes in-app events to installs by appsflyer_id. A Gumroad sale happens in a browser on Gumroad's domain and carries a buyer email, a sale ID and whatever URL parameters survived, but no device identifier. Sent as an in-app event it either lands as organic or gets dropped. For a creator selling downloads, AppsFlyer is not a conversion destination at all.

The narrow case is an app that monetizes through Gumroad: the app opens a Gumroad product page in the browser and premium access is unlocked afterwards. If you want that revenue credited to the install source, the app has to append the same customer user ID you set in the AppsFlyer SDK to the Gumroad link. The sale ping returns it, your server looks up the appsflyer_id stored for that user, and posts the purchase through the server-to-server events API with the revenue converted from Gumroad's price field.

The failure here is double revenue. If the app also fires an SDK purchase event when the unlock happens, the same Gumroad sale is reported from two sides, and AppsFlyer forwards both to every connected ad network. Pick one source, the ping, and do not fire the SDK event for Gumroad-paid unlocks. Refunds need the same path in reverse; check how your AppsFlyer setup records negative revenue.

Gumroad → AppsFlyer · what breaks

Why this join usually fails — Gumroad → AppsFlyer

  1. 01

    The AppsFlyer device identifier, appsflyer_id never reaches Gumroad

    Checkout happens on Gumroad's own domain or in an overlay, and the platform offers limited custom-field capability. In practice the identifier travels through URL parameters that Gumroad preserves, and confirming which parameters survive is the first thing to test.

  2. 02

    A deliberately minimal platform

    Gumroad's simplicity is the product. That means fewer hooks, fewer custom fields and more of the build depending on what survives in a URL — which has to be tested rather than assumed.

  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.

Gumroad → AppsFlyer · the fix

What working looks like — Gumroad → AppsFlyer

  • The AppsFlyer device identifier, appsflyer_id on every sale

  • 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

Gumroad → AppsFlyer · architecture

How Gumroad and AppsFlyer actually connect

  1. 1

    Gumroad holds the truth

    Gumroad is the merchant and holds the transaction. What it does not hold is much customisation, so the integration has to work within a deliberately simple product.

  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 Gumroad sale.

  4. 4

    The event source decides reliability

    Send from your server when Gumroad pings a completed sale. Do not depend on a redirect-based thank-you page, which the buyer can skip entirely.

  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.

Gumroad → AppsFlyer · normal or broken

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

Normal, not a fault

  • The AppsFlyer device identifier, appsflyer_id present on the sale

  • Sent from the Gumroad sale ping 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

    Checkout happens on Gumroad's own domain or in an overlay, and the platform offers limited custom-field capability. In practice the identifier travels through URL parameters that Gumroad preserves, and confirming which parameters survive is the first thing to test.

  • Sent from the browser

    Gumroad's simplicity is the product. That means fewer hooks, fewer custom fields and more of the build depending on what survives in a URL — which has to be tested rather than assumed.

  • 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

Gumroad → AppsFlyer · diagnose

Diagnostic order — Gumroad → AppsFlyer

  1. 01

    Count sales carrying the AppsFlyer device identifier, appsflyer_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Make a test purchase and read the sale record

    Check which URL parameters actually persisted. This is quicker than reading documentation and more reliable.

  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.

Gumroad → AppsFlyer · prove

How it gets proven — Gumroad → AppsFlyer

Source of truth

Gumroad's sales records for the same window, net of refunds.

  • The AppsFlyer device identifier, appsflyer_id confirmed present on a live sale.
  • In-app revenue events reconciled per transaction against your billing system, with the organic share stated rather than assumed away.
  • A test purchase with the identifier confirmed present on the resulting Gumroad sale record.

Gumroad → AppsFlyer · free audit

What we check in the free audit

  • Count sales carrying the AppsFlyer device identifier, appsflyer_id
  • Follow one real conversion end to end
  • Make a test purchase and read the sale record
  • Check what share of your revenue happens in the app at all
  • Read the match rate, not the success message

Checked against

Gumroad's sales records for the same window, net of refunds.

Get my free conversion tracking audit

Free30 minutesNo obligation

Gumroad → AppsFlyer · when not to buy

When you don't need this — Gumroad → AppsFlyer

  • Measure identifier coverage yourself first — pull your last hundred sales and count how many carry the AppsFlyer device identifier, appsflyer_id.
  • If you are selling a handful of digital products a month, Gumroad's own analytics is genuinely enough and this work will not pay for itself.
  • 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.

Gumroad → AppsFlyer · what we deliver

What gets built — Gumroad → AppsFlyer

  • Identifier capture into Gumroad

    Append the click identifier to the product URL and read it back from the sale record or the ping webhook, after verifying on a real purchase which parameters Gumroad actually retains.

  • Event source: the Gumroad sale ping webhook

    Send from your server when Gumroad pings a completed sale. Do not depend on a redirect-based thank-you page, which the buyer can skip entirely.

  • 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

    Gumroad records refunds and they should reduce the reported figure, particularly given how straightforward its refund process is for buyers.

Written guarantee

95%+ tracking accuracy

Measured against Gumroad's sales records for the same window, net of refunds.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Gumroad → AppsFlyer questions, answered

Only if the buyer is a known app user whose device identifier you stored. A plain web sale on Gumroad has no install to attribute and will show as organic or be discarded.

Free · 30 min

Get Gumroad and AppsFlyer joined properly

Free30 minutesNo obligation