Install

Works with Drupal: 7.x

Using Composer to manage Drupal site dependencies

Downloads

Download tar.gz 243.73 KB
MD5: 56666f622efe9a43d088f81d78e63cbd
SHA-1: 96273e88194e33e6415d8db9d9c5511e4e7841f7
SHA-256: 5b2416095b8191946ddc297186d53a7d7d54e58677cf47cdea4092a7616f7826
Download zip 258.15 KB
MD5: d202e72dc440d7063629e050d2270af7
SHA-1: ba43b8b5d77db7d3de82cd6257f1eaeb03f4e30c
SHA-256: 4e2c05f41a711b42c3985c65d1879a5b55b9c5c509fb70ee8b0da5771835301a

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.

Created by: gashev
Created on: 13 Aug 2011 at 08:14 UTC
Last updated: 7 Mar 2014 at 21:08 UTC
New features
Unsupported

Other releases