For whom can this script be useful?
1) If you use several trackers while using one offer in one network
2) If you switch from one tracker to another and don’t want to lose your old “lagging” conversions.
So. Step by step. To start with you need to setup a custom script.
Here is the code:
$tmp = explode('_', $_GET['subid']);
case 'tracker1': header('Location: http://tracker1.com/postback.php?subid='.$clickid.$payout); break;
case 'tracker2': header('Location: http://tracker2.com/postback.php?subid='.$clickid.$payout); break;
// If you have more than one tracker, please copy line above and change postback and tracker's links.
default: header('Location: http://tracker3.com/postback.php?subid='.$_GET['subid'].$payout); break; // default, without a prefix
Change the prefixes tracker1, tracker2 at your discretion and change URLs
http://tracker2.com/postback.php?subid= by your Postback URLs.
For instance, in Binom it looks as follows.
case 'tracker1': header('Location: http://tracker.com/click.php?cnv_id='.$clickid.$payout); break;
The obtained script should be saved in the file postback.php somewhere on your server. In this example it is saved here,
Then, in the affiliated network as Postback URL write
This is an example for the Cake system (clickdealer, adsimilis and alike), in the other networks tokens #s2# and #price# can differ.
Upon adding offer to tracker # 1 write this URL:
For tracker # 2:
I did my best to explain it as simply as possible for people without a programming background.