How does this work with Google Optimize
-
When using analytics in conjunction with Google Optimize, we’re asked by Google to add this snippet to our HEAD section:
<!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-XXXXXXX-X"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-XXXXXXX-X', { 'optimize_id': 'GTM-PV8WVHL'}); </script>
Notice the part:
, { 'optimize_id': 'GTM-PV8WVHL'}
Does (or can) your plugin play nicely with this?
Thanks,
Lyden
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How does this work with Google Optimize’ is closed to new replies.