Index page      Samples & tests home

Sample home page

this page simulates your own homepage. All the sample banners point to this page, normally they would point to your own homepage.

Referral (click) tracking

To track affiliate referrals, this page contains click tracking code.
You have to put this click tracking code into your homepage as well. The best practice is to put it somewhere into the page footer, so it is included in every page.

Tracking code used on this page:

<script id="pap_x2s6df8d" src="../scripts/clickjs.php" type="text/javascript">
</script>
<script type="text/javascript">
papTrack();
</script>

This is standard tracking code that you can use also on your pages.
Note that when you'll insert it to your page, you'll have to set the full path to the scripts directory, so it will look like this:
<script id="pap_x2s6df8d" src="http://www.yoursite.com/affiliate/scripts/clickjs.php" type="text/javascript">

Advanced referral (click) tracking

In click tracking code you can use folloving additional variables. These variables are optional and they must be placed before papTrack();
var AffiliateID='affiliate id';   // click will be saved for affiliate specified by this parameter
var BannerID='banner id';         // click will be saved for banner specified by this parameter
var CampaignID='campaign id';     // click will be saved for campaign specified by this parameter
var Channel='channel';            // channel
var Data1='data1';                // extra data 1
var Data2='data2';                // extra data 2



Affiliate software by QualityUnit