Device geolocation's block showing visitor's geolocation details

This project is not covered by Drupal’s security advisory policy.

Overview

Provides visitor's geographical location using client device location source that implements HTML5 or W3C Geolocation API whereas the coordinates are geocoded using Google Geocoding service. Google Geocoding returns a more detailed location information such as: street number, postal code, route, neighborhood, locality, sublocality, establishment, administrative area level 1, administrative area level 2, etc.

Smart IP is the last fallback if W3C Geolocation API failed. Even if the visitors refuses to share their location, the geographical information provided by Smart IP will be used to know your visitors' geolocation details. A themeable Block content is available to show your visitor's geolocation information. Device Geolocation merges its location data (collected at Google Geocoding service) with Smart IP visitor's location data storage which is in session variable ($_SESSION) with array key 'smart_ip' and Drupal $user->data object with array key 'geoip_location'.

This module has been incorporated into Smart IP module. Use the latest release of Smart IP and Device Geolocation will be included.

Sponsors

Device Geolocation is being developed by Roland Michael dela Peña (arpeggio) of webfoobar. The author may be contacted if interested in sponsoring a new feature of this module or related module, Drupal consultation/installation/optimization or other Drupal-related projects.

Project information

Releases