Homeschool Webmasters

Just another A2Z Homeschool Blogs weblog

Writing Your Own Amazon Associate Links

Posted by Ann Zeise on December 24, 2013

This started in the General Amazon Associates forum where Don Wise and I and several others replied multiple times to a thread on building your own links. Don has taken the posts from there, expanded on them, and organized them for here.

You can and should check your links with the link checker. Any link that passes the link checker is fine to use. Do be aware that you can create a link that goes to an Amazon page, has your tag, but doesn’t pass the link checker.

There is no reason to use long links. I like my links as short as possible. I edited down links and tested if they still worked and passed the link checker.

These are examples that you can edit and use. They cover all ways to extract items from Amazon that I am aware of. Hence complete. I wish there was Boolean logic in the search, but there isn’t that I know of.

Remember to change mytagid to your tag id. (Copy this someplace and do a find-and-replace.)

Amazon’s Home Page: http://www.amazon.com/?tag=mytagid-20

Individual Item: http://www.amazon.com/dp/0778801578/?tag=mytagid-20

Link To A Comment: http://www.amazon.com/review/R2RAI8U3PWLJU3/?tag=mytagid-20

Search Within A Department. General searching has the default sort of Relevance.
http://www.amazon.com/gp/search?tag=mytagid-20&index=grocery&keywords=XXX

There is an alternative more generalized format. Components of the URL can be in any order. I prefer to put the part that varies at its end.
http://www.amazon.com/s/?tag=mytagid-20&search-alias=grocery&keywords=XXX

You have to get the correct tag in the link for the department to search in. Some departments have more than one tag that will work for that department.
Use aps (for All Product Search) for the search-alias if you don’t know the department or you want to span multiple departments. No sorting available.

You can add bestselling sort to a search, though your results will usually be flooded with extraneous hits:
http://www.amazon.com/s/?tag=mytagid-20&search-alias=grocery&keywords=XXX&sort=pmrank

You should use a + sign where blanks between words would be in the entered string:
http://www.amazon.com/s/?tag=mytagid-20&search-alias=grocery&keywords=XXX+YYY

Alternatively you can use hex %20 to replace a space. But it is longer and harder to read.
http://www.amazon.com/s/?tag=mytagid-20&search-alias=grocery&keywords=XXX%20YYY

Sometimes you need to tighten up the search by putting double quotes around the search string. The problem is you can’t use double quotes directly in a string. Instead use hex %22. The string becomes:
http://www.amazon.com/s/?tag=mytagid-20&search-alias=grocery&keywords=%22XXX+YYY%22

Search By Brand. Get brand string from Amazon URL after clicking on brand link. This will default to Bestselling sort.
http://www.amazon.com/s/?tag=mytagid-20&search-alias=grocery&field-brandtextbin=XXX

A search by Brand and String can be combined. It defaults back to Relevance sort.
http://www.amazon.com/s/?tag=mytagid-20&search-alias=grocery&field-brandtextbin=XXX&keywords=YYY
A working example (forced to a Bestselling sort):
http://www.amazon.com/s/?tag=mytagid-20&search-alias=grocery&field-brandtextbin=Colorado+Spice&keywords=spice+rubs&sort=pmrank

A Department is actually a Node. The Grocery & Gourmet Food Department has a Node Number, and the following gets the same result as the above examples, which used a department alias. (The Node for Home, Garden & Pets is 1055398.)
http://www.amazon.com/s/?tag=mytagid-20&node=16310101&keywords=XXX

Link To A Bestseller List (Basic single column version with 100 item limit). A bestseller list is simply a Node.
http://www.amazon.com/gp/bestsellers/home-garden/289831/?tag=mytagid-20

Bestseller lists can also be displayed in search format (using b instead of s), with three products across and no limit to the number of items. (One product across when books.) I like it MUCH better.
This is also the same format that you use to Link To A Department/Category Home Page. You just need the node number.
http://www.amazon.com/b/?tag=mytagid-20&node=289831

But a book bestseller list can have over 600 items:
http://www.amazon.com/b/?tag=mytagid-20&node=4636

However, when using this style you can change the sort. There are several available. For example, to see the newest books use this:
http://www.amazon.com/b/?tag=mytagid-20&node=4636&sort=daterank

Or sorted by Avg. Customer Review:
http://www.amazon.com/b/?tag=mytagid-20&node=4636&sort=reviewrank_authority

If you want to do a search within that bestseller list, you switch to a search format (note s instead of b) giving it the node number to search within. It becomes:
http://www.amazon.com/s/?tag=mytagid-20&node=289831&keywords=stainless

And you can search for a brand within a bestseller list. In this example only a single brand is shown for a specific type of knife.
http://www.amazon.com/s/?tag=mytagid-20&node=289857&field-brandtextbin=Wusthof

And the sort can be changed to Price: High to Low.
http://www.amazon.com/s/?tag=mytagid-20&node=289857&field-brandtextbin=Wusthof&sort=-price

~~~~~~~~~~~~~~~~

In my newest page (kitchen equipment) I have added title tags to all my links. Tool tips then display when the cursor is hovered over the link. For these Amazon links I used title tags like these:

title=”Click to go to Amazon.com Home Page”
title=”item”
title=”search”
title=”brand search”
title=”brand + search”
title=”string search”
title=”ranked search”
title=”bestsellers”

title=”outside source”
title=”outside vendor”
title=”reference page”

If you would like to see examples of these in use, go here:
http://paleofoodmall.com/
http://paleofood.com/kitchen-equipment.htm