If you have a reference/link where I can find the new code, I will try to push an update asap. Thanks
Hi Jeff, thanks for the quick response. If you go into your Google Analytics, then navigate to the section where Google provides the default embed code for integrating Google Analytics, The code now looks like this:
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-59254528-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-00000000-0');
</script>
I’ll take a look and see what I can do. If you have a link to actual Google documentation for the new code, it would help expedite, thanks.
Did some research on this, and definitely will be adding support for the new syntax at some point in the future. Currently gtag.js is very new and has yet to be announced as the official replacement for analytics.js, so gonna wait awhile longer before making any changes to the GA plugin. Thank you again for bringing this to my attention.
Just to follow up with this, Global Site Tag, gtag.js is now supported in version 20180303, available now. Thanks again for the feedback.