Connecting Medusa to Apple Search Ads
Medusa is a Node commerce engine you extend in your own codebase, which makes the conversion event a piece of application code — and therefore something that can be tested rather than hoped for. 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 Medusa 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
Medusa behind an iOS shopping app and Apple Search Ads
Relevant only if your Medusa backend serves an iOS app. App orders are paid through your own provider, so Apple never sees them; attribution covers the install. Post purchases to your mobile measurement partner from a Medusa payment-capture subscriber using the device identifier the app stored in cart metadata, and expect aggregate campaign-level answers.
Apple Search Ads only matters to a Medusa store that has an iOS app, and headless commerce makes that more common than with most platforms: the same Medusa backend can serve a web storefront and a native app. Physical goods bought in the app are paid through your own payment provider, not App Store in-app purchase, so the order lives in Medusa and Apple never sees it.
Apple's attribution covers the install, delivered to the app through its AdServices token and usually read by your mobile measurement partner. Getting order revenue against Search Ads campaigns means your MMP has to receive the purchase as a post-install event. The cleanest source is your Medusa subscriber on payment capture, posting the order server-side with the device identifier the app stored in cart metadata, rather than an in-app event fired when the checkout screen closes.
Expect aggregate answers: revenue per campaign or keyword over a period, not a list of which shoppers came from which search. Orders placed later on the web storefront by the same person will not be credited to the app install unless your MMP links the logged-in customer across both, so check how it handles a Medusa customer ID that appears on web and app.
Medusa → Apple Search Ads · what breaks
Why this join usually fails — Medusa → Apple Search Ads
- 01
No user-level click identifier never reaches Medusa
The storefront is separate from the backend, and the identifier must be attached to the cart before the order is created.
- 02
Firing on order placed rather than payment captured
They are different events and the gap between them contains every failed and pending payment. Order-placed is the easier hook and the wrong one.
- 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.
Medusa → Apple Search Ads · the fix
What working looks like — Medusa → 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
Medusa → Apple Search Ads · architecture
How Medusa and Apple Search Ads actually connect
- 1
Medusa holds the truth
Because you own the event handlers, the conversion can fire from the payment-captured event specifically rather than from whatever the frontend happened to render.
- 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 Medusa order.
- 4
The event source decides reliability
Send orders at payment capture, at the paid total.
- 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.
Medusa → Apple Search Ads · normal or broken
Working vs. broken, side by side — Medusa → Apple Search Ads
Normal, not a fault
No user-level click identifier present on the order
Sent from a Medusa subscriber on order payment capture
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 storefront is separate from the backend, and the identifier must be attached to the cart before the order is created.
Sent from the browser
They are different events and the gap between them contains every failed and pending payment. Order-placed is the easier hook and the wrong one.
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
Medusa → Apple Search Ads · diagnose
Diagnostic order — Medusa → Apple Search Ads
- 01
Count orders carrying no user-level click identifier
- 02
Follow one real conversion end to end
- 03
Check which event your subscriber listens to
One line of code, and it decides whether you are counting orders or counting money.
- 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.
Medusa → Apple Search Ads · prove
How it gets proven — Medusa → Apple Search Ads
Source of truth
Medusa orders by payment status, emitted from your own subscriber code.
- 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.
- Payment-captured orders reconciled against imported conversions.
Medusa → 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
- Check which event your subscriber listens to
- Check whether your reporting expectations match Apple's framework
- Read the match rate, not the success message
Checked against
Medusa orders by payment status, emitted from your own subscriber code.
Free30 minutesNo obligation
Medusa → Apple Search Ads · when not to buy
When you don't need this — Medusa → Apple Search Ads
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry no user-level click identifier.
- If every payment method you accept is instant, the two events nearly coincide and the distinction costs more than it returns.
- 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.
Medusa → Apple Search Ads · what we deliver
What gets built — Medusa → Apple Search Ads
Identifier capture into Medusa
Write the identifier into cart metadata at first touch so it is carried onto the order automatically at completion.
Event source: a Medusa subscriber on order payment capture
Send orders at payment capture, at the paid total.
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 emit their own event and should reverse.
Written guarantee
95%+ tracking accuracy
Measured against Medusa orders by payment status, emitted from your own subscriber code.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Medusa → Apple Search Ads questions, answered
Not directly. Report purchases to your mobile measurement partner as post-install events, ideally from the Medusa subscriber on payment capture.
No, physical goods are paid through your own payment provider, so the order and revenue live in Medusa rather than in Apple's records.
Almost always because no user-level click identifier never reached the Medusa order. The storefront is separate from the backend, and the identifier must be attached to the cart before the order is created. 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.
A Medusa subscriber on order payment capture. Send orders at payment capture, at the paid total.
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 Medusa → 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 Medusa → Apple Search Ads fits in the rest of your tracking
- Checkout Extensibility → Apple Search AdsConnecting Shopify Checkout Extensibility to Apple Search Ads
- Wix → Apple Search AdsConnecting Wix Stores to Apple Search Ads
- WooCommerce Subscriptions → Apple Search AdsConnecting WooCommerce Subscriptions to Apple Search Ads
- Medusa → Microsoft AdsConnecting Medusa to Microsoft Ads
- Medusa → PinterestConnecting Medusa to Pinterest
- SupplementsConversion tracking for supplement brands, built around subscription value
- WooCommerce → Apple Search AdsConnecting WooCommerce to Apple Search Ads
- EDD → Apple Search AdsConnecting Easy Digital Downloads to Apple Search Ads
Free · 30 min
Get Medusa and Apple Search Ads joined properly
Free30 minutesNo obligation
