Enable Google Analytics 4
complete
T
Tyler Rasmussen
We are currently using the Universal Analytics tag (GA3). Google just released GA4!
We'd like to upgrade to the new tag because it does so much more, but I doubt Sites has that ability yet. I'm sure it could be setup as an automatic detection mechanism (the ID's are clearly different) or, probably more easily, two different fields on the analytics page.
This is different from but relates to https://tithely.canny.io/websites/p/analytics
Alvina
complete
Hello! Great news! Google Analytics 4 was added to Tithely Sites in 2022. 🥳 If you have any questions, please reach out to support@tithe.ly. Thanks!
T
Tyler Rasmussen
Email from Google:
We'll soon sunset Universal Analytics. On July 1, 2023, Universal Analytics will stop processing new hits. If you still rely on Universal Analytics, we urge you to prepare for the future by completing your move to Google Analytics 4, our next-generation measurement solution.
T
Tyler Rasmussen
Update from Google: On July 1, 2023, standard Universal Analytics properties will stop processing new hits. If you still rely on Universal Analytics, we recommend that you prepare to use Google Analytics 4 going forward. https://support.google.com/analytics/answer/11583528
If an update doesn't happen soon, we'll have no ability to do any analytics on our site. :-(
T
Tyler Rasmussen
The backend code is relatively simply:
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-XXXXXXXXX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-XXXXXXXXX');
gtag('config', 'G-XXXXXXXX');
</script>
The script and the first gtag use the GA3 (universal analytics) ID, and the second gtag uses the GA4 ID. They run in parallel for now while GA4 is continuing to be enhanced.
I know Tithe.ly has to then add their GA3 (and GA4) tracking code in as well, but that's also easy.
Alvina
Thanks for your request, we appreciate your feedback and if anything does update on the status of this request we will let you know.