Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Google Analytics

Security covered Obsolete 130,318 sites

This module integrates Google Analytics into your website, allowing you to track various user interactions and site statistics. It offers advanced features like custom tracking for specific pages, user roles, and file downloads, as well as support for custom dimensions, AdSense, and demographic data.

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 dimensions and metrics support with tokens
  • Custom code snippets
  • Site Search support
  • AdSense support
  • Demographics and Interests support (formerly known as 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
  • Enhanced Link Attribution support
  • User ID tracking across devices
  • Changing URL fragments can be tracked as pageviews
  • Debug mode with analytics_debug.js

Version specific features

  • Legacy Universal Analytics (UA) support: 6.x-4.x, 7.x-2.x, 8.x-2.x
  • Legacy Global Site Tag (gtag.js) support: 8.x-3.x
  • Global Site Tag Version 4 support: 4.x

Current Supported version:4.x and 7.x-2.x

The 4.x module supports multiple accounts, which will allow you to run multiple tags within the same module. The 7.x-2.x version supports the latest GA (gtag) 4 service from google.

Users are strongly encouraged to use Google Tag 2.0+ instead. It supports all of GA4 and is the successor to this module.

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.
Drupal 9–11

Ask your assistant about Google Analytics

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • path_alias Drupal core

Required by

1 tracked project depends on this one

Activity

Tracked releases
1
Tracked since
Dec 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

Version Type Core PHP Release date
4.0.3 Stable 9–11 Dec 16, 2024