Skip to main content
Olo → AppsFlyerIntegration guide

Connecting Olo to AppsFlyer

Olo sits between a multi-location brand and every channel it sells through, which makes it the only place where a direct order and a marketplace order can be compared on the same terms. 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 Olo order 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

Olo and AppsFlyer: the order webhook has no appsflyer_id

Save the appsflyer_id on your guest record at first app open. When the Olo order webhook arrives for an in-app order, look it up and post the purchase server-to-server with revenue, currency and the Olo order ID. Pick either this or the SDK purchase, not both, and send app orders only, excluding web ordering and Rails marketplace orders.

An Olo-powered ordering app can report purchases to AppsFlyer two ways: from the app's SDK when the order confirms, or server-to-server from the Olo order webhook. The server route is more reliable, since it fires even if the guest closes the app mid-confirmation, but the Olo webhook knows the guest and the order, not the device. Unless you stored the appsflyer_id against the guest account when the app first opened, there is nothing to attribute the order to.

So the build is a lookup: at first open, save the appsflyer_id on your guest record; when the Olo webhook arrives for an order placed in the app, find that ID and post the purchase with revenue, currency and the Olo order ID in the event so duplicates can be traced. If the SDK also fires a purchase, choose one sender; both together double revenue in AppsFlyer and in every network it forwards to.

Filter by order source before sending anything. Orders placed on the web ordering site have no device behind them, and Rails orders from DoorDash, Uber Eats and Grubhub have neither a device nor your app. Sending either produces revenue attributed to nothing. Send app orders only, and read per-location app revenue from Olo, where the store is already on the record.

Olo → AppsFlyer · what breaks

Why this join usually fails — Olo → AppsFlyer

  1. 01

    The AppsFlyer device identifier, appsflyer_id never reaches Olo

    Olo's ordering experience is frequently hosted on an Olo subdomain, and marketplace orders arrive through an API with no browser session behind them whatsoever.

  2. 02

    Marketplace orders inflating the direct channel

    Rails is designed to make marketplace demand look like your own order flow, which is excellent for operations and ruinous for measurement. Left unsplit, a good week on DoorDash reads as a good week for your ad account.

  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.

Olo → AppsFlyer · the fix

What working looks like — Olo → AppsFlyer

  • The AppsFlyer device identifier, appsflyer_id on every order

  • 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

Olo → AppsFlyer · architecture

How Olo and AppsFlyer actually connect

  1. 1

    Olo holds the truth

    Rails pulls DoorDash, Uber Eats and Grubhub orders into the same order stream as your own website. They land in one feed and they are not the same thing: one carries a click you paid for, the other carries a marketplace commission and no identifier at all.

  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 Olo order.

  4. 4

    The event source decides reliability

    Send per-location. A brand with two hundred restaurants running one national campaign learns nothing from a single national conversion number.

  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.

Olo → AppsFlyer · normal or broken

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

Normal, not a fault

  • The AppsFlyer device identifier, appsflyer_id present on the order

  • Sent from the Olo order 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

    Olo's ordering experience is frequently hosted on an Olo subdomain, and marketplace orders arrive through an API with no browser session behind them whatsoever.

  • Sent from the browser

    Rails is designed to make marketplace demand look like your own order flow, which is excellent for operations and ruinous for measurement. Left unsplit, a good week on DoorDash reads as a good week for your ad account.

  • 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

Olo → AppsFlyer · diagnose

Diagnostic order — Olo → AppsFlyer

  1. 01

    Count orders carrying the AppsFlyer device identifier, appsflyer_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Separate direct from Rails at the source

    Do this before any tracking work. The split is the measurement; everything after it is plumbing.

  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.

Olo → AppsFlyer · prove

How it gets proven — Olo → AppsFlyer

Source of truth

Olo orders by location and by channel, with direct and Rails-sourced marketplace orders held apart.

  • The AppsFlyer device identifier, appsflyer_id confirmed present on a live order.
  • In-app revenue events reconciled per transaction against your billing system, with the organic share stated rather than assumed away.
  • Direct-channel orders per location reconciled against imported conversions, with Rails volume reported as a named exclusion.

Olo → AppsFlyer · free audit

What we check in the free audit

  • Count orders carrying the AppsFlyer device identifier, appsflyer_id
  • Follow one real conversion end to end
  • Separate direct from Rails at the source
  • Check what share of your revenue happens in the app at all
  • Read the match rate, not the success message

Checked against

Olo orders by location and by channel, with direct and Rails-sourced marketplace orders held apart.

Get my free conversion tracking audit

Free30 minutesNo obligation

Olo → AppsFlyer · when not to buy

When you don't need this — Olo → AppsFlyer

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the AppsFlyer device identifier, appsflyer_id.
  • If your Olo volume is overwhelmingly Rails, the campaign question is about marketplace placement and commission, and no amount of conversion tracking will answer it.
  • 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.

Olo → AppsFlyer · what we deliver

What gets built — Olo → AppsFlyer

  • Identifier capture into Olo

    Persist the identifier on the direct-ordering path only, and mark Rails-sourced orders explicitly as unattributable rather than letting them dilute the figure.

  • Event source: the Olo order webhook

    Send per-location. A brand with two hundred restaurants running one national campaign learns nothing from a single national conversion number.

  • 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

    Cancelled and refunded orders should reduce the figure, per location.

Written guarantee

95%+ tracking accuracy

Measured against Olo orders by location and by channel, with direct and Rails-sourced marketplace orders held apart.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Olo → AppsFlyer questions, answered

Store the appsflyer_id on the guest account at first app open, then post the purchase from the Olo order webhook using that ID. Without the stored ID the order cannot be attributed.

Free · 30 min

Get Olo and AppsFlyer joined properly

Free30 minutesNo obligation