Never Add Analytics Code to Your WordPress Theme

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 Reply

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