Install
Works with Drupal: 7.xUsing Composer to manage Drupal site dependencies
Downloads
Release notes
Added feature request #556512: Countries.
Installation.
1. Install geoip pecl extension. For installation instructions see http://www.php.net/manual/en/geoip.installation.php.
2. Download Geo Lite City database.
wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
gunzip GeoLiteCity.dat.gz
mv GeoLiteCity.dat /usr/local/share/GeoIP/GeoIPCity.dat
3. Find php.ini.
4. Enable extension to load in php.ini:
extension=geoip.so
5. Set to php.ini
geoip.custom_directory=/usr/local/share/GeoIP/
6. Apache restart.
7. On update visitors module run update.php.
Visitors table. Added new columns:
`visitors_continent_code`,
`visitors_country_code`,
`visitors_country_code3`,
`visitors_country_name`,
`visitors_region`,
`visitors_city`,
`visitors_postal_code`,
`visitors_latitude`,
`visitors_longitude`,
`visitors_dma_code`,
`visitors_area_code`.
Added new reports:
1. Countries report. View pages count per country.
2. City report. View pages count per city.
3. City visitors report. View city hits.
New records to visitors table will be added with geoip data.