Affiliwatch Get Affiliwatch

Amazon affiliate links

Amazon affiliate link format: the anatomy of a link that pays

An Amazon affiliate link needs three things: a store, a product and your tag. Everything else is optional. Knowing which parts matter makes broken links easy to spot, including the most expensive mistake of all.

An Amazon affiliate link split into store (www.amazon.com), ASIN (B07XJ8C8F5) and tracking ID (tag=mysite-20).

The three parts that matter

https://www.amazon.com/dp/B07XJ8C8F5?tag=mysite-20
        \____________/    \________/ \___________/
            store            ASIN     tracking ID
  • Store decides which Amazon the reader lands on and which Associates program pays. Your tag must belong to that store.
  • ASIN identifies the product. Amazon finds the product by these 10 characters. What is an ASIN?
  • Tracking ID (tag=) says who gets paid. How tracking IDs work.

That's a complete, working product link. Everything else is optional.

What the other parts mean

A link copied from your browser usually looks more like this:

https://www.amazon.com/Brand-Electric-Kettle-1-7L/dp/B07XJ8C8F5/ref=sr_1_3?crid=2XK&keywords=electric+kettle&qid=1731830400&sr=8-3&th=1
PartWhat it isNeeded?
Brand-Electric-Kettle-1-7LProduct name, for readabilityNo
/dp/B07XJ8C8F5The productYes
ref=sr_1_3Where the click came from inside AmazonNo
keywords=, qid=, sr=, crid=Your search on AmazonNo
th=1, psc=1Picks a specific size or colourSometimes
tag=Your tracking IDYes for an affiliate link

The second "?" mistake

This is the most expensive formatting error, because the link looks fine and opens the right product.

A URL can have only one ?. It starts the list of parameters, and every parameter after it is joined with &. If a tag is added after a second ?, Amazon doesn't read it:

LinkResult
amazon.com/dp/B07XJ8C8F5?tag=mysite-20Tag read ✔
amazon.com/dp/B07XJ8C8F5?th=1&tag=mysite-20Tag read ✔
amazon.com/dp/B07XJ8C8F5?th=1?tag=mysite-20Tag ignored ✘

It usually happens when someone adds ?tag= by hand to a link that already had a ?, or when a plugin or template appends the tag without checking. Amazon's Commission Income Statement says purchases are disqualified when links are improperly formatted and not tracked correctly, so these clicks earn nothing.

The fix is one character: change the second ? to &. The free link checker flags every link where this has happened.

TypeExampleNotes
Product/dp/ASIN?tag=The standard; stock can be checked
Short linkamzn.to/3xYzAbcMade by SiteStripe; hides the product and tag. More
Search/s?k=coffee+grinder&tag=Works, but stock can't be checked
Category or store page/b?node=…&tag= or /stores/…Fine for browsing links
Add to cart/gp/aws/cart/add.html?ASIN.1=…&AssociateTag=Puts the product in the cart
  • SiteStripe builds links from the Amazon page you're viewing, with your tag included. It's Amazon's own tool and the safest default. How to use SiteStripe.
  • A link generator turns any product URL or ASIN into a clean /dp/ link with your tag, which is handy for many links at once. Try the free link generator.
  • By hand: https://www.amazon.com/dp/ + ASIN + ?tag= + your tag. Use this only if you check the result.

Whatever you use, add rel="sponsored" to the link in your HTML. Why Google asks for it.

What Amazon doesn't allow

  • Hiding where the link goes. Amazon's policies forbid cloaking or obscuring Special Links, and link shorteners or buttons that make it unclear you're linking to Amazon. Purchases through redirecting links can be disqualified.
  • Links in places Amazon excludes, such as printed material and ebooks. See Amazon Associates rules.

Amazon's own amzn.to short links are made by Amazon for Associates, so they don't fall foul of the shortener rule.

Questions people ask

What is the correct Amazon affiliate link format?
The shortest working product link is https://www.amazon.com/dp/ASIN?tag=yourtag-20. Other parameters can come before the tag as long as the tag follows &, not a second ?.
Can I add my tag to any Amazon URL?
Yes. Adding ?tag=yourtag-20 (or &tag=yourtag-20 if the URL already has a ?) to an Amazon page address makes it an Associates link. SiteStripe does the same thing for you.
Does the product name in the URL matter?
No. The words before /dp/ are for people and search engines. Amazon finds the product by the ASIN alone.
Are long Amazon links with ref= and qid= bad?
They work, but they carry search and session data that means nothing to your reader, and they make mistakes harder to see. A clean /dp/ link is easier to check.

Sources

Checked on November 17, 2026. Amazon changes its terms from time to time; the linked pages are the final word.

  1. Amazon Associates Program Policies (Commission Income Statement, improperly formatted links)
  2. Amazon Associates help: SiteStripe