Geocoder detect site visitor's geo location
2 posts by 2 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: December 31, 2013 (RSS)
By Mikey - December 20, 2013
Does anyone know if it's possible to use the Geocoder add on to detect a website visitor's geo location?
By Damon - December 31, 2013
Hi Zicky,
It may be possible to use a Geocoder function but the problem is the site visitor isn't providing an address to lookup. That leave an IP address which can looked up but won't be very accurate (ISP can be located in a different city than user).
Maybe a good option would be using Google Maps API directly. Take a look at this article:
https://developers.google.com/maps/articles/geolocation
I tried out the example here and it was accurate within one street block with me entering nothing but just agreeing to allow sharing location:
https://developers.google.com/maps/documentation/javascript/examples/map-geolocation
Damon Edis - interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/