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.

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

Visitors Browscap module (EXPERIMENTAL)

Provides statistics on visiting browsers.

1. Browsers report.
2. Platform report.

Module added to 7.x-2.0-alpha1.

Browscap installation

  • Download full_php_browscap.ini from .
  • 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.


  • 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.

Project Information