Connecting WooCommerce to Amazon Ads
WooCommerce keeps the order in your own database, which is both the advantage and the reason nobody has wired it properly. 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 WooCommerce 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
WooCommerce and Amazon Ads: your store orders vs Amazon listings
Separate the halves: sponsored ads and Amazon Attribution measure Amazon listings, never WooCommerce orders. For Amazon DSP to your store, capture the click identifier on landing with PHP, write it to order meta, and send from woocommerce_payment_complete using the upload method Amazon confirms. Compare DSP orders against same-SKU Amazon sales for cannibalization.
Brands with a WooCommerce store and Amazon listings usually run both halves of Amazon Ads without separating them. Sponsored ads and Amazon Attribution tags send people to Amazon listings, and those sales never touch WooCommerce. If your site has Buy on Amazon buttons, Attribution can measure the traffic you send to Amazon from the site and other channels, but it will never see a WooCommerce order.
For Amazon DSP sending traffic to the WooCommerce store, treat it like any other click identifier: capture it on landing with PHP rather than JavaScript, so caching and script-deferring plugins cannot drop it, and write it to order meta. Send the conversion from the woocommerce_payment_complete hook, and check with Amazon which conversion upload or tag method your DSP account supports before writing anything.
The reporting trap is cannibalization. A DSP campaign driving to WooCommerce can pull customers who would have bought the same product on Amazon, or the reverse. Compare WooCommerce order meta for DSP orders against Amazon sales for the same SKUs over the same weeks, and decide which channel you want each product sold through before reading either platform's ROAS.
WooCommerce → Amazon Ads · what breaks
Why this join usually fails — WooCommerce → Amazon Ads
- 01
A click identifier only for off-Amazon destinations never reaches WooCommerce
WooCommerce sites are usually the most heavily plugged-in of any platform. Caching plugins serve a static page to the visitor, optimization plugins defer or strip scripts, and consent plugins block them entirely. Any of the three will stop an identifier being captured, and they fail silently.
- 02
Caching and optimization plugins eat the tracking
The page the customer sees is not the page your code assumed. This is the most common cause of WooCommerce tracking that worked at launch and silently stopped after a plugin update.
- 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.
- 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.
WooCommerce → Amazon Ads · the fix
What working looks like — WooCommerce → 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
WooCommerce → Amazon Ads · architecture
How WooCommerce and Amazon Ads actually connect
- 1
WooCommerce holds the truth
You own the database, so the truth is exactly as good as the query you write against it. Pin the status set first — whether processing, completed, or both count as a conversion changes the number by a lot and is the source of most arguments.
- 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
The identifier is the bridge
A click identifier only for off-Amazon destinations, captured at the visit and carried into the WooCommerce order.
- 4
The event source decides reliability
Fire server-side from the PHP hook rather than from the thank-you page template. Page caching means the thank-you page cannot be relied on to execute anything, and on many stores it is served from cache to a paying customer.
- 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.
WooCommerce → Amazon Ads · normal or broken
Working vs. broken, side by side — WooCommerce → Amazon Ads
Normal, not a fault
A click identifier only for off-Amazon destinations present on the order
Sent from the woocommerce_payment_complete hook
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
WooCommerce sites are usually the most heavily plugged-in of any platform. Caching plugins serve a static page to the visitor, optimization plugins defer or strip scripts, and consent plugins block them entirely. Any of the three will stop an identifier being captured, and they fail silently.
Sent from the browser
The page the customer sees is not the page your code assumed. This is the most common cause of WooCommerce tracking that worked at launch and silently stopped after a plugin update.
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
WooCommerce → Amazon Ads · diagnose
Diagnostic order — WooCommerce → Amazon Ads
- 01
Count orders carrying a click identifier only for off-Amazon destinations
- 02
Follow one real conversion end to end
- 03
Check order meta on ten recent orders
Directly in the database or with a meta viewer. Then disable page caching for the checkout path and see whether coverage changes — if it does, caching is your cause.
- 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.
- 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.
WooCommerce → Amazon Ads · prove
How it gets proven — WooCommerce → Amazon Ads
Source of truth
WooCommerce → Orders (or the wp_wc_order_stats table), for the same window and status set.
- 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.
- Order meta confirmed present on orders placed while full page caching was active.
WooCommerce → 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 order meta on ten recent orders
- Establish which Amazon product and which destination you are running
- Read the match rate, not the success message
Checked against
WooCommerce → Orders (or the wp_wc_order_stats table), for the same window and status set.
Free30 minutesNo obligation
WooCommerce → Amazon Ads · when not to buy
When you don't need this — WooCommerce → 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 you run a small store with no caching layer and a single free plugin already reporting accurately, leave it alone.
- 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.
WooCommerce → Amazon Ads · what we deliver
What gets built — WooCommerce → Amazon Ads
Identifier capture into WooCommerce
Capture the click identifier and persist it as order meta on the order object with a small snippet in the theme's functions or a purpose-built plugin. Order meta lives in your own database, so it survives caching, plugin conflicts and the customer's browser.
Event source: the woocommerce_payment_complete hook
Fire server-side from the PHP hook rather than from the thank-you page template. Page caching means the thank-you page cannot be relied on to execute anything, and on many stores it is served from cache to a paying customer.
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
The refund hooks carry the order ID, so reversals are straightforward once the identifier is on the order.
Written guarantee
95%+ tracking accuracy
Measured against WooCommerce → Orders (or the wp_wc_order_stats table), for the same window and status set.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
WooCommerce → Amazon Ads questions, answered
No. Amazon Attribution measures traffic to Amazon listings. WooCommerce orders can only be joined to Amazon DSP clicks sent to your store.
Read it from the landing URL in PHP, store it in the session or a first-party cookie set by the server, and save it as order meta at checkout.
Almost always because a click identifier only for off-Amazon destinations never reached the WooCommerce order. WooCommerce sites are usually the most heavily plugged-in of any platform. Caching plugins serve a static page to the visitor, optimization plugins defer or strip scripts, and consent plugins block them entirely. Any of the three will stop an identifier being captured, and they fail silently. Measure coverage before debugging the dispatch.
This is the distinction that decides everything. Sponsored formats driving to an Amazon listing produce conversions inside Amazon's checkout — no click identifier reaches you and no per-order join is available to anyone. Amazon DSP driving to your own site is an ordinary integration where a click identifier lands on your page and can be captured like any other network's. Establish which you are running before anything else.
The woocommerce_payment_complete hook. Fire server-side from the PHP hook rather than from the thank-you page template. Page caching means the thank-you page cannot be relied on to execute anything, and on many stores it is served from cache to a paying customer.
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.
More on WooCommerce → Amazon Ads
- WooCommerce Subscriptions → Amazon AdsConnecting WooCommerce Subscriptions to Amazon Ads
- Amazon Ads · Lead → booked callHow to track lead to booked call for Amazon Ads
- Amazon Ads · Booked call → closed wonHow to track booked call to closed won for Amazon Ads
RELATED GUIDES
Where WooCommerce → Amazon Ads fits in the rest of your tracking
- Amazon Ads · Furniture ecommerceAmazon Ads conversion tracking for furniture ecommerce brands
- Amazon Ads · Jewelry ecommerceAmazon Ads conversion tracking for jewelry ecommerce brands
- Amazon Ads × Ecommerce OrdersHow to reconcile Amazon Ads against your store's order table
- Amazon Ads · Add to cart → purchaseHow to track add to cart to purchase for Amazon Ads
- Swell → Amazon AdsConnecting Swell to Amazon Ads
- WooCommerce → TikTokConnecting WooCommerce to TikTok Events API
- Furniture ecommerceConversion tracking for furniture ecommerce, measured after delivery
- Shopify → Amazon AdsConnecting Shopify to Amazon Ads
Free · 30 min
Get WooCommerce and Amazon Ads joined properly
Free30 minutesNo obligation
