Google Analytics for Drupal configuration page

Adds the Google Analytics web statistics tracking system to your website.

The module allows you to add the following statistics features to your site:

  • Single/multi/cross domain tracking
  • Selectively track/exclude certain users, roles and pages
  • Monitor what type of links are tracked (downloads, outgoing and mailto)
  • Monitor what files are downloaded from your pages
  • Custom variables support with tokens
  • Custom code snippets
  • Site Search support
  • AdSense support
  • DoubleClick remarketing support
  • Anonymize visitors IP address
  • DoNotTrack support (non-cached content only)
  • Drupal messages tracking
  • Modal dialog tracking (Colorbox)
  • Access denied (403) and Page not found (404) tracking
  • Cache the Google Analytics code on your local server for improved page loading times

Version specific features

  • GA.js support: 6.x-3.x, 7.x-1.x
  • Universal Analytics support: 7.x-2.x, 8.x-2.x

Screencasts

Other related modules

  • Google Analytics Reports provides graphical reporting of your site's tracking data. Graphical reports include a dashboard widget for admins, a small path-based report in blocks, and a full path-based report.

Known issues

  • Token: The minimum required Drupal 6 version is 6.x-1.14, but for some technical reasons 6.x-6.16 or later is highly recommended. For Drupal 7 the minimum required version is 7.x-1.0-beta1. Token module is optional for GA, but if installed you need at minimum this versions or you may experience the issues documented in #1035030.
  • Ubercart: The minimum required Drupal 6 version is 6.x-2.6.

Developed by Alexander Hass (YAML for Drupal Theme).

Project Information

Downloads