Probably you heard of Google Analytics before if you are reading this article. You always wanted to track your website data and traffic, but didn’t know how? Then this article is for you. In this post, we want to explain to you what Google Analytics is and why it is very important to use it? Also, we will give you step by step instructions on How to Add WordPress Site to Google Analytics.

What is Google Analytics For?

Google Analytics is created by Google to help you track your website data like traffic, conversions, time spent browsing your website, your audience location, gender, and age. Also, it tracks all your keywords searched and clicked on Google. That way you can analyze which keywords work best for you and from what countries you get most visitors.

How Does Google Analytics Collect Data?

Google Analytics uses a small piece of JavaScript tracking code to collect data about your website visitors and their interactions on your website.

After you create your Google Analytics account, you need to add the script on your website. MonsterInsights
is a great WordPress plugin which helps you properly and easily add Google Analytics to your WordPress site and makes sure that it’s sending all interactions to Google Analytics.

Once setup is done, Google Analytics will drop a cookie on the user’s browser for your website. It will help to track every interaction that the user performs on your site.

Why Do You Need To Add Your Website to Google Analytics?

There are many reasons why it is very useful to use Google Analytics, but the main one that it’s absolutely FREE! Why not use something, if it’s free and can give you many valuable benefits as well.

Analytics collects data for you automatically and will give you a report which you can customize. Easy integration with other tools and platforms. It has the ability to measure internal site search and shows what potential customers are looking on your website.

Google Analytics Data

Bounce rate is one of the most important metrics which show you how many people are leaving your website after visiting only one page. High bounce rate might indicate that visitors coming to your website, but not finding what they were looking for. You have to reduce your bounce rate as much as possible.

Bounce Rate

Google Analytics provides a very detailed report of pages experiencing high bounce rate, which can help you to improve your website.

Also, it can give you a report about location, age, and gender of your visitors, which can help you to target the right audience.

How to Add WordPress Site to Google Analytics

And these are just a few benefits which Google Analytics can offer.

How to Add WordPress Site to Google Analytics?

Once you know what Google Analytics is for and why it’s highly recommended to use it lets have a look at how to add WordPress site to Google Analytics.

First of all, you have to go to Google Analytics.

You can log in using your Gmail account or if you don’t have one, you have to create a Gmail account first.

Sign in to Google Analytics

Once you have your account set up and logged in, press on Admin and Create new property to add a new site to Google Analytics.

How to Add WordPress Site to Google Analytics

In this window you must add your Website Name, URL, Industry Category, Time Zone and press Get Tracking ID.

How to Add WordPress Site to Google Analytics

You will receive your Tracking ID and piece of code.

Google Analytics Tracking ID

Once you have your tracking ID and tracking code there are few ways how to add WordPress site to Google Analytics and we try to cover the main ones.

Adding your site to Google Analytics using All in One SEO Plugin

There are two ways of adding your site to Google Analytics using All in One SEO plugin. The easiest way is to add your Tracking ID to your All in One SEO plugin.

To do that go to your WordPress Dashboard and press on All in One SEO and General Setting.

General Settings

Scroll down until you see Google settings. Paste the Tracking ID you have copied from Google Analytics into Google Analytics ID field. Press Update Options at the bottom.

Google Analytics ID

Another option is to place tracking code into your website header. The easiest way to do that is to download Insert Headers and Footers plugin.

Go to your WordPress Dashboard and press on Plugins and Add New.

Add New Plugin

Then in the search box type insert Headers and Footers and press Enter. Install and Activate Insert Headers and Footers plugin.

How to Add WordPress Site to Google Analytics

Then press on Settings and Insert Header and Footers in your WordPress Dashboard.

Insert Headers and Footers

Paste the Tracking Code you have copied from Google Analytics into Scripts in Header box and press Save.

Insert Code

To check is your site successfully added to Google Analytics open your website and Google Analytics at the same time. Press on Home at Google Analytics and check if there is an active user at your site right now, if yes, that means your site is successfully added to Analytics.

Check for active user

Adding your site to Google Analytics using Yoast SEO plugin

First of all, you have to download MonsterInsights plugin. To do that go to your WordPress Dashboard and press on Plugins and Add New.

Add new plugin

Then in the search box type insert Google Analytics by MonsterInsights and press Enter. Install and Activate MonsterInsights plugin.

How to Add WordPress Site to Google Analytics

To get started in your WordPress Dashboard click on Insights and Settings.

Insight Settings

Now you can click Connect MonsterInsights with your Google account button to start the process.

Connect MonsterInsight

Select Your Google Profile.

Select Your Google Account

Next, click Allow button to give MonsterInsights access to your Google Analytics data.

How to Add WordPress Site to Google Analytics

Select the website profile you want to Authenticate with MonsterInsights, mark I’m not a robot option and click Complete Authentication.

I'm not a robot

