Geo-targeting Script : The Ultimate Guide Using Lambda Geo-target and others to determine the physical location of your visitors
What can be detemined with geo-targeting? <ul><li>Continent </li></ul><ul><li>Country </li></ul><ul><li>Region </li></ul><ul><li>City </li></ul><ul><li>Area code </li></ul><ul><li>Postal code </li></ul><ul><li>Latitude/Longitude </li></ul><ul><li>ISP </li></ul>
How to Use Geo-targeting on your Site (PHP) <ul><li><?php </li></ul><ul><li>require(“geoip.php”); </li></ul><ul><li>echo geoip_format(“%city, %region, %country) ; </li></ul><ul><li>?> </li></ul>Will output: Atlanta, Georgia, United States If you lived in Atlanta, Georgia Using Lambda Geo-target
How to Find the Nearest Major City Using Geo-targeting <?php require(“geoip.php”); echo geoip_closest_format(“%city, %region”, 2000000) ; ?> Will output: Los Angeles, California If you lived in a small town near Los Angeles, California. geoip_closest_format() returns the closest city of 2,000,000 people or more, depending on what you specify. Using Lambda Geo-target
How to Forward a User to a Different URL Based on Location (pt 2) <?php geoip_forward_region(“California”, “cali.html”); geoip_forward_country(“Georgia”, “ga.html”); geoip_forward_contient(“NA”, “na.html”); geoip_forward(“catchall.html”); ?> This will forward California users first, then Georgia users, then will forward all other users in North America. Finally, all users who aren’t in the above groups will be forwarded to catchall.html. Using Lambda Geo-target
Displaying the User’s location on the Maps The end result will look something like this. There are all sorts of neat things you can do with Google maps and the user’s location. Get creative.
How Does Geo-targeting help SEO? <ul><li>Provides more relevant content to the user (Search Engines notice this) </li></ul><ul><li>Localize text based on country and local terminology (Users will search for things as they are used to spelling it) </li></ul><ul><li>Display local contact information to give a sense of locality </li></ul><ul><li>Forward a user to a local site (e.g Forward UK users to mysite.co.uk) </li></ul>
Common Mistakes <ul><li>Don’t display the region for locations outside of the United States. Most countries simply list the city in country (e.g. Milan, Italy). In the US, it is more common to display the city and state. </li></ul><ul><li>If you are trying to convince the reader that you are in the same city as them, display the nearest major city. It is much more believable than to list a small town that the user may be from. Lambda Geo-target is currently the only script that can do this. </li></ul><ul><li>Don’t forget to localize all aspects of a page. Don’t list your location as London, England and then have a picture of a major US city elsewhere on the page. </li></ul><ul><li>If you are changing the language based on location, do not forget to give the user an easy option to switch languages. Many countries have multiple languages and not being able to easily switch will put off some users. </li></ul>
Don’t Forget to Update your Database! <ul><li>The physical location of IP addresses changes from time to time. Lambda Geo-target offers free database and script updates for life. Not updating can result in less accurate results. </li></ul>
Beware of Third Party APIs <ul><li>If you are using a third party API to grab the geo-data, beware. These services can do down at any time and leave your site broken while your visitors will go elsewhere. </li></ul><ul><li>Having to connect to a third party makes your page load slower. </li></ul>
You’re All Set! <ul><li>Use Geo-targeting to: </li></ul><ul><ul><li>Increase conversions </li></ul></ul><ul><ul><li>Increase CTR </li></ul></ul><ul><ul><li>Help users find other users close to them </li></ul></ul><ul><ul><li>Decrease the amount of time they spend filling out forms </li></ul></ul><ul><ul><li>Improve overall user experience! </li></ul></ul>
A particular slide catching your eye?
Clipping is a handy way to collect important slides you want to go back to later.