swissarmy New member Dec 17, 2008 73 0 0 Feb 4, 2009 #1 I'm trying to figure out how to geo-target content on the landing page to the specific users location? The same way porn ads do it all the time. Can anyone suggest how to do that?
I'm trying to figure out how to geo-target content on the landing page to the specific users location? The same way porn ads do it all the time. Can anyone suggest how to do that?
S spyderman4g63 New member Mar 8, 2007 313 2 0 Ohio www.teamtutorials.com Feb 4, 2009 #2 I learned form some site. Not sure which one. I think this may help you. How To Geo-Target Ads based on visitors location | Nihar's World
I learned form some site. Not sure which one. I think this may help you. How To Geo-Target Ads based on visitors location | Nihar's World
A Aequitas New member Feb 19, 2007 2,954 73 0 Canada Feb 5, 2009 #3 Code: <?php $ip = $_SERVER['REMOTE_ADDR']; $countryCode = @file_get_contents('http://api.hostip.info/country.php?ip='.$ip); ?> Or Class: IP to Country (country, ip country, ip to country, internet) - PHP Classes Then show the ad for the country. P.S. The porn sites have affiliate banners which are automatically geo-targeted, down to almost the city level.
Code: <?php $ip = $_SERVER['REMOTE_ADDR']; $countryCode = @file_get_contents('http://api.hostip.info/country.php?ip='.$ip); ?> Or Class: IP to Country (country, ip country, ip to country, internet) - PHP Classes Then show the ad for the country. P.S. The porn sites have affiliate banners which are automatically geo-targeted, down to almost the city level.