Skip to main content
Medusa → Amazon AdsIntegration guide

Connecting Medusa to Amazon 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. Amazon Ads spans two entirely different situations, and most guidance discusses them as though they were one. The join between them succeeds or fails on one thing: whether a click identifier only for off-Amazon destinations reaches the Medusa order before the conversion happens, because Amazon Ads can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Medusa and Amazon Ads: only DSP traffic to your storefront joins

Amazon sponsored-ad sales happen in Amazon's checkout and never become Medusa orders. Only Amazon DSP driving to your Medusa storefront fits: store the DSP click parameter in cart metadata and upload paid orders from a payment-capture subscriber, if your account allows server-side upload. Skip any Amazon marketplace sales channel imported into Medusa.

A Medusa store is your own storefront on your own domain, so Amazon sponsored ads that send shoppers to an Amazon listing have nothing to do with it: those sales happen in Amazon's checkout and never become a Medusa order. Amazon Attribution can measure your off-Amazon ads that drive to Amazon listings, but it will never see a Medusa order.

The one real integration is Amazon DSP pointed at your Medusa storefront. Then it is an ordinary build: the storefront reads the DSP click parameter on landing (confirm which one your DSP setup appends), writes it into cart metadata alongside your other click IDs, and a subscriber on payment capture uploads the paid order as an off-Amazon conversion. Because you own the subscriber code, you can run it end to end against a test payment before going live, which most hosted platforms do not let you do. Check whether your DSP account is enabled for server-side conversion upload.

If you also sell on Amazon and pull Amazon orders into Medusa for fulfilment, as some teams do through a dedicated sales channel, have the subscriber skip that channel before sending anywhere. Otherwise an Amazon marketplace sale is reported to Google or Meta as one of their conversions.

Medusa → Amazon Ads · what breaks

Why this join usually fails — Medusa → Amazon Ads

  1. 01

    A click identifier only for off-Amazon destinations 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

    Per-order attribution promised on Amazon-completed sales

    It does not exist and cannot be built. Amazon owns the checkout and does not release the join. Any proposal offering per-order attribution on sales completing inside Amazon is describing something unavailable.

  4. 04

    Nothing reconciles afterwards

    For off-Amazon conversions, reconcile normally against your own records. For on-Amazon sales, Amazon Attribution is aggregated and delayed by construction — it cannot be reconciled per order and is not meant to be.

Medusa → Amazon Ads · the fix

What working looks like — Medusa → Amazon Ads

  • A click identifier only for off-Amazon destinations on every order

  • Conversions arriving in Amazon Ads

    Off-Amazon conversions appear against the campaign. On-Amazon sales appear in Amazon's aggregated attribution reporting, delayed.

  • Reconciled against the source

Medusa → Amazon Ads · architecture

How Medusa and Amazon 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

    Amazon Ads needs a click to match

    For off-Amazon destinations, an event with a value and the click identifier. For on-Amazon conversions, nothing — the measurement is not yours to do and Amazon Attribution provides aggregated reporting instead.

  3. 3

    The identifier is the bridge

    A click identifier only for off-Amazon destinations, 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

    Only relevant for off-Amazon conversions where both a tag and a server event exist. For on-Amazon purchases the question does not arise, because you are not measuring the conversion at all.

Medusa → Amazon Ads · normal or broken

Working vs. broken, side by side — Medusa → Amazon Ads

Normal, not a fault

  • A click identifier only for off-Amazon destinations present on the order

  • Sent from a Medusa subscriber on order payment capture

  • Deduplicated correctly

    Only relevant for off-Amazon conversions where both a tag and a server event exist. For on-Amazon purchases the question does not arise, because you are not measuring the conversion at all.

  • Reconciles with the source

Actually broken

  • A click identifier only for off-Amazon destinations 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

    It does not exist and cannot be built. Amazon owns the checkout and does not release the join. Any proposal offering per-order attribution on sales completing inside Amazon is describing something unavailable.

  • Nobody has reconciled it

Medusa → Amazon Ads · diagnose

Diagnostic order — Medusa → Amazon Ads

  1. 01

    Count orders carrying a click identifier only for off-Amazon destinations

  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

    Establish which Amazon product and which destination you are running

    On-Amazon and off-Amazon are different measurement problems, and conflating them wastes the entire engagement.

  5. 05

    Read the match rate, not the success message

    For off-Amazon conversions, reconcile normally against your own records. For on-Amazon sales, Amazon Attribution is aggregated and delayed by construction — it cannot be reconciled per order and is not meant to be.

Medusa → Amazon Ads · prove

How it gets proven — Medusa → Amazon Ads

Source of truth

Medusa orders by payment status, emitted from your own subscriber code.

  • A click identifier only for off-Amazon destinations confirmed present on a live order.
  • The ad product and destination confirmed in writing before any build, so the right measurement question is being answered.
  • Payment-captured orders reconciled against imported conversions.

Medusa → Amazon Ads · free audit

What we check in the free audit

  • Count orders carrying a click identifier only for off-Amazon destinations
  • Follow one real conversion end to end
  • Check which event your subscriber listens to
  • Establish which Amazon product and which destination you are running
  • 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 → Amazon Ads · when not to buy

When you don't need this — Medusa → Amazon Ads

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry a click identifier only for off-Amazon destinations.
  • If every payment method you accept is instant, the two events nearly coincide and the distinction costs more than it returns.
  • If all your Amazon spend drives to Amazon listings, there is no conversion tracking build here — only a reporting exercise in Amazon's own tools.

Medusa → Amazon Ads · what we deliver

What gets built — Medusa → Amazon 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 Amazon Ads

    Conversion upload for off-Amazon destinations. For on-Amazon sales, Amazon's own attribution reporting is the only view.

  • 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 → Amazon Ads questions, answered

Only Amazon DSP campaigns that send traffic to your Medusa storefront, using a click parameter you capture and upload. Sponsored ads to Amazon listings convert inside Amazon.

Free · 30 min

Get Medusa and Amazon Ads joined properly

Free30 minutesNo obligation