Skip to main content
Lightspeed → AppsFlyerIntegration guide

Connecting Lightspeed to AppsFlyer

Lightspeed runs the till in retail and hospitality, which means it holds the majority of the revenue and almost none of the digital signal. 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 Lightspeed 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

Lightspeed till sales in AppsFlyer for loyalty-app customers

AppsFlyer is not a destination for a Lightspeed business without its own app, because counter sales have no device. With a loyalty or ordering app, set AppsFlyer's customer user ID to the loyalty ID, then post in-store purchases where the customer scanned in against the linked device, only after app install. Report the share of sales with linked loyalty customers.

AppsFlyer needs a device behind every event, and a Lightspeed sale at the counter has none. Sending all till sales through the server-to-server API would give AppsFlyer revenue with no install to attach it to. For a Lightspeed business without its own app, AppsFlyer is not a destination at all.

The useful case is a retailer or restaurant with a loyalty or ordering app where the customer identifies at the till, by scanning the app's barcode or giving the phone number tied to their app account. Then the Lightspeed sale carries a customer you can map to the app user, the app has set AppsFlyer's customer user ID to that same loyalty ID, and your server can post the in-store purchase against the linked device. That lets AppsFlyer credit the campaign that drove the app install with real store revenue.

The break is the cashier. If staff skip the scan when the line is long, those sales never link, and the app looks less valuable than it is. Report the share of Lightspeed sales with a linked loyalty customer alongside the AppsFlyer numbers, and send only sales made after the app install, so a regular customer who downloaded the app last week does not credit it with a year of spending.

Lightspeed → AppsFlyer · what breaks

Why this join usually fails — Lightspeed → AppsFlyer

  1. 01

    The AppsFlyer device identifier, appsflyer_id never reaches Lightspeed

    A point-of-sale terminal has no browser. Online orders, where the business has them, are the only channel with any identifier at all.

  2. 02

    In-store revenue absorbed into online reporting

    If the channel filter is missing, every card taken at the counter becomes an advertising conversion, and the reported return climbs with foot traffic rather than with campaign quality.

  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.

Lightspeed → AppsFlyer · the fix

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

Lightspeed → AppsFlyer · architecture

How Lightspeed and AppsFlyer actually connect

  1. 1

    Lightspeed holds the truth

    The in-store majority is real revenue that no click produced and no click can claim. Naming that share is more useful than any model that quietly absorbs it.

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

  4. 4

    The event source decides reliability

    Send online-channel sales at their value. Report in-store revenue alongside as context, never inside the same conversion action.

  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.

Lightspeed → AppsFlyer · normal or broken

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

Normal, not a fault

  • The AppsFlyer device identifier, appsflyer_id present on the sale

  • Sent from the Lightspeed sales record

  • 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

    A point-of-sale terminal has no browser. Online orders, where the business has them, are the only channel with any identifier at all.

  • Sent from the browser

    If the channel filter is missing, every card taken at the counter becomes an advertising conversion, and the reported return climbs with foot traffic rather than with campaign quality.

  • 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

Lightspeed → AppsFlyer · diagnose

Diagnostic order — Lightspeed → AppsFlyer

  1. 01

    Count sales carrying the AppsFlyer device identifier, appsflyer_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Filter by sales channel and re-check the total

    Compare the filtered figure against the online order count. A mismatch means the filter is wrong before the tracking is.

  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.

Lightspeed → AppsFlyer · prove

How it gets proven — Lightspeed → AppsFlyer

Source of truth

Lightspeed sales by business date, filtered to the online channel where one exists.

  • 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.
  • Online-channel sales reconciled against imported conversions for a settled week.

Lightspeed → 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
  • Filter by sales channel and re-check the total
  • Check what share of your revenue happens in the app at all
  • Read the match rate, not the success message

Checked against

Lightspeed sales by business date, filtered to the online channel where one exists.

Get my free conversion tracking audit

Free30 minutesNo obligation

Lightspeed → AppsFlyer · when not to buy

When you don't need this — Lightspeed → AppsFlyer

  • Measure identifier coverage yourself first — pull your last hundred sales and count how many carry the AppsFlyer device identifier, appsflyer_id.
  • A purely bricks-and-mortar business has no online conversion to import. Measure directions, calls and offer-code redemptions instead.
  • 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.

Lightspeed → AppsFlyer · what we deliver

What gets built — Lightspeed → AppsFlyer

  • Identifier capture into Lightspeed

    Attribute the online channel only, and measure in-store influence with a geo holdout or an offer code rather than pretending it is trackable.

  • Event source: the Lightspeed sales record

    Send online-channel sales at their value. Report in-store revenue alongside as context, never inside the same conversion action.

  • 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 and voids reverse.

Written guarantee

95%+ tracking accuracy

Measured against Lightspeed sales by business date, filtered to the online channel where one exists.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Lightspeed → AppsFlyer questions, answered

Only for customers who identify at the till with an app-linked loyalty ID. Anonymous counter sales have no device to attach to.

Free · 30 min

Get Lightspeed and AppsFlyer joined properly

Free30 minutesNo obligation