Connecting Squarespace Commerce to AppsFlyer
Squarespace prioritises design simplicity over extensibility, so what you can instrument is bounded by what the platform chooses to expose. 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 Squarespace 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 for a Squarespace store: only if an app sits beside it
Squarespace purchases carry no AppsFlyer device ID, so AppsFlyer applies only to a brand with a native app beside the store. Keep app purchases in AppsFlyer and send Squarespace orders to each ad platform's web conversion API directly. Never route web orders through AppsFlyer, or networks receive them disguised as in-app events.
AppsFlyer attributes app installs and in-app events, and a Squarespace Commerce purchase happens in a browser with no AppsFlyer device ID anywhere near it. Sending Squarespace orders to AppsFlyer's server-to-server API produces events with nothing to attribute to, which land as organic or get dropped. If all your revenue is on the Squarespace site, AppsFlyer is not your destination.
It matters for a brand with a native app and a Squarespace web store selling the same products. Then the question is which revenue lives where. App purchases go to AppsFlyer from the app's SDK or your backend; Squarespace orders go to web destinations. A customer who installed from a paid campaign and later ordered on the website is the interesting case, and joining them needs a shared login; check whether AppsFlyer's web or web-to-app attribution features are in your contract before planning around them.
Do not route Squarespace orders through AppsFlyer to reach ad networks just because AppsFlyer already forwards app events to them. The networks would receive web purchases dressed as in-app events, optimize app campaigns toward them, and report revenue the app never generated. Send Squarespace orders to each ad platform's web conversion API directly, and keep AppsFlyer's revenue figure limited to what happened in the app.
Squarespace → AppsFlyer · what breaks
Why this join usually fails — Squarespace → AppsFlyer
- 01
The AppsFlyer device identifier, appsflyer_id never reaches Squarespace
Checkout runs on Squarespace's infrastructure with limited script access, so an identifier held in a cookie on your pages does not reliably reach the order. What survives has to be tested rather than assumed.
- 02
Platform limits mistaken for implementation failures
Squarespace restricts what runs at checkout by design. A setup that works on Shopify will not simply port, and the gap is the platform rather than the build.
- 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.
Squarespace → AppsFlyer · the fix
What working looks like — Squarespace → 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
Squarespace Commerce's own records are the reference, not either dashboard.
Squarespace → AppsFlyer · architecture
How Squarespace and AppsFlyer actually connect
- 1
Squarespace Commerce holds the truth
Squarespace holds the order cleanly. The constraint is access — code injection is limited and checkout customisation more so, which caps what a browser-side approach can achieve.
- 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 Squarespace order.
- 4
The event source decides reliability
Send from the webhook rather than the confirmation page, which has restricted script access and may not run what you expect.
- 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.
Squarespace → AppsFlyer · normal or broken
Working vs. broken, side by side — Squarespace → AppsFlyer
Normal, not a fault
The AppsFlyer device identifier, appsflyer_id present on the order
Visible on the record itself in Squarespace Commerce, not merely captured somewhere on the site.
Sent from the Squarespace 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
AppsFlyer's count and Squarespace Commerce's records agree within a few percent over a closed window.
Actually broken
The AppsFlyer device identifier, appsflyer_id missing on most records
Checkout runs on Squarespace's infrastructure with limited script access, so an identifier held in a cookie on your pages does not reliably reach the order. What survives has to be tested rather than assumed.
Sent from the browser
Squarespace restricts what runs at checkout by design. A setup that works on Shopify will not simply port, and the gap is the platform rather than the build.
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
The dashboard shows a number and no one has compared it to Squarespace Commerce.
Squarespace → AppsFlyer · diagnose
Diagnostic order — Squarespace → AppsFlyer
- 01
Count orders carrying the AppsFlyer device identifier, appsflyer_id
- 02
Follow one real conversion end to end
- 03
Test what actually reaches the order record
One real purchase tells you more than the documentation about what this platform preserves.
- 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.
Squarespace → AppsFlyer · prove
How it gets proven — Squarespace → AppsFlyer
Against Squarespace Commerce's own records, not against either platform's dashboard.
Source of truth
Squarespace's order records for the same window.
- 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.
- A test purchase with the identifier confirmed retrievable from the Squarespace order.
Squarespace → 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
- Test what actually reaches the order record
- Check what share of your revenue happens in the app at all
- Read the match rate, not the success message
Checked against
Squarespace's order records for the same window.
Free30 minutesNo obligation
Squarespace → AppsFlyer · when not to buy
When you don't need this — Squarespace → AppsFlyer
- If AppsFlyer already reports conversions that reconcile against Squarespace Commerce's records within a few percent, this join is working and there is nothing to buy.
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the AppsFlyer device identifier, appsflyer_id.
- For a small Squarespace store, the native integrations plus honest reporting may be the right answer — the platform's ceiling is real.
- 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.
Squarespace → AppsFlyer · what we deliver
What gets built — Squarespace → AppsFlyer
Identifier capture into Squarespace
Capture the identifier and pass it through the supported order form fields or the commerce API, verifying on a real order which values persist.
Event source: the Squarespace order webhook
Send from the webhook rather than the confirmation page, which has restricted script access and may not run what you expect.
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 are recorded against the order.
Written guarantee
95%+ tracking accuracy
Measured against Squarespace's order records for the same window.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Squarespace → AppsFlyer questions, answered
Not as app attribution, because website orders have no AppsFlyer device ID. Check whether your AppsFlyer plan includes web attribution features before assuming it can.
No. Send them to each platform's web conversion API directly so they are not reported as in-app revenue.
Almost always because the AppsFlyer device identifier, appsflyer_id never reached the Squarespace order. Checkout runs on Squarespace's infrastructure with limited script access, so an identifier held in a cookie on your pages does not reliably reach the order. What survives has to be tested rather than assumed. 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 Squarespace order webhook. Send from the webhook rather than the confirmation page, which has restricted script access and may not run what you expect.
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 Squarespace → AppsFlyer
- Squarespace → Google AdsConnecting Squarespace Commerce to Google Ads
- Squarespace → MetaConnecting Squarespace Commerce to Meta Conversions API
- Squarespace → GA4Connecting Squarespace Commerce to GA4
RELATED GUIDES
Where Squarespace → AppsFlyer fits in the rest of your tracking
- Checkout Extensibility → AppsFlyerConnecting Shopify Checkout Extensibility to AppsFlyer
- Braintree → AppsFlyerConnecting Braintree to AppsFlyer
- WooCommerce Subscriptions → AppsFlyerConnecting WooCommerce Subscriptions to AppsFlyer
- FashionConversion tracking for fashion brands, reported net of returns
- Swell → AppsFlyerConnecting Swell to AppsFlyer
- BigCommerce → AppsFlyerConnecting BigCommerce to AppsFlyer
- Magento → AppsFlyerConnecting Magento to AppsFlyer
- Wix → AppsFlyerConnecting Wix Stores to AppsFlyer
Free · 30 min
Get Squarespace and AppsFlyer joined properly
Free30 minutesNo obligation
