If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
Tagged: Google Analytics not working
So I updated my Abundance theme (no easy task) but it now appears that Google Analytics is not working on http://www.brainsarefun.com. Any suggestions? Would be happy to give you log-in info as needed to poke around, but yes the code is properly placed in the Abundance>Theme Options>Google Analytics Tracking Code field.
Thanks in advance.
You have the entire google script loaded into that field? Just testing on my live install and it works fine.
There could be a conflicting plugin that hasn’t been updated to work with 3.5.1 yet or that when it was updated, now causes the conflict. Either way, you can test by disable all active plugins (except woocommerce) and seeing if that cause it to show up in the source.
Thanks Devin. Will take a look at the Plug-ins. Should have done this first.
Question: When you say ’cause it show up in the source” – do you mean Google? Or this something I can check right after I disable all the plug-ins?
Let me know and thanks.
Add following code into the “Google Analytics Tracking Code” text field:
var _gaq = _gaq || ;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script'); s.parentNode.insertBefore(ga, s);
and it will work even without a third party plugin…
The topic ‘Google Analytics not Working’ is closed to new replies.