Affiliate Software Documentation

Appending Affiliate Usernames to Store Pages for Tracking

JAM allows you to track affiliate users by just appending a $_GET variable to any page on your site.  This means that your affiliates can link to any page on your site without having to use the affiliate links generated by JAM.  

For example, you can do something like:

http://www.yourdomain.com/store.php?id=1&user=AFFILIATEUSER

where AFFILIATEUSER is the affiliate's username in JAM.

For this to work, you will need to make sure that JAM is installed on ths same domain as your current site.  It will also work if it is installed in a subdomain.  For instance:

http://www.yourdomain.com - your site
http://affiliates/yourdomain.com - where JAM is installed.


All you have to do is add the following JavaScript to your site:

<script src="http://www.yourdomain.com/affiliates/js/sub/1/<?=$_GET['user']?>"></script>

Make sure to change the the link to point to your JAM installation URL and the $_GET variable to the one you want to use.