Last updated on June 9th, 2018 at 11:32 am

Best practise is to use a plugin to add Analytics code to your website, not the options in your theme.

When you change themes you lose the code and often the first thing you know about it is a gap in your analytics data.

A detailed explanation is at WPTavern Why You Should Never Add Analytics Code to Your WordPress Theme

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.