Problem/Motivation
Varbase is using Google Analytics version 8.x-3.1
This only supports legacy UA- properties. New sites use the new GA4 and as far as I can tell, you can't create a legacy version on new sites added to google analytics
Proposed resolution
Update to https://www.drupal.org/project/google_analytics/releases/4.0.0
This is stable and supports the new GA4 projects.
- Change
drupal/google_analyticsto~3.0 || ~4.0in thecomposer.jsonfile
Allowing sites to be upgraded to
~4.0and keep allowing the use of old~3.0( only to ease the automatic upgrade config steps)
Remaining tasks
- ✅ File an issue about this project
- ✅ Addition/Change/Update/Fix to this project
- ✅ Testing to ensure no regression
- ➖ Automated unit/functional testing coverage
- ➖ Developer Documentation support on feature change/addition
- ➖ User Guide Documentation support on feature change/addition
- ➖ Accessibility and Readability
- ✅ Code review from 1 Varbase core team member
- ✅ Full testing and approval
- ✅ Credit contributors
- ✅ Review with the product owner
- ✅ Update Release Notes and Update Helper on new feature change/addition
- ✅ Release varbase-9.0.12, varbase_seo-9.0.8, varbase-10.0.0-alpha1, varbase_seo-10.0.0-alpha1
Varbase update type:
- ✅ No Update
- ➖ Optional Update
- ➖ Forced Update
- ➖ Forced Update if Unchanged
User interface changes
- N/A
API changes
- N/A
Comments
Comment #2
rajab natshahThanks Jon, for filing this issue
It's a valid point
Meet the next generation of Google Analytics
The Google Analytics module had the 4.0.0 stable release.
The options are:
Not sure if Varbase will keep using the universal as ^the default config ( option )
Google Analytics Reports and Google Analytics
Testing that can be the having the following in the root project
composer.jsonfile:Comment #3
rajab natshahMoving this issue to Varbase SEO
Comment #4
jedgar1mx commentedLooks like Google announce the EOL for universal analytics to be July 1, 2023.
Comment #5
rajab natshahComment #6
rajab natshahComment #7
rajab natshahComment #9
rajab natshahFeels that it's better to manage Google Analytics
~3.0 || ~4.0In the Varbase SEO
9.0.xbranch too for easier upgrade stage.Comment #10
rajab natshahComment #11
rajab natshahComment #14
rajab natshah#3335849: Switch Google Analytics Reports module from ~3.0 to ~4.0 on the Varbase Total Control Dashboard 10.0.x branch
#3336236: Initialize Varbase Dashboards module
Comment #15
rajab natshahComment #16
rajab natshahComment #17
rajab natshah✅ Released varbase_seo-9.0.8
Comment #18
rajab natshah✅ Released varbase-9.0.12
Comment #20
rajab natshah✅ Released varbase_seo-10.0.0-alpha1
Comment #21
rajab natshah✅ Released varbase-10.0.0-alpha1