You are all set. It can take up to 24 hours for the MonsterInsights dashboard to display your data.

Key Facts

  • Google Analytics is created by Google to help you track your website data like traffic, conversions, time spent browsing your website, your audience location, gender, and age.
  • Google Analytics uses a small piece of JavaScript tracking code to collect data about your website visitors and their interactions on your website.
  • Reasons to add you site to Google Analytics are: it’s free, Analytics collects various data for you automatically, shows you bounce rates of your pages, gives you a report on your visitors’ location, age gender and much more.
  • To set up Google Analytics you must have a Gmail account.
  • There are three main methods for adding your site to Google Analytics. Using All in One SEO, Yoast SEO or MonsterSights plugins.

Conclusion

We hope that after reading our post you learned what Google Analytics is, what is used for and how to add WordPress site to Google Analytics. You can use the easiest and most suitable method for you to add your site to Analytics.

If you ever need a hand or have any questions or concerns don’t hesitate and feel free to leave them below and we will be more than happy to help you out and answer your questions as soon as possible.

All the best,

Marius & Ndidi

Founders of howtoquit9to5job.com

Please follow and like us:
Follow by Email
Facebook
Facebook

12 Comments

  1. Reply

    Thanks for a great, comprehensive post. I’ve gone through most of the setup already, and thanks to your post I can go back and check it out again.
    I do have hte cart before the horse, as I am struggling big time with content. Having started at WA in June this year, I believe I’ll be on track by June next year. Thanks again. Well done with tehcharts and explinations,

    • Marius

      Reply

      Thank you for reading my post David and I’m very happy that you did find it helpful. It is very important to properly set up Google Analytics for your website and can help you to improve your business. And I want to welcome you joining Wealthy Affiliate. Keep up the hard work and you will get there! If you need any help you can always ask and I will try to help you out.

  2. ronald otochi

    Reply

    It was pretty easy to follow along on your article. One question I do have is, is there like the perfect time to add your site to google analytics? Am just starting out & don’t have a lot of traffic, is analytics good for me this early, in my venture?

    • Marius

      Reply

      Thank you Ronald, I’m happy you find my article helpful. I’ve tried to explain how to set up Google Analytics as simple as possible with step by step instructions so everyone could follow it. The sooner you set up Google Analytics the better because then you could link your Google Analytics account to Google search console, which will help your articles get indexed in Google a lot faster. I’m preparing a new post which will explain how to set up Google Search console for your WordPress site.

      • ronald otochi

        Reply

        Not to rush you but, is the post coming soon? I’ve been eagerly checking the past couple days.

        • Marius

          Reply

          Hi Ronald, thanks for your question. I’m working on a few new posts at the moment, but I will definitely post an article on how to set up Google Search console will be posted by the end of next week!

  3. Reply

    I was able to install the “insert headers and footers” plug-in and it’s working on my website now. I can monitor anytime the site activity using Google Analytics. Thanks for sharing this information. It’s a great help.

    • Marius

      Reply

      You are very welcome Emilio, I’m happy you found my article helpful and found the method which worked for you. You can take a great advantage by using Google Analytics and monitor which keywords ranking for your posts and what traffic do you get and use this information for making improvements to your site. I would highly recommend setting up a Google Search Console if you haven’t done yet because it will help to get your posts indexed in Google a lot faster.

  4. Reply

    Great post with all the important information! You make it easy to get started collecting data.

    When I first started my blog, I had Google Analytics mixed up with the search console, not realizing they were 2 different products. I missed out on tons of data because I discovered my mistake after 9 months of blogging!

    I recommend that if you are reading this post and do not yet have GA, stop what you are doing and install it for your website.

    • Marius

      Reply

      Thank you Irma. Yes, Google Analytics and Google Search Console are two different products and they often get mixed up. Google Analytics is for data collection about your website traffic, conversions, keywords and Search Console is great to check are your articles indexed in Google and also to improve your articles indexing speed. I suggest having them both because both of them can be very useful.

  5. Madeline

    Reply

    Ah! Thank you so much for this amazing post! I am not good at anything regarding technology so I thought setting up my Google Analytics was going to be the death of me. But thanks to this post you have listed EVERy possible step and broken it down for me so well that my site is officially up and running with Google Analytics! I agree with you on just how important it is to use this for your site, it helps keep track of trends, traffic, and other awesome tools, and like you said its absolutely free so why not? Thanks so much, I loved this post, I will be bookmarking it for the future 🙂

    • Marius

      Reply

      Your very welcome Madeline, I’m so happy that you found my post helpful and congratulations on successfully setting up Google Analytics, it will definitely improve your online business and will give you an amazing tool to track your website visitors, popular posts and keywords and with all that information taken on board you can greatly improve your site Thank you for bookmarking my page and I wish you the best of luck in your online business!

Leave a comment

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