0
I need to apply 2 Google Analytics tracking Ids to a website. I already generated the first ID. I was reading, that if I just put one above the other, it won’t work. What to do?
<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-00000000-00', 'auto');
ga('send', 'pageview');
</script>
The two Ids will be for the same pages?
– Jéf Bueno
I’ve already put both and sure yes
– Karl Zillner
@LINQ yes, will monitor the same site and the same pages.
– Felipe Viero Goulart
@Karlzillner impacts negatively on the final result.
– Felipe Viero Goulart
And what’s the point of having two Ids?
– Jéf Bueno
@LINQ two separate accounts will manage the same account.
– Felipe Viero Goulart