Q about GA code
-
I noticed in the source code that when I don’t enter tracking code for Google Analytics that this block still writes to the page:
<!-- This site is running CAOS: Complete Analytics Optimization Suite for WordPress --><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://ecofriendlycoffee.org/wp-content/plugins/wp-disable/cache/local-ga.js','ga');ga('create', '', 'auto');ga('send', 'pageview');</script><script>(function(html){html.className = html.className.replace(/\bno-js\b/,'js')})(document.documentElement);</script>
I’m wondering if this could cause a problem should I choose to use another plugin for GA tracking and not WP Disable? And even if it isn’t a problem, wouldn’t this code be extra weight for my pages?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Q about GA code’ is closed to new replies.