Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Solutions for finding website visitor's geolocation

I am aware that there are many services which provide geolocation tools for working out where users are visiting from. The website I'm working on is an e-commerce site which runs in multi-territories. When a visitor hits the website it should work out where they are from and show the relevant currency/language for the user.

In the past we have used maxmind but I'm wondering if there are better solutions out there. I'm calling out to developers with experience in this area to share their knowledge and expertise on what's available and what the pro's and con's are of various solutions.

Additional info: The website in question runs mainly on a combination of Java (Spring) and PHP (Kohana), so libraries for either of those can also be considered. We already have a solution for working out which currency to use provided we can obtain the ISO code of the visitor's country.


Update
Thought I'd leave a rough explanation of the outcome for anyone who visits this question.

Geolocation: I've used freegoip for detecting user location as suggested in this thread.
Language: When working out which language to use for the user I have used PHP to check the language set in the user's browser: http://www.php.net/manual/en/function.http-negotiate-language.php

like image 919
diggersworld Avatar asked Sep 18 '25 20:09

diggersworld


1 Answers

On a small-ish ecommerce site I worked on we used Akamai to provide geolocation data which would serve customized advertisements and prices based on which state the visitor was in. Check this out for more information: http://www.akamai.com/html/technology/products/personalization.html.

like image 116
Richard Yhip Avatar answered Sep 20 '25 10:09

Richard Yhip