From Wiki

Revision as of 07:25, 11 August 2014 by 4e22e9c54f8a6af31303842a9e82ab81bee0de364ede59b7a03daa46619b7d0c (Talk | contribs)
Jump to: navigation, search




Affiliate Window's Convert-A-Link plug-in for publishers is an application for your website to help ease the task of converting your product links into track-able affiliate links.

The application works by automating the process and is offered to only aid in converting the links for the affiliate window advertisers whose programmes you are joined to.

If you have any questions, which are not answered below please email for more info.

Usage and Initialisation

2.1 Usage
Usage of the plug-in requires editing of your html pages so that they include a script tag to serve the JavaScript which provides the functionality of the plug-in. The script tag required is also used for the purpose of loading other affiliate window plug-ins so if you already have the tag in your html pages, you need not include it again. To obtain the script tag you would need to navigate to : Links & Tools → Convert-A-Link

Having obtained the script tag, you need to ensure the tag is included on all your html pages with the product links you wish to be converted to track-able links.

The provided tag needs to be copied and pasted just before the closing HTML body tag i.e. </body> of your html pages. Please see the below example:

File:Screen Shot 2014-04-02 at 12.12.06.png

2.2 Initialisation
Having added the script tag to your html pages as required; to initialise the plug-in, you would need to refer back to the configuration page and switch it on using the provided switch. Once enabled, it may take a few minutes for the plug-in to become active.

Additional Features

3.1 Ignore links In instances where you wish for certain links to be ignored on your site; the Convert-A-Link plug-in includes an attribute called data-awinignore. Any links on your html pages that include this attribute will be ignored when the application performs the conversion of your links. See the below code for an example of this in action:

<a href="" data-awinignore>iPad Sleeve - Red</a>


Clicks generated through Convert-a-link have the click REF defined as "convert-a-link". To keep an eye on the number of clicks generated check your Click Reference Report.


Does convert-a-link work on deeplinks and image links?

Yes. Convert-a-link will convert any type of anchor link, including: deeplinks, product links and image links.

My website is in Wordpress, how do I install convert-a-link?

To allow a change to the global footer on Wordpress (Wordpress 3.4.1):
1. Hover over appearance and click on the editor option
2. Click footer.php
3. Add our Javascript snippet just before closing the body element


Due to new European legislation regarding how websites store information about you, AWIN is updating its privacy policy. You can see the new version of our policy here. If you would like to see the information we capture on this website, please click here for further details. In order to accept cookies on this site please click the 'I ACCEPT' button