Javascript to Internationalize Amazon product links

  1. Amazon
  2. Javascript

About

Click here to create international
Amazon links directly

Our A-FWD Amazon Affiliate Geo Location Service works without any special script. But if you have already a lot of Amazon.com links on your blog or website, you can use our script to create global links out of your existing Amazon.com links.


The Script

The script is embedded in the <HEAD> section of your HTML. It then rewrites those links to point to the A-FWD service.
A-FWD will do the country lookup (using GeoIP) for you. You can specify your Affiliate IDs for all the country sites.

The link rewrite is temporary, so as soon as you remove the script, the links will be the normal Amazon.com links again.

Current Features


Using

You just need to embed this code in the <HEAD> section of your website or at the end of the <BODY> section. We have added some optional affiliate IDs for you, you can replace them with your own.
You can also use tools like Google Tag Manager to add the code.
You can also use more parameters from the main link builder (like e for statistics login) or other Amazon domains.

<script>
var afwd = {
    com: "a-fwd-20",
    ca: "a_fwd-20",
    uk: "a_fwd-21"
};
</script>
<script src="https://affiliate-geo-target.com/afwd-script.1.js" defer="defer"></script>
test amazon link

Support

Please send a mail or add a comment below.

Don't want to use a script?

Of course you can insert a normal A-FWD link using our Amazon product link generator.

Subscribe to updates about A-FWD


We only send a mail every few months about new features.


Woboq

Help And Discussion



Amazon including Amazon Link Builder - Amazon plugin for Wordpress, Joomla, Drupal - JavaScript Link Replacer - Imprint - Privacy Policy - Contact
DISCLAIMER: This site and the products and services offered on this site are not associated, affiliated, endorsed, sponsored, reviewed, tested or certified by Amazon.