Skip to main content
Ghost → AppsFlyerIntegration guide

Connecting Ghost to AppsFlyer

Ghost is publishing with memberships attached, so the commercial event is a paid subscription rather than a purchase. 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 Ghost member 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

Ghost memberships in AppsFlyer: only with a companion app

Only if you ship a reader app that signs readers in as Ghost members. The app sends the appsflyer_id to your backend at sign-in, and your relay posts paid upgrades from Ghost's member webhook to AppsFlyer's server-to-server events API with that ID and value. Never send free signups as revenue, or duplicate Apple in-app purchases.

AppsFlyer attributes app installs and in-app events, so it touches a Ghost publication only if the publisher ships an app, typically a reader app built on Ghost's Content API that signs readers in as members. Without one, leave AppsFlyer out of the plan.

With an app, the event that matters is a paid subscription from someone who installed through a campaign. If the upgrade happens on the web through Ghost's Stripe checkout, the app must send the appsflyer_id to your backend when the reader signs in, and your relay then posts the upgrade from Ghost's member webhook to AppsFlyer's server-to-server events API with that device ID and the subscription value. A reader who installs the app but upgrades on a laptop a week later breaks the chain unless the same Ghost member signs in on both, which is why the sign-in step matters more than the API call.

Do not send free member signups as revenue events. They vastly outnumber paid ones and would make AppsFlyer's partner postbacks optimize toward newsletter subscribers. And if the app sells subscriptions through Apple in-app purchase, the SDK already reports those; sending the matching Ghost member record as well counts the same subscription twice.

Ghost → AppsFlyer · what breaks

Why this join usually fails — Ghost → AppsFlyer

  1. 01

    The AppsFlyer device identifier, appsflyer_id never reaches Ghost

    Signup and checkout are Ghost-hosted with limited customisation, and free members vastly outnumber paid ones. An identifier captured on a post has to survive into the member record, which Ghost only partially supports.

  2. 02

    Free members outnumbering paid by an order of magnitude

    Ghost's newsletter signup is frictionless by design. Sending free signups as conversions teaches an ad platform to find people who subscribe to free newsletters.

  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.

Ghost → AppsFlyer · the fix

What working looks like — Ghost → AppsFlyer

  • The AppsFlyer device identifier, appsflyer_id on every member

  • 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

Ghost → AppsFlyer · architecture

How Ghost and AppsFlyer actually connect

  1. 1

    Ghost holds the truth

    Ghost's payments run through a connected Stripe account, so Stripe is authoritative for money and Ghost is authoritative for membership state. They should agree and reconciling them is worth doing once.

  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 Ghost member.

  4. 4

    The event source decides reliability

    Send paid subscription starts at expected lifetime value. Free member signups are leads and belong in a separate event 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.

Ghost → AppsFlyer · normal or broken

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

Normal, not a fault

  • The AppsFlyer device identifier, appsflyer_id present on the member

  • Sent from the Ghost member webhook, or the connected Stripe subscription event

  • 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

    Signup and checkout are Ghost-hosted with limited customisation, and free members vastly outnumber paid ones. An identifier captured on a post has to survive into the member record, which Ghost only partially supports.

  • Sent from the browser

    Ghost's newsletter signup is frictionless by design. Sending free signups as conversions teaches an ad platform to find people who subscribe to free newsletters.

  • 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

Ghost → AppsFlyer · diagnose

Diagnostic order — Ghost → AppsFlyer

  1. 01

    Count members carrying the AppsFlyer device identifier, appsflyer_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether free and paid signups share a conversion action

    If they do, the free tier is setting your bids and paid acquisition is invisible.

  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.

Ghost → AppsFlyer · prove

How it gets proven — Ghost → AppsFlyer

Source of truth

Ghost's member records with paid subscription status, cross-checked against the Stripe account behind them.

  • The AppsFlyer device identifier, appsflyer_id confirmed present on a live member.
  • In-app revenue events reconciled per transaction against your billing system, with the organic share stated rather than assumed away.
  • A paid subscription confirmed to carry lifetime value with free signups excluded.

Ghost → AppsFlyer · free audit

What we check in the free audit

  • Count members carrying the AppsFlyer device identifier, appsflyer_id
  • Follow one real conversion end to end
  • Check whether free and paid signups share a conversion action
  • Check what share of your revenue happens in the app at all
  • Read the match rate, not the success message

Checked against

Ghost's member records with paid subscription status, cross-checked against the Stripe account behind them.

Get my free conversion tracking audit

Free30 minutesNo obligation

Ghost → AppsFlyer · when not to buy

When you don't need this — Ghost → AppsFlyer

  • Measure identifier coverage yourself first — pull your last hundred members and count how many carry the AppsFlyer device identifier, appsflyer_id.
  • If your Ghost site is a free newsletter monetised by sponsorship, there is no subscription conversion to measure here.
  • 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.

Ghost → AppsFlyer · what we deliver

What gets built — Ghost → AppsFlyer

  • Identifier capture into Ghost

    Carry the identifier through the signup URL into member labels or via the connected Stripe checkout's metadata, and verify on a real paid signup which survives.

  • Event source: the Ghost member webhook, or the connected Stripe subscription event

    Send paid subscription starts at expected lifetime value. Free member signups are leads and belong in a separate event 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

    Subscription cancellations reverse the lifetime value claimed.

Written guarantee

95%+ tracking accuracy

Measured against Ghost's member records with paid subscription status, cross-checked against the Stripe account behind them.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Ghost → AppsFlyer questions, answered

Not directly; Ghost has no app SDK. It matters only if you built a reader app, in which case you send paid upgrades from Ghost's webhook to AppsFlyer with the reader's device ID.

Free · 30 min

Get Ghost and AppsFlyer joined properly

Free30 minutesNo obligation