Google Analytics
Hi guys,
How do I add the Google Analytics tracking to BeTheme? If I go to appearances and BeTheme Options, on the Google Analytics window, it's not recognized by Google. Does it take some time?
This is the code I'm talking about (I've just removed my personal GA ID.
Thanks,
<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','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-xxxxxx-x', 'auto');
ga('send', 'pageview');
</script>
Comments
if you pasted this code under Theme options > Getting started > Advanced section where Google Analytics field is then everything is fine and you must wait for Google as sometimes it takes time.
Thanks!