Connecting Square Online to AppsFlyer
Square Online orders settle into the same Square account as the card taken at the counter, which is a genuine advantage: the online and in-person halves of the business are already denominated in one ledger. 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 Square Online 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
Square Online into AppsFlyer: web orders have no device ID
Square Online web orders have no AppsFlyer device ID, so this pair applies only alongside your own app. Store the appsflyer_id against the signed-in user, map that user to the Square customer, and post completed app orders with revenue net of tips and tax and the Square order ID. Filter by order source, keeping web and counter orders out.
AppsFlyer attributes app installs and in-app events to devices. A Square Online order placed in a mobile browser has no AppsFlyer device ID behind it, so posting it to the server-to-server API attributes to nothing. Unless you run your own app alongside the Square Online site, this destination does not apply.
If you do have an app ordering against the same Square account, keep two streams apart. App orders: store the appsflyer_id against the signed-in user, map that user to the Square customer, and post the order once Square marks it completed, with revenue net of tips and tax and the Square order ID attached so a retry is recognizable. Web orders from Square Online go to your ad platforms directly and stay out of AppsFlyer, or AppsFlyer forwards unattributable revenue to the networks it feeds.
Square's shared ledger adds a hazard specific to this pair: app orders, Square Online orders and counter sales can all sit in one account. Filter by order source before posting, or a counter sale under a known customer could be sent as an in-app purchase. Send refunds to AppsFlyer as their own event, so network-reported revenue does not keep refunded orders.
Square Online → AppsFlyer · what breaks
Why this join usually fails — Square Online → AppsFlyer
- 01
The AppsFlyer device identifier, appsflyer_id never reaches Square Online
Square Online sites are frequently on a Square-provided domain, and checkout may hand off to Square-hosted payment pages depending on configuration.
- 02
Counter sales counted as online conversions
The convenience of one ledger is also the trap. If the sales channel is not filtered, every card swipe at the register lands in your ad reporting as a conversion you paid for.
- 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.
- 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.
Square Online → AppsFlyer · the fix
What working looks like — Square Online → 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
Square Online → AppsFlyer · architecture
How Square Online and AppsFlyer actually connect
- 1
Square Online holds the truth
The filter is the whole job. Square's default reporting cheerfully sums counter sales and online orders, and that total is not something any ad platform should be optimizing toward.
- 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
The identifier is the bridge
The AppsFlyer device identifier, appsflyer_id, captured at the visit and carried into the Square Online order.
- 4
The event source decides reliability
Send net of tips and taxes. Tips on food orders are substantial and are not your revenue.
- 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.
Square Online → AppsFlyer · normal or broken
Working vs. broken, side by side — Square Online → AppsFlyer
Normal, not a fault
The AppsFlyer device identifier, appsflyer_id present on the order
Sent from the Square transaction 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
Square Online sites are frequently on a Square-provided domain, and checkout may hand off to Square-hosted payment pages depending on configuration.
Sent from the browser
The convenience of one ledger is also the trap. If the sales channel is not filtered, every card swipe at the register lands in your ad reporting as a conversion you paid for.
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
Square Online → AppsFlyer · diagnose
Diagnostic order — Square Online → AppsFlyer
- 01
Count orders carrying the AppsFlyer device identifier, appsflyer_id
- 02
Follow one real conversion end to end
- 03
Filter by sales channel and re-check the total
Compare the filtered online total against Square Online's own order count. If they disagree, the filter is wrong before the tracking is.
- 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.
- 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.
Square Online → AppsFlyer · prove
How it gets proven — Square Online → AppsFlyer
Source of truth
Square transactions filtered to the online sales channel, by location.
- 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.
- Online-channel transactions reconciled against imported conversions for a settled week.
Square Online → 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
- 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
Square transactions filtered to the online sales channel, by location.
Free30 minutesNo obligation
Square Online → AppsFlyer · when not to buy
When you don't need this — Square Online → AppsFlyer
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the AppsFlyer device identifier, appsflyer_id.
- If Square Online is a small side channel next to your counter business, measure it on order count and do not build an import for 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.
Square Online → AppsFlyer · what we deliver
What gets built — Square Online → AppsFlyer
Identifier capture into Square Online
Persist the identifier in first-party storage on your own domain before the handoff, and reattach it to the order at the point the transaction is written.
Event source: the Square transaction record
Send net of tips and taxes. Tips on food orders are substantial and are not your revenue.
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 appear in Square as their own records and should be sent as reversals.
Written guarantee
95%+ tracking accuracy
Measured against Square transactions filtered to the online sales channel, by location.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Square Online → AppsFlyer questions, answered
No. Web orders carry no AppsFlyer device ID; send them to your ad platforms directly and use AppsFlyer only for app installs and in-app orders.
Send each app order once, from Square's completed order with the Square order ID, and do not also send revenue from the SDK.
Almost always because the AppsFlyer device identifier, appsflyer_id never reached the Square Online order. Square Online sites are frequently on a Square-provided domain, and checkout may hand off to Square-hosted payment pages depending on configuration. Measure coverage before debugging the dispatch.
AppsFlyer assigns its own device ID and matches installs to clicks through referrer data on Android and Apple's frameworks on iOS. There is no durable cross-device identifier. On iOS without ATT consent, attribution falls back to SKAdNetwork, which returns aggregated conversion values on a delay with no user-level detail at all — so a share of your installs will be attributable only in aggregate, permanently.
The Square transaction record. Send net of tips and taxes. Tips on food orders are substantial and are not your revenue.
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.
More on Square Online → AppsFlyer
- Square Online → Google AdsConnecting Square Online to Google Ads
- Square Online → MetaConnecting Square Online to Meta Conversions API
- Square Online → GA4Connecting Square Online to GA4
RELATED GUIDES
Where Square Online → AppsFlyer fits in the rest of your tracking
- Otter → AppsFlyerConnecting Otter to AppsFlyer
- DoorDash → AppsFlyerConnecting DoorDash to AppsFlyer
- Olo → AppsFlyerConnecting Olo to AppsFlyer
- RestaurantsConversion tracking for restaurants, across reservations, orders and calls
- Toast → AppsFlyerConnecting Toast to AppsFlyer
- Deliverect → AppsFlyerConnecting Deliverect to AppsFlyer
- Slice → AppsFlyerConnecting Slice to AppsFlyer
- ChowNow → AppsFlyerConnecting ChowNow to AppsFlyer
Free · 30 min
Get Square Online and AppsFlyer joined properly
Free30 minutesNo obligation
