Getting Started

To get the most out of the Amazon Link plugin you need to sign up with a number of Amazon services:

  • Standard Amazon Account
  • Amazon Affiliate/Associate Account for each locale
  • Product Advertising API & Amazon Web Services
Amazon Account

An Amazon Account is not essential but the account details and login credentials used for this can be identical for all your other account, it also allows you to be paid with Amazon Vouchers.

Amazon Associate Account

To actually earn commission from sales made through Amazon Links on your site you must sign up to the Amazon Associate program for your targeted locales. I recommend you at least sign up for your home locale and the United States. Sign up for an Associate Account at the following sites:

Once you have signed up for your home locale, Amazon may allow you to quickly sign up for associated accounts – e.g. Signing up for will then prompt you to sign up for Germany, France, Spain and Italy.

At the end of this process you should have a set of ‘Associates IDs’ that you need to enter into the plugin on either the Amazon Link > Setup Page or on the Amazon Link > Associate IDs Settings Page under ‘Amazon Tracking ID Channels’. Click on ‘Default Affiliate Tags’ and enter the IDs in the appropriate country field.

You may want to set up your payment method now, as prompted by the Amazon Affiliate Site. Once you have done this or have selected ‘Specify Payment Method later’ you will be taken to the ‘Associates Central Home’ Page. At the top of this page is a tab for the ‘Product Advertising API’ click on this to sign up for the API.

Product Advertising API

From the Associates Central Home page navigate to the ‘Product Advertising API’ page and click on the ‘Sign Up Now’ button this should take you to a sign up page, e.g for the UK it is here:

Sign in using the account details set up for your Associate Account, once you have successfully registered (thankfully only once for all domains) click on ‘Manage Your Account’ then ‘Access Identifiers’. This should take you to the AWS portal.

Amazon Web Services Account

Log in to the AWS Portal using the same account details as before. Under the ‘Services You’re Signed Up For’ section it should list at least ‘Product Advertising API’.

On this page select ‘Security Credentials’ then scroll down to ‘Access Credentials’ -> ‘Access Keys’. The ‘Access Key ID’ and the ‘Secret Access Key’ need to be copied into the Amazon Link Settings Page -> Options -> Amazon Affiliate Information -> ‘AWS Public Key’ and ‘AWS Private key’ Settings. Update the settings and the ‘AWS Keys Validated’ should now be ticked.

Congratulations you now have a full set of Amazon Credentials to drive the Amazon Link Plugin!


To take advantage of the localisation options and all those Associate Accounts you have just signed up for you should enable localisation. This will target the Amazon links to Amazon stores local to your site visitors.

In the Amazon Link > Settings page at the top of the Localisation Options Section there is a button to Install the ip2nation database, click on this should install the database on your WordPress installation. Once this is done ensure the ‘Localise Amazon Link’ option is selected.

Thats it!

Note: Periodically the ip2nation database is updated and you need to check the Amazon Link options page to see if you need to re-install it.

  1. February 17th, 2014 at 17:46 | #1

    Hello and thank you for creating the Amazon Link Plugin. I have a question. I am adding products to a post, but when I include he “buy now” button, there is a large space between that and the actual product. I, being technically challenged, have no idea how to close that gap. Any help is greatly appreciated!


  2. February 17th, 2014 at 19:51 | #2


    Thanks for trying the plugin, although the styles defined in your theme might affect how it is displayed I did notice that the ‘Template Content’ for the ‘Add To Cart’ template has a couple of line breaks (not sure how they got there!).

    Basically go to the ‘Amazon Link > Templates’ admin page, select the ‘Add to Cart’ template and look through the Template content and remove the ‘<br>’ lines.

    The content should look like this…

    <form method="GET" action="">
    <input type="hidden" name="AssociateTag" value="%TAG%"/>
    <input type="hidden" name="SubscriptionId" value="%PUB_KEY%"/>
    <input type="hidden" name="ASIN.1" value="%ASIN%"/>
    <input type="hidden" name="Quantity.1" value="1"/>
    <input type="image" name="add" value="Buy from Amazon.%TLD%" border="0" alt="Buy from Amazon.%TLD%" src="%BUY_BUTTON%">

    I’ll update the default to not include the ‘<br>’ lines,



  3. February 17th, 2014 at 22:19 | #3

    You rock! Thank you! Okay, another question. Is there a way for me to put that “add to cart” right aligned? It seems as if it’s defaulted to be on the left, but I didn’t see that anywhere in the code. Then again, I have almost no idea what I’m doing.


  4. March 2nd, 2014 at 17:35 | #4

    Hi, this looks like an awesome plugin, wow what a lot of work you’ve put into it. I’m using SiteOrigin Page Builder to build my website and I can’t get the plugin to work. I’m adding the info to the bottom of the page but it isn’t showing up anywhere. Is this plugin useable with a widget based theme? Can you give me a little help please?

    Thank you

  5. March 2nd, 2014 at 18:52 | #5

    @SAlly Henderson
    Hi Sally,

    Yes the plugin has been in development for quite some time!

    Unfortunately you have hit on one area that I have not tackled yet – Widgets.

    The only way currently to do this is to create a standard ‘Text’ widget, and put an Amazon Link shortcode inside to create your links.


  1. No trackbacks yet.