Connecting Craft CMS to Apple Search Ads
Craft is a developer-oriented CMS, usually built bespoke by an agency, which means the implementation is whatever that agency decided and nothing is standard. 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 Craft Commerce order 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
Craft CMS and Apple Search Ads: only if Craft feeds an app
A Craft website has nothing to send Apple Search Ads, which attributes installs inside the iOS app. Only in headless setups serving an app does Craft help: store the AdServices campaign result on the user record, then group later Commerce orders by campaign in your own reporting, comparing totals at campaign level.
A Craft website has nothing to send Apple Search Ads. It sells App Store placement and attributes installs through Apple's own frameworks inside the iOS app; a Craft Commerce web order is invisible to it and there is no upload path for one. If your conversions happen on a Craft site, put the effort into the web ad platforms instead.
The case where Craft is involved is headless: Craft serving content, and sometimes Commerce carts, to an iOS app through its GraphQL API. Even then attribution happens in the app, which requests an attribution token through Apple's AdServices framework and resolves campaign data through Apple or your mobile measurement partner. Craft's only useful role is storing that campaign result on the user record, so later orders placed through the Craft Commerce backend can be grouped by campaign in your own reporting.
Do not expect to join Apple Search Ads campaigns to individual Commerce orders in Apple's reporting; that is aggregate by design. Count installs and post-install purchases from Craft-backed carts at campaign level over a settled window and compare totals. If the app is a thin wrapper around the website, ask whether paying for App Store placement makes sense at all before building anything.
Craft → Apple Search Ads · what breaks
Why this join usually fails — Craft → Apple Search Ads
- 01
No user-level click identifier never reaches Craft
Craft's template caching and static caching plugins both serve stored output, and because every build is custom, where the capture code lives differs per site. There is no standard place to look.
- 02
Every install is bespoke
There is no standard Craft setup, so an approach that worked on another Craft site may have nothing to attach to on this one. Read the build before quoting.
- 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.
Craft → Apple Search Ads · the fix
What working looks like — Craft → Apple Search Ads
No user-level click identifier on every order
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
Craft CMS's own records are the reference, not either dashboard.
Craft → Apple Search Ads · architecture
How Craft and Apple Search Ads actually connect
- 1
Craft CMS holds the truth
Craft installs are bespoke by nature. Establish how this particular build models a completed order before assuming anything transfers from another Craft site.
- 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 Craft Commerce order.
- 4
The event source decides reliability
Fire from the event listener in PHP rather than a Twig template, which may be cached.
- 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.
Craft → Apple Search Ads · normal or broken
Working vs. broken, side by side — Craft → Apple Search Ads
Normal, not a fault
No user-level click identifier present on the order
Visible on the record itself in Craft CMS, not merely captured somewhere on the site.
Sent from the Craft Commerce order-complete event
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
Apple Search Ads's count and Craft CMS's records agree within a few percent over a closed window.
Actually broken
No user-level click identifier missing on most records
Craft's template caching and static caching plugins both serve stored output, and because every build is custom, where the capture code lives differs per site. There is no standard place to look.
Sent from the browser
There is no standard Craft setup, so an approach that worked on another Craft site may have nothing to attach to on this one. Read the build before quoting.
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
The dashboard shows a number and no one has compared it to Craft CMS.
Craft → Apple Search Ads · diagnose
Diagnostic order — Craft → Apple Search Ads
- 01
Count orders carrying no user-level click identifier
- 02
Follow one real conversion end to end
- 03
Read how this specific build handles order completion
Assumptions carried from another Craft project are the main source of wasted time here.
- 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.
Craft → Apple Search Ads · prove
How it gets proven — Craft → Apple Search Ads
Against Craft CMS's own records, not against either platform's dashboard.
Source of truth
Craft Commerce's order records in your own database, filtered to completed.
- No user-level click identifier confirmed present on a live order.
- Aggregate install and post-install volumes reconciled over a settled window, with the framework's delay stated.
- Order custom field confirmed populated on an order placed as an anonymous visitor through cache.
Craft → Apple Search Ads · free audit
What we check in the free audit
- Count orders carrying no user-level click identifier
- Follow one real conversion end to end
- Read how this specific build handles order completion
- Check whether your reporting expectations match Apple's framework
- Read the match rate, not the success message
Checked against
Craft Commerce's order records in your own database, filtered to completed.
Free30 minutesNo obligation
Craft → Apple Search Ads · when not to buy
When you don't need this — Craft → Apple Search Ads
- If Apple Search Ads already reports conversions that reconcile against Craft CMS'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 no user-level click identifier.
- If the original agency is still engaged, the fastest path is usually specifying the field and having them add the hook.
- 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.
Craft → Apple Search Ads · what we deliver
What gets built — Craft → Apple Search Ads
Identifier capture into Craft
Capture the identifier and store it as a custom field on the order through a Craft event listener, server-side.
Event source: the Craft Commerce order-complete event
Fire from the event listener in PHP rather than a Twig template, which may be cached.
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
Refunds and cancelled orders are recorded against the order.
Written guarantee
95%+ tracking accuracy
Measured against Craft Commerce's order records in your own database, filtered to completed.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Craft → Apple Search Ads questions, answered
No. Apple Search Ads attributes app installs and in-app activity through Apple's frameworks; web orders on a Craft site are outside it entirely.
Attribution still happens in the app through Apple's AdServices framework or your MMP. Craft can store the resulting campaign on the user so you can report revenue by campaign yourself.
Almost always because no user-level click identifier never reached the Craft Commerce order. Craft's template caching and static caching plugins both serve stored output, and because every build is custom, where the capture code lives differs per site. There is no standard place to look. 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.
The Craft Commerce order-complete event. Fire from the event listener in PHP rather than a Twig template, which may be cached.
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 Craft → Apple Search Ads
- Concrete CMS → Apple Search AdsConnecting Concrete CMS to Apple Search Ads
- Stripe → Apple Search AdsConnecting Stripe to Apple Search Ads
- PayPal → Apple Search AdsConnecting PayPal to Apple Search Ads
RELATED GUIDES
Where Craft → Apple Search Ads fits in the rest of your tracking
- Contentful → Apple Search AdsConnecting Contentful to Apple Search Ads
- Statamic → Apple Search AdsConnecting Statamic to Apple Search Ads
- Umbraco → Apple Search AdsConnecting Umbraco to Apple Search Ads
- Craft → LinkedInConnecting Craft CMS to LinkedIn Ads
- Craft → RedditConnecting Craft CMS to Reddit
- Local servicesConversion tracking for local businesses, where most conversions bypass the website
- Sitecore → Apple Search AdsConnecting Sitecore to Apple Search Ads
- AEM → Apple Search AdsConnecting Adobe Experience Manager to Apple Search Ads
Free · 30 min
Get Craft and Apple Search Ads joined properly
Free30 minutesNo obligation
