Simple Job: Geo Redirect for Prosper202

Status
Not open for further replies.

fight_prof

New member
May 10, 2009
126
1
0
Rating - 100%
3   0   0
Not sure why I can't find the answer to this.

But I need a simple way to redirect visitors to alternative landing pages based on their IP address. I just need it down to the country level.

I'm using Prosper for tracking, and I have unique text ad urls, so it is important I retain that information.

If there was a way to use only 1 lander and change the text/links based off the geo location, that'd be even better and save me a bit of time, but not sure if this is possible while tracking with prosper.

Let me know if someone can help me with this.
 


Not sure why I can't find the answer to this.

But I need a simple way to redirect visitors to alternative landing pages based on their IP address. I just need it down to the country level.

I'm using Prosper for tracking, and I have unique text ad urls, so it is important I retain that information.

If there was a way to use only 1 lander and change the text/links based off the geo location, that'd be even better and save me a bit of time, but not sure if this is possible while tracking with prosper.

Let me know if someone can help me with this.

someone posted about this earlier in WF....i dont feel like looking for the post but the php code is something like 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;
}

?>



if you're direct linking then you could send the visitor to the script above that changes the link depending on the location and it should work fine. just put in the links you pull for text links into respective case areas. you'd have to set up ads for different countries to track it properly.

if you're using an LP i dont know how well this will work with the other features of t202 such as day parting or passing subids/data to the tracking server as I dont know how you'll be able to pass data through to p202 however its open source so you could find a way to pass the data through using post/get variables.

i ran into an issue like this myself when running traffic with multiple countries trying to take advantage of different offers in US, CA, ZA, AU..etc. I just used subids to track what worked and what didnt however i was using banners so it was much easier to track ad performance. i think wes mahler might have posted somewhere in the t202 forum that it's not a feature they have enabled but this might work. try it.
 
bigwave... thanks very much for the reply. That is the geoplugin I currently use for other features (location stamping).

The only downfall of doing it that way is I don't think I could track ad performance, but if need be I'll just do this then.

Thanks.... if anyone else knows how to do this while retaining ad performance pm me if you want to take the project on.
 
Status
Not open for further replies.