Install

Works with Drupal: ^8.9 || ^9

Using Composer to manage Drupal site dependencies

Alternative installation files

Download google_analytics-4.0.0.tar.gztar.gz 54.95 KB
MD5: 1648018b084b4e7e3823de8d829dc8f0
SHA-1: eea08f3a9dfcf51f658621a24825506f38570b9b
SHA-256: ea122fd73cf6a590c1c8b1870e4b07b8fc901efa1a5244fb25c97a63c121137f
Download google_analytics-4.0.0.zipzip 91.95 KB
MD5: 91aced869d77fe016026eebd8232f415
SHA-1: 4f761d4c852d11966f7289b0eb6431cc8db27240
SHA-256: b48aad03bab0e120a19cec5ca391dd0c47da4cf7f576608c43433fb9c64be7f7

Release notes

This is the first full release of the Google Analytics 4 module, supporting the next generation of Google Analytics:
https://support.google.com/analytics/answer/10089681?hl=en

While this 4.0.0 release is 'stable', we will wait until Jan 2022 to make it recommended so site developers can test it more widely and give time for sites to migrate from 3.x to 4.x.

What is new in this release?

  • Updated to support newest gtag4 standards
  • New interface for Metrics and Dimensions, which are now custom user parameters in 4.x
  • Can run multiple accounts within the same settings interface
  • Backwards compatible with Universal Analytics and analytics.js (UA- accounts)
  • Rewritten into an event handler system. Developers can create new events within code and have them injected into Google analytics

With the 4.x release, all Drupal customers should be able to update both from 8.x-3.x and 8.x-2.x versions of the module. The only reason to continue using the 2.x version of the module is if you implemented custom javascript or code that depends on the deprecated analytics.js version of Google Analytics.

Created by: japerry
Created on: 14 Oct 2021 at 16:50 UTC
Last updated: 14 Oct 2021 at 16:50 UTC
Bug fixes
New features

Other releases