phucvandinh
Active member
There is a new version of Google Analytics with Measurement ID. As of right now, it's possible to create a Universal Analytics with Tracking ID. Will XenForo switch to the new analytics?
There is no need to update in goolge_analytics template as the script is identical, but need some update as I try to use the Measurement ID in the admin cp and got an error:It's a quick template edit in google_analytics
Please enter your Google Analytics web property ID / UA number in the format UA-XXXXXX-Y.
See https://support.google.com/analytics/answer/1008080.
Thanks Creaky, spookily enough I was just reading that thread. My issue though is my forum is brand new and didn't have the old UA code so I just created an account with google Analytics to get then code and they give me the new G-XXXetc code which the Google Analytics Web Property ID field in ACP>Options>SearchEngineOptimisation does not acceptYou can associate the new & old GA codes within your GA settings for the time being
![]()
XF 2.2 - Add Google Analytics 4
How to add the new Google Analytics 4 code? When trying the new format this pops up: Please enter your Google Analytics web property ID / UA number in the format UA-XXXXXX-Y. Thanks.xenforo.com
+1 from me as well !Having just tried GA4 on a new website of my own, I can say that I will not be "upgrading" my XenForo website to use it and I would strongly recommend that everyone else avoid it — for now, at least.
I think I switched to the new system before xenforo... 🤪There is a new version of Google Analytics with Measurement ID. As of right now, it's possible to create a Universal Analytics with Tracking ID. Will XenForo switch to the new analytics?
We use essential cookies to make this site work, and optional cookies to enhance your experience.