Home > Paid Traffic Sources > Adult Traffic (NSFW)

***Help - CPV Lab + Exoclick (3)


02-19-2013 08:51 PM #1 mi6430 (Member)
***Help - CPV Lab + Exoclick

Hi guys

I am running Exoclick campaings and Cvplab which works perfectly if you insert the cpvlab campaign url directly into Exo. I am looking to get the {src_hostname}. However, I am now redirected to the cpv campaign url via the following script which I post on my server for every Exoclick campaign

<?php
header("Location: http:/mydomain?c=9&key=fewdw32432533432&keyword={src_hos tname}");
?>

so for example for each exo campaign I point it to offer.php which points to the above script. This way I can change, add, edit any redirect, script or campaign without any interruptions within Exoclick.

The problem I am having is that which I go this route the {src_hostname} is not passed on into CVPLab. Under Keyword/Target shows (src_hostname} instead of the referring url.

I tried adding this script to the above to pass on the script

<?php
if(isset($_GET['keyword'])) {
$keyword= $_GET['{src_hostname}'];
} else {
$c1= 'XX';
}

header("Location: http:/mydomain?c=9&key=fewdw32432533432&keyword={src_hos tname}");
?>

but nothing. Can anyone, someone please help. Thank you


02-19-2013 09:40 PM #2 deedsmedia (Member)

I think you need to learn some basic PHP first...

You need to pass the {src_hostname} to the offer.php like this:

http://domain.com/offer.php?keyword={src_hostname}

and the offer.php looks like this:

[PHP]<?php
if(isset($_GET['keyword'])) {
$keyword= $_GET['keyword'];
} else {
$keyword= 'blankurl';
}

header("Location: http:/mydomain?c=9&key=fewdw32432533432&keyword=$keyword ");
?>
[/PHP]


02-19-2013 10:48 PM #3 mi6430 (Member)

HI Deedsmedia, thanks for you input. So you have to place http://domain.com/offer.php?keyword={src_hostname} in the exoclick campaign? IF I placed only http://domain.com/offer.php into Exoclick will the above script pass the token?


Home > Paid Traffic Sources > Adult Traffic (NSFW)