Hey guys,
So I did some searching and I posted on another part of the forum to get help with georedirecting with prosper 202. Someone suggested doing this:
----------------------------------------------------
"go to this page and download the include file
geoPlugin's free and easy PHP geolocation webservice explained
and use the following code. point to this php page when setting up the link where the ad goes.
<?php
//country code redirect
require_once('geoplugin.class.php');
$geoplugin = new geoPlugin();
$country_code = $geoplugin->countryCode;
switch($country_code) {
case 'US':
header('Location: http://xxx.com/united-states');
exit;
case 'UK':
header('Location: http://xxx.com/united-kingdom');
exit;
default: // exceptions
header('Location: http://xxx.com/generic');
exit;
}
?>"
------------------------------------------------------
The geoPlugin mentioned above is one I use for location stamping on landers.
My problem is, since I am using P202 for my tracking, I would like to be able to track ad performance using the Text Ad feature of 202 if possible. However, if I am to make a generic ad link which goes to a redirect page with the above code, this won't pass ad information.
I'm sure someone has done something similar to this. Any advice?
Thanks.
**edit: even further, is it possible to create only 1 landing page, but then based off of the users country, text links and certain section of code are changed dynamically?**
So I did some searching and I posted on another part of the forum to get help with georedirecting with prosper 202. Someone suggested doing this:
----------------------------------------------------
"go to this page and download the include file
geoPlugin's free and easy PHP geolocation webservice explained
and use the following code. point to this php page when setting up the link where the ad goes.
<?php
//country code redirect
require_once('geoplugin.class.php');
$geoplugin = new geoPlugin();
$country_code = $geoplugin->countryCode;
switch($country_code) {
case 'US':
header('Location: http://xxx.com/united-states');
exit;
case 'UK':
header('Location: http://xxx.com/united-kingdom');
exit;
default: // exceptions
header('Location: http://xxx.com/generic');
exit;
}
?>"
------------------------------------------------------
The geoPlugin mentioned above is one I use for location stamping on landers.
My problem is, since I am using P202 for my tracking, I would like to be able to track ad performance using the Text Ad feature of 202 if possible. However, if I am to make a generic ad link which goes to a redirect page with the above code, this won't pass ad information.
I'm sure someone has done something similar to this. Any advice?
Thanks.
**edit: even further, is it possible to create only 1 landing page, but then based off of the users country, text links and certain section of code are changed dynamically?**