Connecting Sanity to Amazon Ads
Sanity is a headless content platform, which means like every headless CMS it holds no commercial record and the tracking question lives elsewhere. 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 front-end conversion, not a Sanity record 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
Buy on Amazon links in Sanity: Attribution tags chosen per channel
Sanity holds no orders, so nothing goes to Amazon Ads. For a Sanity brand site with Buy on Amazon links, store the plain Amazon URL in Sanity and let the front end pick an Amazon Attribution tag at render or click time from the visitor's landing UTM, with an organic fallback. Expect aggregated, delayed, per-tag reporting.
Sanity holds no orders, so there's nothing for it to send to Amazon Ads. The relevant case is a brand site built on Sanity whose product pages send visitors to Amazon listings through Buy on Amazon links. Amazon Attribution can measure the sales that traffic produces, but only per tag, and where those tags live decides whether the report means anything.
The common mistake is an editor pasting one Attribution-tagged Amazon URL into a Sanity document. Every visitor from every source then clicks the same tag, and Amazon credits all of it to whichever channel that tag was created for. Store the plain Amazon URL in Sanity and have the front end choose the tag at render or click time from the visitor's landing UTM, falling back to an organic-site tag. That logic belongs in the front-end application, not in content editors' hands.
If the site also has its own checkout, those orders are a separate measurement handled by the commerce system, and only Amazon DSP traffic to your site connects to them. Amazon Attribution reporting is aggregated and delayed, so compare channels over weeks, and expect per-tag totals but nothing per customer.
Sanity → Amazon Ads · what breaks
Why this join usually fails — Sanity → Amazon Ads
- 01
A click identifier only for off-Amazon destinations never reaches Sanity
The front-end application does the routing, the caching and the identifier capture. Single-page navigation is the usual failure and it belongs to the framework rather than to Sanity.
- 02
A headless stack diagnosed at the wrong layer
Route changes not tracked, identifiers lost between pages — these are front-end framework problems that get filed against the CMS because that is the name everyone knows.
- 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.
Sanity → Amazon Ads · the fix
What working looks like — Sanity → Amazon Ads
A click identifier only for off-Amazon destinations on every conversion
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
Sanity → Amazon Ads · architecture
How Sanity and Amazon Ads actually connect
- 1
Sanity holds the truth
Sanity's real-time content APIs make it excellent at what it does and irrelevant to conversion measurement. Establishing that early saves the client money.
- 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 front-end conversion, not a Sanity record.
- 4
The event source decides reliability
Send from wherever the money is recorded, not from the content layer.
- 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.
Sanity → Amazon Ads · normal or broken
Working vs. broken, side by side — Sanity → Amazon Ads
Normal, not a fault
A click identifier only for off-Amazon destinations present on the conversion
Sent from your commerce or CRM system
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 front-end application does the routing, the caching and the identifier capture. Single-page navigation is the usual failure and it belongs to the framework rather than to Sanity.
Sent from the browser
Route changes not tracked, identifiers lost between pages — these are front-end framework problems that get filed against the CMS because that is the name everyone knows.
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
Sanity → Amazon Ads · diagnose
Diagnostic order — Sanity → Amazon Ads
- 01
Count conversions carrying a click identifier only for off-Amazon destinations
- 02
Follow one real conversion end to end
- 03
Identify the front-end framework, not the CMS
The routing behaviour that breaks tracking belongs to Next.js, Nuxt or whatever renders the site.
- 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.
Sanity → Amazon Ads · prove
How it gets proven — Sanity → Amazon Ads
Source of truth
Your commerce, CRM or billing system — Sanity has no orders and no customers.
- A click identifier only for off-Amazon destinations confirmed present on a live conversion.
- The ad product and destination confirmed in writing before any build, so the right measurement question is being answered.
- The conversion confirmed sourced from the commerce system, with front-end routing verified separately.
Sanity → Amazon Ads · free audit
What we check in the free audit
- Count conversions carrying a click identifier only for off-Amazon destinations
- Follow one real conversion end to end
- Identify the front-end framework, not the CMS
- Establish which Amazon product and which destination you are running
- Read the match rate, not the success message
Checked against
Your commerce, CRM or billing system — Sanity has no orders and no customers.
Free30 minutesNo obligation
Sanity → Amazon Ads · when not to buy
When you don't need this — Sanity → Amazon Ads
- Measure identifier coverage yourself first — pull your last hundred conversions and count how many carry a click identifier only for off-Amazon destinations.
- There is no Sanity-specific build. Fix the front end and the commerce integration; the CMS is not in the path.
- 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.
Sanity → Amazon Ads · what we deliver
What gets built — Sanity → Amazon Ads
Identifier capture into Sanity
Capture and persist the identifier server-side in the front-end application, then carry it into the system that records the sale.
Event source: your commerce or CRM system
Send from wherever the money is recorded, not from the content layer.
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
Handled by the commerce system.
Written guarantee
95%+ tracking accuracy
Measured against Your commerce, CRM or billing system — Sanity has no orders and no customers.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Sanity → Amazon Ads questions, answered
Store the clean Amazon listing URL in the Sanity document and append the right Attribution tag in the front end based on the visitor's traffic source. One tagged URL hardcoded in content credits every visitor to one channel.
No. It measures sales on Amazon from traffic you send there. Your own checkout is measured through your commerce system.
Almost always because a click identifier only for off-Amazon destinations never reached the front-end conversion, not a Sanity record. The front-end application does the routing, the caching and the identifier capture. Single-page navigation is the usual failure and it belongs to the framework rather than to Sanity. 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.
Your commerce or CRM system. Send from wherever the money is recorded, not from the content layer.
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 Sanity → 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
- Amazon Ads · Free trial → paidHow to track free trial to paid for Amazon Ads
RELATED GUIDES
Where Sanity → Amazon Ads fits in the rest of your tracking
- Amazon Ads · Local servicesAmazon Ads conversion tracking for local service businesses
- Amazon Ads · B2BAmazon Ads conversion tracking for B2B companies
- Amazon Ads × CRM DealsHow to reconcile Amazon Ads against your CRM's closed-won deals
- Amazon Ads · Comparison page → demoHow to track comparison page visit to demo request for Amazon Ads
- Umbraco → Amazon AdsConnecting Umbraco to Amazon Ads
- Sanity → NextdoorConnecting Sanity to Nextdoor Ads
- Local servicesConversion tracking for local businesses, where most conversions bypass the website
- Ghost → Amazon AdsConnecting Ghost memberships to Amazon Ads
Free · 30 min
Get Sanity and Amazon Ads joined properly
Free30 minutesNo obligation
