Geo-customizing is a tool provided with your 123Stat account that allows you to automatically adapt and customize your web site's content to a visitor's geographical location ; there are many reasons why you might want to do this:
target the products you present to your audience
customize the banners you display on your site so that they are only shown to visitors from certain states or countries
block people outside of your sales area from accessing your site (to cut down on useless support request for instance)
The list is long so we'll stop right here !
Here is what one of our clients had to say about 123Stat Geo-customizing:
Thanks for your help on this. With the script you supplied I was able simply block the countries that I did not want to access my site. Since my site deals with camping and PopUp Campers, I blocked all countries that would not deal in those activities. I put up a nice screen that simply said “you can not access this site from your location”. This has blocked 90% of the spammer.
And [ here ] is what another client says on her own site
In order to use Geo-customizing, four conditions must be met :
You need to have a premium account (or a free trial) ; if necessary you can upgrade your current account from the Control Panel.
You need to use the tool on your own site. Geo-customizing for your account will only work for the site address that you entered in the Control Panel's administrative section.
Note : the # characters will need to be replaced by numbers. The actual code for your account will be given to you on the next page.
The geo array variable contains 10 elements :
- geo : 2-letter country code - example : US (see list here)
- geo : country name - example : United States
- geo : 2-letter region/state code - example : SC
- geo : region/state name - example : South Carolina
- geo : city name - example : Charleston
- geo : zip code - example : 29200
- geo : latitude - example : 32.8255
- geo : longitude - example : -79.968
- geo : name of organization owning the IP# - example : AT&T
- geo : IP of visitor - example : 188.8.131.52
- geo : IP name if available - example : adsl-065-013-032-075.sip.mia.bellsouth.net (*) see note below
(*) Note : the last element of the array (IP name) will only be returned if you add the suffix :1 to the geo-customizing code (this will make the loading of the code a bit slower) :
Important ! When using geo-customizing you need to remember that the geographic information we use is derived from IP addresses. While we do everything to make it as precise and complete as possible, we can not, for technical reasons, have a 100% accuracy rate, so it is possible for the data contained in the geo array to sometimes be incomplete or inaccurate. You need to plan for that possibility in your application.
Imagine that you have two banner ads : one for California (banner_ca.gif) and one for Texas (banner_tx.gif). You want to display the Texas banner to visitors from Texas, the California banner to visitors from California, a generic banner (banner_generic.gif) to anyone else in the US and nothing at all for people who are not in the US. Here would be the code to add to your page at the place where you want the banner to appear :
You want your site to be accessible only from the US, Canada and the UK. You don't sell in other countries and you don't want people to write to support asking for your product when you can not fullfill their orders
You are now ready to start using geo-customizing on your site. Please enter your login information below and we'll show you the exact code to place in your site's HTML