If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
The tracking code appears in the footer.
How can I make it not show?
When you are on your google analytics account, just go to where it gives you the code. Copy and paste that entire code block into the themes google analytics field instead of just the id number you have now (the UA-…).
Then it will start tracking the site and will no longer show in the footer.
I tried that and it completely destroyed the website. Well at least the Indonesian pages – look at http://www.indonesiadetective.com/id/
How do I fix that now?
As importantly why did that happen?
In fact what happens is when w3 cache is active the page is a complete unintelligible mess. When it is deactivated it is OK. This is just the Indonesian version.
Any idea how to make it work so I can use w3 cache?
The code has gobe from the footer by the way.
I’m not sure what is causing that with w3, but you can check their documentation on how to properly set it up. You might want to also check the WPML site if you are using that plugin to see if it needs to be set up differently with the plugin as well.
Thanks Devin. I am getting to grips to this website lark – widgets and plug ins mean danger.
The topic ‘tracking code in footer’ is closed to new replies.