-
Bug
-
Resolution: Unresolved
-
Critical
-
None
-
None
Analytics is changing from analytics.js to gtag.js
Also the code may have change.
This is an example of the new code :
<!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-xxxxxxx-1"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-xxxxxxx-1'); </script>