Custom WordPress Website Design

How To Easily Add Google Analytics on WordPress Websites

Last updated December 2022

Google Analytics is one of the most popular & free website analytic services around. When Google Analytics is installed you can view reports on data like: which pages are performing the best or worst, what city, state or country is viewing your website the most and how long are visitors staying on your website. But before we can start collecting data we need to add the code to our website. We’ve written an article on how to create a Google Analytics account so let’s learn how to easily add Google Analytics on our WordPress website.

How To Install Google Analytics On Websites

The tracking code provided from Google needs to be in the head section on every page of your website. If you are comfortable editing your theme’s code you can add it there but remember that if you change the theme then you will need to add the tracking code again to the new theme.

The alternative to adding the code in your theme is to install the plugin Google Analytics for WordPress. Google Analytics for WordPress is the most popular Google Analytics plugin with over two million active installations.

Unlike other Google Analytics plugins, Google Analytics for WordPress allows you to enable all advanced tracking features with just a few clicks.

It also comes with a Google Analytics Dashboard for WordPress that shows you actionable analytics reports right inside your WordPress dashboard. They have created customized reports that eliminates the fluff and only show you the stats that matter, so you can see exactly what’s working and what’s not.

Looking to Take Your Business to the Next Level?

See How Affordable a Custom WordPress Website Can Be →

Whether you are a small or large company, your website is the cornerstone of your business. We specialize in developing custom web designs for all businesses.

Don't waste time building your own site, get a professional-grade website without the headache.