Hi All, I want to get the exact location of visitor of the website. Google GEOLocation provide the location of the ISP provide through IP but I want the exact location .. Is there any way to get that? Thanks in advance...
You have to ask them. No ISP is going to give you a visitor's home address. A mobile device can be different as the device may be able to pinpoint a GPS location. You can attempt to do that with javascript which will then present a prompt to a user asking them if they wish to disclose their location, which they can decline. As a side note, the Google locator is often many miles away from where I am. It may be used to locate a general metropolitan area, but it is not much good beyond that.
You can use maxmind to get the most accurate location https://www.maxmind.com/en/geoip2-services-and-databases (Free and paid) But for most ip's you won't get any closer than the possible city the user is from which is not always accurate as it may be the ISP's city. If you want an exact location you will need to contact the ISP and will most likely require police or government involvement in order to get an address, name, etc.
Is there any device available which I asked my visitors to use so website automatically get the exact location?
You could make an app and use geolocation to get the visitors Geolocation, it will give pretty accurate coordinates. Then the app could send that to the website.
Another possibility, if this is meant to be used in a limited geographical area, is to distribute RFID-tags (or NFC, or similar items), which users can connect to to provide a location. This would however limit the areas where you could get accurate information. In general, getting this information without the user's explicit consent is neigh impossible.
https://developer.mozilla.org/en-US/docs/Web/API/Geolocation/Using_geolocation https://developer.apple.com/library...alLocations/GettingGeographicalLocations.html Should work on most mobile devices as long as the user allows access to the GPS.
to my understanding if your visitor is using smart phone with gps on, with visitor consent, you can exactly locate it using google geolocation api. without gps you can at least get the correct administrative area from the IP using geolocation services
Yes I got the ISP provider location through GEO Code and I understand there is no-way for the system to get the exact location... thanks for your help...