Full-service Internet Marketing & Web Development
Recent Posts

Sponsors
![]() |
Use Geotargeting to Increase Your ConversionsTyler Banfield, 09-11-2007 |
If you are looking for a way to increase your conversion rate, geotargeting may be the answer for you. Geotargeting allows you to show different content to different visitors based on the country that they are coming from.
So how can geotargeting help you increase your conversion rate? For example, if you are promoting an affiliate offer that is only available to US customers, you are not going to want to show it to international visitors. Instead of displaying the affiliate offer to a visitor from the UK, you can direct them to a similar product through your Amazon or other affiliate link.

Although it can make a major difference in your conversion rate, implementing geotargeting can be done in three fairly simple steps:
1) You need a GeoIP Database. This will allow you to match a visitor's IP address to their country. I personally purchased mine from Maxmind for $50, but there are also free ones available (which I personally haven't used):
http://www.maxmind.com/app/geolitecountry
or
http://software77.net/cgi-bin/ip-country/geo-ip.pl
2) Add the following code (needs to be placed at the top of each page or in your main database connection file):
3) Use the $country variable. Following the example at the beginning of the post, you would add this to your landing page:
So how can geotargeting help you increase your conversion rate? For example, if you are promoting an affiliate offer that is only available to US customers, you are not going to want to show it to international visitors. Instead of displaying the affiliate offer to a visitor from the UK, you can direct them to a similar product through your Amazon or other affiliate link.

Although it can make a major difference in your conversion rate, implementing geotargeting can be done in three fairly simple steps:
1) You need a GeoIP Database. This will allow you to match a visitor's IP address to their country. I personally purchased mine from Maxmind for $50, but there are also free ones available (which I personally haven't used):
http://www.maxmind.com/app/geolitecountry
or
http://software77.net/cgi-bin/ip-country/geo-ip.pl
2) Add the following code (needs to be placed at the top of each page or in your main database connection file):
if (isset($_COOKIE["geoip"])) {
$country = $_COOKIE['geoip'];
}
else
{
include("/home/your_folder/geoip.inc");
$gi = geoip_open("GeoIP.dat",GEOIP_STANDARD);
$country = geoip_country_code_by_addr($gi, $REMOTE_ADDR);
geoip_close($gi);
setcookie("geoip", $country, time()+3600, "/", ".yoursite.com", 0); //1 hour cookie
}
$country = $_COOKIE['geoip'];
}
else
{
include("/home/your_folder/geoip.inc");
$gi = geoip_open("GeoIP.dat",GEOIP_STANDARD);
$country = geoip_country_code_by_addr($gi, $REMOTE_ADDR);
geoip_close($gi);
setcookie("geoip", $country, time()+3600, "/", ".yoursite.com", 0); //1 hour cookie
}
3) Use the $country variable. Following the example at the beginning of the post, you would add this to your landing page:
if($country=="US"){
//US offer
}
else
{
// worldwide offer
}
//US offer
}
else
{
// worldwide offer
}
|
|
Subscribe Now to receive new posts via Email as soon as they come out.
Comments
Post your comments

