Adding Google Analytics to your WordPress site will help you track who’s been visiting your site, what they’ve been looking at and how they got there.
The easiest way to do it is by using a plugin such as our Analytics+, which gives you access to your analytics dashboard in the WordPress admin.
But sometimes you might want to keep things a bit simpler and insert the analytics tracking code into your site yourself.
Google tells you to insert the code in the section of each page on your site, but the great news is that with WordPress you don’t need to do this. You can create a simple plugin that will automatically insert it into every new page that’s created in your site.