Hi,
A client of mine has been having problems with google analytics on his site for a few weeks now so I just want to make sure it’s nothing I have done or a problem involving the theme.
I pasted this code into the Google Analytics field –
<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-39385335-1’, ‘auto’);
ga(‘send’, ‘pageview’);
</script>
is that correct?
He said he compared Jetpack and Google Analytics and Jetpack showed 179 where as google showed 2 page views today.
Thanks,
Matt
Hey Matt!
It seems like you are using this plugin as well – https://wordpress.org/plugins/google-analyticator/
Please disable it and add the code to only Google Analytics field inside Enfold theme options
Best regards,
Yigit