Rich-text Reply

Outdated documentation for Google Analytics integration?

Mr-BS 05-19-16

Outdated documentation for Google Analytics integration?

Hey,

could it be that the documentation for integration google analytics is outdated?

The ga JS script snippet looks like the old one:
https://help.optimizely.com/Integrate_Other_Platforms/Integrating_Optimizely_with_Google_Analytics_C...

https://developers.google.com/analytics/devguides/collection/gajs/methods/gaJSApi_gaq

 

Anyway, optimizely should work with the analytics.js right?
Like this code:

<!-- Google Analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-XXXXX-Y', 'auto');
ga('send', 'pageview');
</script>
<!-- End Google Analytics -->
Level 2

Mr-BS 05-19-16
 

Re: Outdated documentation for Google Analytics integration?

Hmmm, looks like my fault :-(
think that´s the right documentation for me:
https://help.optimizely.com/Integrate_Other_Platforms/Integrating_Optimizely_with_Google_Universal_A...
Level 2