Connecting Sanity to Apple Search Ads
Sanity is a headless content platform, which means like every headless CMS it holds no commercial record and the tracking question lives elsewhere. Apple Search Ads sells App Store placement, which means it lives entirely inside Apple's privacy framework and behaves unlike every other destination here. The join between them succeeds or fails on one thing: whether no user-level click identifier reaches the front-end conversion, not a Sanity record before the conversion happens, because Apple Search Ads can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Sanity and Apple Search Ads: there is no conversion path to build
There is nothing to join: Apple Search Ads attributes installs through AdServices in your iOS app, and no Sanity document or website conversion can be reported to it. If the app pulls onboarding or offers from Sanity, record the document _id and _rev as properties on in-app events in your MMP, so performance dips can be traced to content publishes.
There is nothing to join between these two. Apple Search Ads attributes App Store installs through Apple's AdServices framework inside your iOS app, and reports results at campaign level. No Sanity document, webhook or front-end event becomes an Apple Search Ads conversion, and a sign-up or purchase on a Sanity-built website cannot be reported back to an Apple Search Ads campaign at all. There is no web tag for it to install.
Sanity does touch the outcome in one case: when the app itself pulls screens, onboarding or offers from Sanity. Post-install conversion then depends on content editors control, and a keyword campaign that starts underperforming may be reacting to a changed onboarding screen rather than a bid. Record which Sanity document and revision the app showed, the _id and _rev, as properties on your in-app events in your MMP, so a dip can be traced to a content publish date.
The sane setup is short. Handle the AdServices attribution token in the app, report post-install events through your MMP if you use one, and keep Sanity out of the measurement path. Custom product page content for App Store variants is set up in App Store Connect, not in your CMS, so there is no reason to model it in Sanity either.
Sanity → Apple Search Ads · what breaks
Why this join usually fails — Sanity → Apple Search Ads
- 01
No user-level click identifier never reaches Sanity
The front-end application does the routing, the caching and the identifier capture. Single-page navigation is the usual failure and it belongs to the framework rather than to Sanity.
- 02
A headless stack diagnosed at the wrong layer
Route changes not tracked, identifiers lost between pages — these are front-end framework problems that get filed against the CMS because that is the name everyone knows.
- 03
Expecting per-user attribution that does not exist
Teams arrive expecting a click ID to join against and there is not one. Apple's framework is aggregate by design, with thresholds and delays, and no vendor can engineer around it.
- 04
Nothing reconciles afterwards
Apple Search Ads reports at campaign level with built-in delay and privacy thresholds. Reconciling it per user against your own records is not possible by design; compare install and post-install volumes at aggregate level over a settled window instead.
Sanity → Apple Search Ads · the fix
What working looks like — Sanity → Apple Search Ads
No user-level click identifier on every conversion
Conversions arriving in Apple Search Ads
Results appear in Apple Search Ads reporting at campaign or keyword level, aggregated and delayed by design rather than by fault.
Reconciled against the source
Sanity → Apple Search Ads · architecture
How Sanity and Apple Search Ads actually connect
- 1
Sanity holds the truth
Sanity's real-time content APIs make it excellent at what it does and irrelevant to conversion measurement. Establishing that early saves the client money.
- 2
Apple Search Ads needs a click to match
Apple Search Ads needs the install and post-install events reported through its supported attribution path. There is no offline conversion upload in the sense the other platforms mean it, and expecting one is the usual source of wasted effort.
- 3
The identifier is the bridge
No user-level click identifier, captured at the visit and carried into the front-end conversion, not a Sanity record.
- 4
The event source decides reliability
Send from wherever the money is recorded, not from the content layer.
- 5
Deduplication at the destination
Deduplication is largely not your problem here, because you are not sending duplicate user-level events — Apple aggregates. What matters instead is not double-counting an install across your own MMP and Apple's reporting.
Sanity → Apple Search Ads · normal or broken
Working vs. broken, side by side — Sanity → Apple Search Ads
Normal, not a fault
No user-level click identifier present on the conversion
Sent from your commerce or CRM system
Deduplicated correctly
Deduplication is largely not your problem here, because you are not sending duplicate user-level events — Apple aggregates. What matters instead is not double-counting an install across your own MMP and Apple's reporting.
Reconciles with the source
Actually broken
No user-level click identifier missing on most records
The front-end application does the routing, the caching and the identifier capture. Single-page navigation is the usual failure and it belongs to the framework rather than to Sanity.
Sent from the browser
Route changes not tracked, identifiers lost between pages — these are front-end framework problems that get filed against the CMS because that is the name everyone knows.
Counted twice, or not at all
Teams arrive expecting a click ID to join against and there is not one. Apple's framework is aggregate by design, with thresholds and delays, and no vendor can engineer around it.
Nobody has reconciled it
Sanity → Apple Search Ads · diagnose
Diagnostic order — Sanity → Apple Search Ads
- 01
Count conversions carrying no user-level click identifier
- 02
Follow one real conversion end to end
- 03
Identify the front-end framework, not the CMS
The routing behaviour that breaks tracking belongs to Next.js, Nuxt or whatever renders the site.
- 04
Check whether your reporting expectations match Apple's framework
If someone has promised per-user joins on App Store installs, that is the problem — not the implementation.
- 05
Read the match rate, not the success message
Apple Search Ads reports at campaign level with built-in delay and privacy thresholds. Reconciling it per user against your own records is not possible by design; compare install and post-install volumes at aggregate level over a settled window instead.
Sanity → Apple Search Ads · prove
How it gets proven — Sanity → Apple Search Ads
Source of truth
Your commerce, CRM or billing system — Sanity has no orders and no customers.
- No user-level click identifier confirmed present on a live conversion.
- Aggregate install and post-install volumes reconciled over a settled window, with the framework's delay stated.
- The conversion confirmed sourced from the commerce system, with front-end routing verified separately.
Sanity → Apple Search Ads · free audit
What we check in the free audit
- Count conversions carrying no user-level click identifier
- Follow one real conversion end to end
- Identify the front-end framework, not the CMS
- Check whether your reporting expectations match Apple's framework
- Read the match rate, not the success message
Checked against
Your commerce, CRM or billing system — Sanity has no orders and no customers.
Free30 minutesNo obligation
Sanity → Apple Search Ads · when not to buy
When you don't need this — Sanity → Apple Search Ads
- Measure identifier coverage yourself first — pull your last hundred conversions and count how many carry no user-level click identifier.
- There is no Sanity-specific build. Fix the front end and the commerce integration; the CMS is not in the path.
- If you have no iOS app, this destination does not apply at all — and if you do, budget for aggregate reporting rather than the per-order joins the rest of this library describes.
Sanity → Apple Search Ads · what we deliver
What gets built — Sanity → Apple Search Ads
Identifier capture into Sanity
Capture and persist the identifier server-side in the front-end application, then carry it into the system that records the sale.
Event source: your commerce or CRM system
Send from wherever the money is recorded, not from the content layer.
Dispatch to Apple Search Ads
Attribution through Apple's own APIs, with post-install events reported through your mobile measurement partner where you use one.
Reversals where they exist
Handled by the commerce system.
Written guarantee
95%+ tracking accuracy
Measured against Your commerce, CRM or billing system — Sanity has no orders and no customers.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Sanity → Apple Search Ads questions, answered
No. Apple Search Ads measures installs and in-app events through Apple's frameworks; website conversions have no route back to it.
Not for measurement. Sanity can supply content your app displays, but attribution happens in the app through AdServices and your MMP.
Almost always because no user-level click identifier never reached the front-end conversion, not a Sanity record. The front-end application does the routing, the caching and the identifier capture. Single-page navigation is the usual failure and it belongs to the framework rather than to Sanity. Measure coverage before debugging the dispatch.
This is the important difference and most guidance glosses it. Apple does not hand you a per-user click identifier to join against. Attribution runs through Apple's own APIs and privacy frameworks, which return campaign-level and aggregated results with deliberate delay and thresholds. You get an attribution token at install and campaign-level reporting afterwards — not a click ID you can put on a customer record.
Your commerce or CRM system. Send from wherever the money is recorded, not from the content layer.
Apple Search Ads reports at campaign level with built-in delay and privacy thresholds. Reconciling it per user against your own records is not possible by design; compare install and post-install volumes at aggregate level over a settled window instead.
More on Sanity → Apple Search Ads
- Stripe → Apple Search AdsConnecting Stripe to Apple Search Ads
- PayPal → Apple Search AdsConnecting PayPal to Apple Search Ads
- Shopify → Apple Search AdsConnecting Shopify to Apple Search Ads
RELATED GUIDES
Where Sanity → Apple Search Ads fits in the rest of your tracking
- Duda → Apple Search AdsConnecting Duda to Apple Search Ads
- Drupal Commerce → Apple Search AdsConnecting Drupal Commerce to Apple Search Ads
- AEM → Apple Search AdsConnecting Adobe Experience Manager to Apple Search Ads
- Sanity → QuoraConnecting Sanity to Quora Ads
- Sanity → Google AdsConnecting Sanity to Google Ads
- Local servicesConversion tracking for local businesses, where most conversions bypass the website
- Sitecore → Apple Search AdsConnecting Sitecore to Apple Search Ads
- Umbraco → Apple Search AdsConnecting Umbraco to Apple Search Ads
Free · 30 min
Get Sanity and Apple Search Ads joined properly
Free30 minutesNo obligation
