Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 67836

Cannot find Google Analytics code

$
0
0

Replies: 0

I’m unable to find the typical Google Analytics tracking code on our site (although users are being tracked properly according to the Analytics dashboard). I think this has to do with the “Google Analytics” plugin. Instead of showing the standard:

<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-OURCODE’, ‘auto’);
ga(‘send’, ‘pageview’);

</script>

I see:

<script>jQuery(document).ready(function () {
jQuery.post(‘http://OURSITE.com?ga_action=googleanalytics_get_script’, {action: ‘googleanalytics_get_script’}, function(response) {
var F = new Function ( response );
return( F() );
});
});</script>

How can I view the actual tracking code? Thanks in advance for your help!


Viewing all articles
Browse latest Browse all 67836

Trending Articles