Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Install
Works with Drupal: ^8.9 || ^9Using Composer to manage Drupal site dependencies
Alternative installation files
Download google_analytics-4.0.1.tar.gztar.gz
55.26 KB
MD5: 025e3be641c7fb407bc621fb83ee50a2
SHA-1: 06ad180e66d024fba8c13c98e116d2c2f2447c58
SHA-256: 266972da7cd509d08de1a96d6e70e6482fab92846c4e774fdb3d2b498bc4a2ec
Download google_analytics-4.0.1.zipzip
93.16 KB
MD5: 8558c0a14473c127fdb15e9a9f9d3503
SHA-1: 5238d8c5c1fc778b0ed0d998724f77fcfd17d936
SHA-256: b7e23a1bdbcf977c0e4d713d0147f689848d3a1f8eee751f2df9847bd15a2142
Release notes
This is mainly a bugfix and PHP8 compatibility release for the Google Analytics module. it is the last version that will support Drupal 8. Upgrade to Drupal 9 today!
Contributors (13)
Grevil, Jeya sundhar, Michelle, VladimirAus, amarlata, beunerd, bigbaldy, brtamas, droath, fengtan, japerry, lamp5, vzamko
Changelog
Issues: 7 issues resolved.
Changes since 4.0.0:
Bug
- #3170816 by amarlata, japerry: D7 to D9 migration fails with "The "migration" plugin does not exist"
- #3245331 by Grevil: Account ID inaccessible in JavaScript
- #3294638 by japerry: Trying to access array offset on value of type null in GoogleAnalyticsAdminSettingsForm
- #3308742 by droath: Hook Event Dispatcher Module Errors
- #3300716 by Grevil, beunerd, Michelle, japerry: Deprecated function: explode(): Passing null to parameter #2 ($string) of type string is deprecated
- #3258588 by Jeya sundhar, VladimirAus, bigbaldy, vzamko, brtamas: Deprecated function: Return type of Drupal\google_analytics\Component\Render\GoogleAnalyticsJavaScriptSnippet::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be u
Misc
- Add Support for GT Google Tag prefix.
- Require Path Alias module.
Task
- #3279741 by fengtan, lamp5: Remove unused config items "ua_legacy" and "premium"