How to Set Up a Google Analytics Account for WordPress

In this tutorial, I will show you how to set up a Google Analytics account step by step and how to add it to your WordPress website.

First though, let’s take a quick look at why using Google Analytics is crucial to the success of your blog-based online business.

Why Google Analytics Is Important

To have a successful blog that makes money, you need 3 things.

  1. Traffic
  2. Subscribers
  3. Something to sell

Without traffic and subscribers, you will have no customers to sell anything to.

That means you won’t make money with your blog and basically, your blog is doomed to fail. Period.

Google Analytics is a free tool used by more than 56 percent of all website owners, and for good reason.

When used properly, Google Analytics gives you data-driven information that you can use to increase blog traffic and build your email list, much faster.

But of course, before Google Analytics can collect the data you need to make informed decisions …

First, to get the ball rolling, you will need to try out a combination of traffic methods. And you will need a free email opt-in offer on your blog.

After that, Google Analytics will provide you with a wealth of information that you can use to strategically grow your business, including:

How people find your website

This is important because when you know HOW people find your WordPress blog (for example: Facebook, Google, YouTube, Referrals, etc) …

You can do MORE of what’s working and less of what’s not working to increase blog traffic in the fastest time possible.

Where subscribers are coming from

Inside Google Analytics you can set up goals to see exactly which traffic sources are converting the most site visitors into email subscribers.

This information is like gold dust and something you should pay special attention to. Because …

If for example you’re getting a LOT of traffic from one specific traffic source, such as Facebook …

But Facebook traffic has a high bounce rate, which usually means the traffic is either landing on your site and leaving straight away, or reading one article only and doing nothing else …

Compared to another traffic source such as YouTube that is bringing in half the traffic Facebook is, but readers are staying on your site much longer and more importantly, they are joining your email list …

Which traffic source should you do more of?

Facebook, right? No, I’m kidding ya! πŸ™‚

Your blog-based business will grow faster by focusing your efforts on YouTube because YouTube visitors are joining your email list.

What content people view the most

With Google Analytics you can see which posts are most popular on your blog.

This tells you what content your readers value most and what post types engage them most (eg, list type posts, checklist posts, how-to posts, etc).

And when you know exactly what content entices people most, you can create more of it to keep them engaged which is important, because …

An engaged audience is much more likely to join your email list, buy your products and services, and share your content on social media, too.

So, now you know just a few reasons why Google Analytics is important, let’s set up your account.

How to Set Up a Google Analytics Account Step by Step

To set up a new Google Analytics account you will need a Gmail account. If you don’t have one, you can create an account here, and then continue.

Step 1: Go to Google Analytics 

If you have more than one Gmail account, select the account that you want to use for Google Analytics from the drop down menu. Then, enter your password and click the Next button.

Choose Gmail account to use from list and enter password. Click Next

Step 2: The next page will look like the screenshot below. To start using Google Analytics, click the Sign Up button.

To set up a new Google Analytics account click the sign up button

Step 3: On the next screen, enter your business name as the Account Name. Leave all Account Data Sharing Settings recommended by Google selected.

Then click Next.

Enter business name where it says Account Name

Step 4: Select Web. Then, click the Next button.

To set up new Google Analytics account select Web

Step 5: Now, where it says Website Name, enter something like WordPress Blog, so you know this property is for your blog only, and nothing else.

Then, exactly as noted below, enter your domain name as the Website URL

IMPORTANT: choose https from the drop down menu IF (and only if) your domain name actually starts with https. If it does not, choose http. And, if your domain name includes www, add that too. If it does not include www, do not add it. Your domain name should be entered exactly as it is seen in the browser window when your site is fully loaded!

After that, select an Industry Category. If you don’t see a category that fits your business, choose the Other category. And finally for this step, select the timezone for reporting, and click Create.

Fill out property details to continue

Next, you will be asked to agree to Google’s terms of service. Select your country of residence and agree to both data protection terms, and click the I Accept button.

Agree to Google's terms of service

And that’s it. πŸ™‚

That’s how you set up a new Google Analytics account, step by step.

NOTE: After agreeing to Google Analytic’s terms of service, you will see a new page like the screenshot below with your tracking ID. To start collecting website data like number of website visitors, traffic sources, and email subscribers …

We need to add the tracking ID to your blog. So stay logged in to your Analytics account. Next, I will show you how to add Google Analytics to WordPress.

Tracking ID for new Google Analytics Account

