Resources for Developers Using Amazon's Product Advertising API
· Home  
· Search  
· Browse Nodes  
· Data Feed?  
· FAQs  
· One-Second Rule  
· PHP Examples  
· Tips for Associates  
· Tools  
· Understanding A2S  

Create a custom Amazon Associate Store in minutes with
Associate-O-Matic.

Disappointed by Amazon.com and the Associates program?

Please consider
Shareasale

Shareasale manages affiliate programs for thousands of merchants. The site makes it easier to apply to programs and create links. And simple-to-use datafeeds are offered by most merchants.

clixGalores Merchant & Affiliate Referral Commission Program

Simple Text Links to Amazon.com

Amazon provides a number of ways to build Associate links to products at Amazon.com, but the simpliest ways are not very well documented. This article describes how to create URLs to link text or images to Amazon.com.

Product Links: You can use the following URL to create a simple text link to Amazon.com or to link an image to Amazon.com:

http://www.amazon.com/dp/ASIN/?tag=YourAssociatesId

Replace ASIN with the ASIN of the product and YourAssociatesId with your Associates ID or Tracking ID.

The ASIN is a unique identifier Amazon uses for each product. You can find the ASIN on Amazon's product page. Under "Product Details" look for "ASIN: xxxxxxxxx". For most books, the ten-digit ISBN (ISBN-10) is the same as the book's ASIN.

Your Associates ID is used by Amazon to give you credit for any purchases made by the visitor using the link. Your Associates ID is displayed in the upper-left hand corner of Associates Central after you log in. It's displayed below "Signed in as". In place of your Associates ID, you may use a Tracking ID. Tracking IDs are used just like your Associates ID in referrals to Amazon.com. They allow you to generate unique reports for different web sites or links.

To create a text link using the simple URL illustrated above, use it in a HTML "a href" tag like:

<a href="http://www.amazon.com/dp/ASIN/?tag=YourAssociatesId">Text to Display</a>

Replace Text to Display with the text you wish to display as a hyperlink.

To create a hyperlink from an image using the simple URL illustrated above, use HTML like:

<a href="http://www.amazon.com/dp/ASIN/?tag=YourAssociatesId"><img src="http://yourdomain.com/image.jpg" border=0></a>

Replace http://yourdomain.com/image.jpg with the URL to the image you wish to hyperlink.

To have either of the above links open a new window, add a target parameter to the "a" tag like this:

<a href="http://www.amazon.com/dp/ASIN/?tag=YourAssociatesId" target="_blank">Text to Display</a>

You can use BrowseNodes.com to help you create text or image links to specific Amazon.com products. Visit BrowseNodes.com and search for the product (hint: you can enter the product's ASIN in the Search box). Click the "[List Browse Nodes and Other Product Information]" link for the product in the search results.

Scroll down to the section labeled "Information for Associates." You'll find the URL for linking to the product, URLs for various size images of the product, and example HTML code for linking to the product's page at Amazon.com.

Browse Node Links:

Another kind of simple link you can use is a link to a Browse Node. A Browse Node is basically a specific page at Amazon.com which may have products associated with it. You can think of a Browse Node as a "category."

Linking to an Amazon.com browse node is as easy as linking to an individual item. The URL to use is:

http://www.amazon.com/b/?node=BROWSENODEID&tag=YourAssociatesId

Where YourAssociatesId is your Associates ID and BROWSENODEID is a number representing the Browse Node.

Be sure to test the link you've created to make sure it takes you to the proper page. If it doesn't, try replacing "/b/" in the URL with "/s/". Using "s" instead of "b" takes you to a page that lists the products in the browse node rather than displaying a page associated with the node.

You can find Browse Nodes IDs using a site called BrowseNodes.com. For example, to link to a page at Amazon.com selling Christmas DVDs, search for "Christmas" at Browsenodes.com:

Christmas

One of the "Browse Node Search Results" is:

Home / Stores / DVDs and Video Tapes / DVD / Genres / Kids & Family / Holidays & Festivals / Christmas (1084452)

The number at the end, 1084452, is the Browse Node ID. So, the URL you would use to link to the page at Amazon.com is:

http://www.amazon.com/s/?node=1084452&tag=YourAssociatesId

You can use this URL in text or image links as described above.

Note: Not every Browse Node displays products, so be sure to check the URL by visiting the page at Amazon.com. You can do this by entering the URL into your Internet browser's "address bar."

Home Page Links:

To link to Amazon.com's home page, use a link of the form:

http://www.amazon.com/exec/obidos/redirect?tag=YourAssociatesId&path=subst/home/home.html

Replace YourAssociatesId with your Associates ID or Tracking ID.

You can use this URL in text or image links as described above.

Search Results Links:

Creating a URL to link to search results at Amazon.com is a little more difficult. The reason it is more difficult is that you need to "URL encode" the search phrase so that it can be embedded within the URL. For this reason, it's easiest to use the "Link to Search Results" tool provided by Amazon at:

https://affiliate-program.amazon.com/gp/associates/network/build-links/text/main.html

Scroll down the page a little to find the "Link to Search Results" form. Select a "Product Line" (or leave it set to "All Products." Then enter the search phrase in the "Enter Keywords" field and some text in the "Name Your Link" field. Click the "Get HTML" button. Look for the word "Preview" followed by the "Name Your Link" text you entered. The text is a hyperlink to the search results. "Right-click" the link and choose "Copy Shortcut" (or "Copy Link Location"). You can now "paste" the URL to the search results where you need it. For example, you can paste it into your browser's "Address" bar to make sure it works.

As with the other URLs described in this article, you can use the URL in text or image links as described above.


Copyright © 2014 by Roger Smith