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.
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
| Part | What it is | Needed? |
|---|---|---|
Brand-Electric-Kettle-1-7L | Product name, for readability | No |
/dp/B07XJ8C8F5 | The product | Yes |
ref=sr_1_3 | Where the click came from inside Amazon | No |
keywords=, qid=, sr=, crid= | Your search on Amazon | No |
th=1, psc=1 | Picks a specific size or colour | Sometimes |
tag= | Your tracking ID | Yes 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:
| Link | Result |
|---|---|
amazon.com/dp/B07XJ8C8F5?tag=mysite-20 | Tag read ✔ |
amazon.com/dp/B07XJ8C8F5?th=1&tag=mysite-20 | Tag read ✔ |
amazon.com/dp/B07XJ8C8F5?th=1?tag=mysite-20 | Tag 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.
Other link types
| Type | Example | Notes |
|---|---|---|
| Product | /dp/ASIN?tag= | The standard; stock can be checked |
| Short link | amzn.to/3xYzAbc | Made 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 |
How to build clean links
- 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?
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?
?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?
/dp/ are for people and search engines. Amazon finds the product by the ASIN alone.Are long Amazon links with ref= and qid= bad?
/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.