Skip to main content
Medusa → Apple Search AdsIntegration guide

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

  1. 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.

  2. 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.

  3. 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.

  4. 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. 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. 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. 3

    The identifier is the bridge

    No user-level click identifier, captured at the visit and carried into the Medusa order.

  4. 4

    The event source decides reliability

    Send orders at payment capture, at the paid total.

  5. 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

  1. 01

    Count orders carrying no user-level click identifier

  2. 02

    Follow one real conversion end to end

  3. 03

    Check which event your subscriber listens to

    One line of code, and it decides whether you are counting orders or counting money.

  4. 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.

  5. 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.

Get my free conversion tracking audit

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.

Get my free conversion tracking audit

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.

Free · 30 min

Get Medusa and Apple Search Ads joined properly

Free30 minutesNo obligation