Skip to main content
Toast → AppsFlyerIntegration guide

Connecting Toast to AppsFlyer

Toast holds the check, and a restaurant check is the only place where an online order, a dine-in tab and a catering deposit are all denominated in the same money. 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 Toast 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

AppsFlyer and Toast ordering apps: first check who controls the SDK

AppsFlyer needs its SDK in your app, and a Toast-built branded app may not allow it. With your own app ordering through Toast's APIs, store the appsflyer_id against the guest account and post a server-to-server purchase when the check closes, with total, currency, location and dining option. Never report revenue at submission.

AppsFlyer needs its SDK inside the app to produce an appsflyer_id, and a restaurant's ordering app on Toast is often a branded app Toast builds and maintains. Whether you can add a third-party measurement SDK to it is a question for Toast, not something to assume; if you cannot, there is no device identifier for anything to join to, and AppsFlyer has nothing to attribute.

If you run your own app that places orders through Toast's integration APIs, the join is workable. Store the appsflyer_id against the guest account when the app starts, and when the check closes in Toast, post a purchase through AppsFlyer's server-to-server events API with that appsflyer_id, the closed check total and the currency. Include the location and the dining option as event properties so pickup and delivery can be separated.

The failure particular to restaurants is reporting at submission. The app SDK logs a purchase the moment the guest taps Place Order, the kitchen then 86's an item and the check closes lower, or the order is voided outright, and AppsFlyer has already passed the original amount to every connected ad network. Fire revenue once, from the server, after close.

Toast → AppsFlyer · what breaks

Why this join usually fails — Toast → AppsFlyer

  1. 01

    The AppsFlyer device identifier, appsflyer_id never reaches Toast

    Toast Online Ordering runs on a Toast-hosted subdomain. Guests leave your site to place the order, so the click identifier is dropped at the handoff unless it is deliberately carried across.

  2. 02

    Dine-in revenue that advertising will never see

    Most restaurants take the majority of their money from people who walked in. That revenue is real, it is often driven by the same advertising, and there is no honest way to attribute it to a click. Say so rather than quietly excluding it.

  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.

Toast → AppsFlyer · the fix

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

Toast → AppsFlyer · architecture

How Toast and AppsFlyer actually connect

  1. 1

    Toast holds the truth

    Order channel is the field that matters. Only the online channel can carry an advertising identifier at all; the rest is revenue you can measure but cannot attribute, and pretending otherwise inflates every ratio you calculate.

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

  4. 4

    The event source decides reliability

    Send the closed check total, not the cart. Restaurant orders get modified at the pass constantly — an item 86'd, a substitution, a comped appetizer — and the cart figure is routinely wrong by the time the guest pays.

  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.

Toast → AppsFlyer · normal or broken

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

Normal, not a fault

  • The AppsFlyer device identifier, appsflyer_id present on the order

  • Sent from the Toast order feed

  • 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

    Toast Online Ordering runs on a Toast-hosted subdomain. Guests leave your site to place the order, so the click identifier is dropped at the handoff unless it is deliberately carried across.

  • Sent from the browser

    Most restaurants take the majority of their money from people who walked in. That revenue is real, it is often driven by the same advertising, and there is no honest way to attribute it to a click. Say so rather than quietly excluding it.

  • 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

Toast → AppsFlyer · diagnose

Diagnostic order — Toast → AppsFlyer

  1. 01

    Count orders carrying the AppsFlyer device identifier, appsflyer_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Split checks by dining option before anything else

    Online, dine-in, takeout, delivery, catering. If those are pooled, an increase in dine-in reads as advertising success and an increase in ad spend reads as waste.

  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.

Toast → AppsFlyer · prove

How it gets proven — Toast → AppsFlyer

Source of truth

Toast orders by business date with the dining option attached — online, dine-in, takeout, delivery or catering.

  • 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.
  • Closed checks on the online channel reconciled against imported conversions for a fully settled business week.

Toast → 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
  • Split checks by dining option before anything else
  • Check what share of your revenue happens in the app at all
  • Read the match rate, not the success message

Checked against

Toast orders by business date with the dining option attached — online, dine-in, takeout, delivery or catering.

Get my free conversion tracking audit

Free30 minutesNo obligation

Toast → AppsFlyer · when not to buy

When you don't need this — Toast → AppsFlyer

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the AppsFlyer device identifier, appsflyer_id.
  • If online ordering is a rounding error against your dine-in volume, the honest answer is that paid search cannot be measured on revenue here — measure it on order volume and stop there.
  • 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.

Toast → AppsFlyer · what we deliver

What gets built — Toast → AppsFlyer

  • Identifier capture into Toast

    Carry the identifier through the ordering link as a supported parameter and persist it against the guest record, so the check that closes hours later still knows which click produced it.

  • Event source: the Toast order feed

    Send the closed check total, not the cart. Restaurant orders get modified at the pass constantly — an item 86'd, a substitution, a comped appetizer — and the cart figure is routinely wrong by the time the guest pays.

  • 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

    Voids, comps and refunds should all reduce the figure. Restaurants void more than most businesses expect.

Written guarantee

95%+ tracking accuracy

Measured against Toast orders by business date with the dining option attached — online, dine-in, takeout, delivery or catering.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Toast → AppsFlyer questions, answered

Ask Toast whether third-party SDKs can be added to your branded app. Without the SDK there is no appsflyer_id and no install attribution.

Free · 30 min

Get Toast and AppsFlyer joined properly

Free30 minutesNo obligation