Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
New stable major release where you can retrieve data from Google Analytics 4 views, instead of the older Universal Analytics as that is phased out. Other new features are limiting the amount of nodes to update during cron.
For upgrading from 8.x-3.x releases (if you used the previous 4.0.0-alpha, beta or rc releases, you don't need to perform these steps):
This release contains a lot of fixes and new features that come handy for better scalability and better options to alter cron, request or URL processing. A solution was done to prevent giant queue creation timeouts. It is advised to update from earlier alpha versions to this. Documentation about the new features will be done in the next few days.
After updating to this version, run database updates.
There's a minor change in GoogleAnalyticsCounterAppManagerInterface, so if your code overrides the google_analytics_counter.app_manager service, you must adjust to it.
For eliminating the possible Gateway timeouts for cron, new settings were added to the settings form to limit the amount of nodes to process.
New major release where you can retrieve data from Google Analytics 4 views, instead of the older Universal Analytics. Note that if you still want to query visitor count from Universal Analytics, you should continue using 8.x-3.0 versions.
Run database updates via drush updb or via /update.php, otherwise you'll get ArgumentCountError: Too few arguments to function errors because of constructor parameter changes in module's services.
Issue #3027334 Unable to Update to latest release.
google_analytics_counter_update_8009() wasn't thought out properly, so this release is a regression fix.
Got working and simplified the voluminous on page instructions on the authentication page.
Issue #3025045 Unable to revoke authentication if google returns 403
Issue #3025051 custom field should be integer
Moves the help text from the auth page to the Message Manager.
Removes unreachable error message.
#2983416. Add Automated Tests. Fixed and improved. More to come.
#3023761 Views Field GAC not Matching GAC Block. Uncache the block. Remove bad code that was adding to the pageview count in the block falsely.
Change the GoogleAnalyticsCounterManager to GoogleAnalyticsCounterAppManager, having moved all the auth methods into the GoogleAnalyticsCounterAuthManager. I did this so I could concentrate on the application part of this module without any distractions.
Adds a custom Google Analytics Field which is populated with Google Analytics pageviews. This is issue Create a custom field for the pageviews for this release,
The core module "Statistics" is no longer required.
There is now an option to write counts to this module's own table ('google_analytics_counter_storage') instead of re-using the core Statistics module table ('node_counter').
Views integration with the new storage table. To add the counter values for nodes, just add field "Pageview Total" in your view. Sorting and filtering by the counter values works as well.
Drupal 7 branch 7.x-2.x is now completely independent from Google Analytics Reports / its Google Analytics API submodule, and its dependency Chart. Google Analytics quota limit is no longer an issue. Data retrieval happens during cron runs, not affecting users. Much improved performance, almost completely rewritten, cleaner and more elegant code.