Visitors
Categories
Component ID
413832
Component name
Visitors
Component type
module
Maintenance status
Development status
Component security advisory coverage
covered
Downloads
72792
Component created
Component changed
Component body
Visitors module
This module records various data about (anonymous or authenticated) visitors of a Drupal site, and shows these data in the format of either Reports (with charts) or Blocks.
Reports (with charts)
- View pages that have recently been visited.
- View pages that have been hit frequently.
- View pages count per month.
- View pages count per day of month.
- View pages count per day of week.
- View pages count per hour.
- View pages count per host.
- View access log.
- View user activity report (hits, nodes, comments).
- View referer list.
Integration with whois lookup module.
Visitors Block
- Total Visitors.
- Unique Visitor.
- Registered Users.
- Last Registered User.
- Published Nodes.
- Your IP.
Visitors GeoIP module
Add country reports.
Reports:
1. Countries report. View pages count per country.
2. City report. View pages count per city.
3. City visitors report. View city hits.
GeoIP installation
- Install geoip pecl extension. For installation instructions see http://www.php.net/manual/en/geoip.installation.php.
- Download Geo Lite City database, using commands similar to these:
- wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
- gunzip GeoLiteCity.dat.gz
- mv GeoLiteCity.dat /usr/local/share/GeoIP/GeoIPCity.dat
- Find php.ini.
- Enable extension to load in php.ini:
extension=geoip.so
- Add to php.ini:
geoip.custom_directory=/usr/local/share/GeoIP/
- Restart Apache.
Visitors Browscap module (EXPERIMENTAL)
Provides statistics on visiting browsers.
Reports:
1. Browsers report.
2. Platform report.
Module added to 7.x-2.0-alpha1.
Browscap installation
- Download full_php_browscap.ini from http://browscap.org/ .
- Find php.ini.
- Add to php.ini:
browscap = /full/path/to/full_php_browscap.ini
- Restart Apache.
Recommended Releases
- Do not use (or try to install) the D8 version of this module "yet". Refer to #2599042: Make D8 release of Visitors work again for more details.
- Current version of the Visitors Browscap module in alpha state and can be broken. Visitors Browscap module must be disabled and uninstalled before upgrading to a new version.
Contributors
- pebosi: Theme function for block output.
- KirstenLangholz: German translation.
- poehnix: Italian translation.
- roball: Visitors GeoIP module requirements, .htaccess file.
- mjross: Include past visitors in visitor count.