Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have signed up for Amazon's affiliate program, to see how well it does. However, the program appears to be specific to each of Amazon's separate sites (Amazon.com, .co.uk, .ca etc).

Around 50% of the traffic comes from the USA but there is a significant proportion from Canada and the UK too. Is there any system from Amazon to target products to the user's country? Or must I do this myself?

share|improve this question
this might be useful: affiliate-blog.amazon.co.uk/2007/03/earn_money_worl.html – JP19 Jan 5 '11 at 14:05
If you figured out the answer to your question, can you close it or flag it for close please? – Christopher Feb 14 '11 at 19:28
up vote 5 down vote accepted

Yes, it is possible but Amazon does not help you with this. I use this on Neocamera.

Once registered with all the Amazon programs of your choice you need to use each of them to create the banners you need.

It is easiest if you use categories (Electronics, Books, DVDs, etc) instead of products (BBC Earth, Lord of the Rings DVD, etc) because there is more chances of having something that matches on multiple sites.

Categories do not always exist though, for example one Amazon will put cameras in the Photo category and another will put it in Electronics. Also, MP3s and Downloads only exist in some places.

Put the generated banners somewhere such as database along with the country code. Each time a visitor arrives on your site use a Geolocation API (Downloaded a PHP one) to get the user's country code and query for a banner that matches.

If there is no match, you can show nothing, show your preferred one (Amazon US actually ships some products internationally but not most) or backill from another affiliate program that works everything, such as a software download or online service.

share|improve this answer

There is also a web service called A-FWD that enables you to create links that work with all Amazon stores.

That way you don't need to install a plugin or javascript on your site.

share|improve this answer

UPDATED: If you have the technical ability, you should be able to adapt https://github.com/Exeu/apai-io to meet your needs.

Another possibility is Stephen Morley's PHP class http://code.stephenmorley.org/php/mapping-visitor-ip-addresses-to-amazon-sites/ The php class allows you to Geo target your users, it also lets you target them by the language they are using. Unfortunately, the database hasn't been updated for quite some time. If there is no product in their local store for the product of interest it will default to the main store (or whatever store you put as your default).

share|improve this answer

You need to do this yourself using visitors IP address.


share|improve this answer
The link doesn't add anything, but thanks. I'll look into some geo-targeting or something. – DisgruntledGoat Jan 5 '11 at 15:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.