Global Site Tag (gtag.js) Option? (analytics.js / ga.js) is outdated!
-
It seems that Google Analytics is now using gtag.js and not the OLD analytics.js / ga.js options. This is what google gives you now:
<!-- 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>
So I’m not sure what to choose on the setup options for your plugin! Its neither analytics.js or ga.js
Please let me know!
Thanks!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Global Site Tag (gtag.js) Option? (analytics.js / ga.js) is outdated!’ is closed to new replies.