A - Collecting the relevant affiliate code
You can collect the "affiliate code" associated to a link/banner that redirects to your content, when a visitor clicks it on your affiliate's site.
To do so, just add the parameter AP_CA= at the end of the URL where the web-user is redirected.
For instance, if the URL is like:
http://www.mysite.com/mypage.php
Register the URL below in your affiliate links:
http://www.mysite.com/mypage.php?AP_CA=
Should your URL already contains parameters, add "&AP_CA=":
http://www.mysite.com/mypage.php?param=foo&AP_CA=
When the web-user clicks on this affiliate link, your script will receive a parameter named AP_CA that contains the corresponding affiliate code.
B - Passing additional parameters
You can add more parameters to the "affiliate links" that you give to your partners, which parameters will be sent to the page where the web-user lands after clicking on this link.
These parameters that need to be passed to your page must begin with REQ_.
For instance, if you created the affiliate link below:
http://payment.allopass.com/affiliate/out.apu?CA=81W78BVMP
you should add the parameters as follows:
http://payment.allopass.com/affiliate/out.apu?CA=81W78BVMP&REQ_param1=foo&REQ_param2=bar
When the web-user clicks this link, he will be landed on the page you set up, which page will be called with the additional parameters REQ_param1 and REQ_param2.
You can collect the "affiliate code" associated to a link/banner that redirects to your content, when a visitor clicks it on your affiliate's site.
To do so, just add the parameter AP_CA= at the end of the URL where the web-user is redirected.
For instance, if the URL is like:
http://www.mysite.com/mypage.php
Register the URL below in your affiliate links:
http://www.mysite.com/mypage.php?AP_CA=
Should your URL already contains parameters, add "&AP_CA=":
http://www.mysite.com/mypage.php?param=foo&AP_CA=
When the web-user clicks on this affiliate link, your script will receive a parameter named AP_CA that contains the corresponding affiliate code.
B - Passing additional parameters
You can add more parameters to the "affiliate links" that you give to your partners, which parameters will be sent to the page where the web-user lands after clicking on this link.
These parameters that need to be passed to your page must begin with REQ_.
For instance, if you created the affiliate link below:
http://payment.allopass.com/affiliate/out.apu?CA=81W78BVMP
you should add the parameters as follows:
http://payment.allopass.com/affiliate/out.apu?CA=81W78BVMP&REQ_param1=foo&REQ_param2=bar
When the web-user clicks this link, he will be landed on the page you set up, which page will be called with the additional parameters REQ_param1 and REQ_param2.