How To Add Google Analytics To WordPress

The easiest way to add Google Analytics to WordPress is with a plugin called MonsterInsights.

There’s a free version of the plugin and a premium version that comes with more advanced features.

Note: if your website gets visits from people in the EU, by law you must get consent before using Google Analytics to collect their website usage data. If that’s you, you should consider using the premium plugin. If not, the free version is all you need.

Installing the premium version of the plugin is the same as installing the free version. Let’s get started. πŸ™‚

Step 1: First, you need to install and activate the MonsterInsights Plugin. I won’t show you how to install a WordPress plugin in this post because I’ve already created a step be step tutorial for that. See this post: How to install WordPress plugins.

Step 2: Once installed and activated, you’ll see a new tab appear called Insights. Click on it, and when the page loads, scroll to the bottom, and click the Launch Setup Wizard button.

MonsterInsights screenshot. Click Launch Setup Wizard

Step 3: On the next screen, choose a website category that best describes your website (Business, Publisher, or Ecommerce). Click Save and Continue.

MonsterInsights Screenshot: Choose Website Category

Step 4: Next, click Connect MonsterInsights.

Connect MonsterInsights to New Google Analytics account

Step 5: Then, if you have more than one Gmail account, choose the correct account from the list, and if you’re not already logged in, enter your password. Click next.

MonsterInsights: Select Gmail Used For Google Analytics account

Step 6: After that, you’ll see a screen that looks like the screenshot below. To continue, click allow.

Allow MonsterInsights to Access New Google Analytics Account

Step 7: The final step is to complete the connection. Click the Complete Connection button.

Final Step. Connect Google Analytics to Your WordPress website

MonsterInsights will now add Google Analytics to your WordPress website.

Step 8: Once added, you will see a recommended settings page. You don’t need to change any of the settings on this page. The default options are suitable for most websites. Just scroll down and click the Save and Continue button.

MonsterInsights Recommended Settings Screen

Step 9: On the next page, you can upgrade to the premium plugin if you like. But for the purposes of this tutorial, I am going to assume that you’re not going to upgrade. Click Save and Continue.

MonsterInsights Recommended Addons Screen.

Step 10: Next, and again this is optional. You will be asked if you want to install another plugin called WP Forms. This is not needed. So, I will assume you don’t want the recommended plugin. To continue, select Skip This Step.

Skip this step

And that’s it. πŸ™‚

That is how you add Google Analytics to WordPress.


I hoped this article has helped you learn how to set up a Google Analytics account and easily add it to WordPress.

In my experience, it usually takes up to 24 hours before data starts showing in your Google Analytics account.

After that, you can use the Acquisition report to find out where your traffic comes from. Then, do more of it to increase blog traffic.

And don’t forget to set up goals to find out exactly where email subscribers are coming from.

3 thoughts on “How to Set Up a Google Analytics Account for WordPress”

  1. Hi Kerry,

    What a great and helpful post, I’m quite sure that a lot of people will find it useful. I however no longer use GA for quite a few reasons now.

    Have you heard of Matomo (or Piwik)? This is what I have just setup on my own brand spanking new blog. The first reason I chose this is speed. GA ads eternal js files to the blog that causes issues found on GTMetrix reports like Leverage Browser Caching.

    Matomo nips this in the bud as everything is hosted on your site and can be used in a directory like which means you control all of the js files and as such help with speed issues.

    On top of this its better for GDPR and the like as your not using a third party anymore so the ownership of data is with you and not Google. Not only that it has more accurate data and anonymizes your visitors IP addresses.

    Yep GA is good and I used it for years on lots of my own and my clients sites but I am now a convert to Matomo.
    Just some food for thought for you and your readers Kerry.

    Love your thoughts on it? All the best.

    Phillip Dews

    • Hi Phillip,

      Nice to connect with you. πŸ™‚ Had a quick look at Matomo. Looks good at first glance, but of course, I wouldn’t know for sure without trying it out.

      Hear what you’re saying about using it to help improve speed. It can be a little annoying when we have no control over 3rd party scripts that contribute to a site slowing down.

      Kind Regards,

      • Highly agree with you there Kerry,

        Having Matomo in place means that I have full control over it.
        Incidentally my blog has just been approved for Google Ads which I thought I would try out and these past few days I have been hosting the adsbygoogle.js file locally which was simple to do for me.

        Really happy with my Lighthouse and GTMetrix scores so far but there is always room for improvement.

        All the best.


Leave a Comment