The current script supports the old version of Google Analytics called "Universal Analytics".
We want to support the new Google Analytics 4 service.
After the change, only the new version of Google Analytics 4 will be supported.
I could use a conditional flow to support both versions but I'm not in favor of this because it's better to go forward with the new service and keep the GOOGLE_ANALYTICS setting untouched.
Changes
Replace the script in fragments/google_analytics.html to support the new Google Analytics 4 service.
Reference
You can read more about Google Analytics and how to migrate here.
Fixes #22
The current script supports the old version of Google Analytics called "Universal Analytics". We want to support the new Google Analytics 4 service. After the change, only the new version of Google Analytics 4 will be supported. I could use a conditional flow to support both versions but I'm not in favor of this because it's better to go forward with the new service and keep the
GOOGLE_ANALYTICS
setting untouched.Changes
fragments/google_analytics.html
to support the new Google Analytics 4 service.Reference You can read more about Google Analytics and how to migrate here.