How to Set up Google Analytics & Search Console for Your Blog

by | Jun 16, 2020 | Tutorials | 2 comments

This post might contain affiliate links meaning we get a small commission if you choose to purchase through those links (without any extra cost to you). Thanks for supporting us. Read full disclosure here >>

  • 36

Google Analytics and Search Console are must-have tools for every blogger to track their blog’s performance in terms of traffic and Google SERP rankings.

If you’re not using Google Analytics to track your pageviews then you’re really missing out on the most popular analytics tool on the internet. Millions of websites use it to keep a track of their blog traffic.

Search Console, on the other hand, helps you to keep a track of your blog’s performance in the Google SERPs. You and I are both aware of Google’s powers.

In this post, you are going to quickly discover what these two awesome tools from Google can do and how you can easily set them up for your blog.

Google Analytics

Before we move forward to setting it up for your blog, you should first know how it works, what it can do and what are the benefits of using Google Analytics to keep a track of your blog’s traffic.

How it Works

When someone visits a web page, a javascript code is triggered. It then interacts with the cookies on your device and sends the data back to your Google Analytics account.

This is how the analytics tracks if a page is loaded.

We don’t have to get into the technicalities here!

You should know that it doesn’t track WHO visited the website. For it to track how long the user stayed on a page, the user has to click & load another page and trigger the javascript again.

It doesn’t track a lot of things and it doesn’t track anything unless the page is loaded.

What it can do

Google Analytics gives you access to a ton of information about your blog’s visitors. You can easily keep a track of:

  • Your overall website traffic
  • Individual page traffic
  • Amount of sessions
  • Whether your traffic comes from mobile or desktop
  • Demographic data (where they live etc.)
  • The time when your visitors are most active
  • Amount of leads converted and which websites those leads came from

But the question is, how can you benefit from all this data collected? (Don’t get overwhelmed yet!)

Benefits of Google Analytics

The data collected through GA helps you understand quite a lot of things. Things like:

  • Who your blog visitors actually are
  • What content they want more from your blog/business
  • The user behaviour of your website visitors

You can use all of this information to create better content and improve your website’s UI to improve user-experience and thus resulting in better conversions.

And the most important part? Google Analytics is absolutely FREE!

Now, since you understand the importance of GA and what it can do, let’s see how you can easily set it up for your blog in a few simple steps.

Setting up Google Analytics in a few easy steps

Step 1: Setting up Google Analytics requires you to have a Google account. If you don’t already have one, I suggest you create a Google account and log in to it.

Step 2: Go the Google Analytics and click on “set up for free”.

Google analytics welcome page

Step 3: Write the account name. It would be easy for you to identify if you simply use your blog’s name. Scroll to the bottom and and click on “next”.

Setting up account name in analytics

Step 4: In the second step, select the “web” option and proceed.

Google analytics mobile vs. web

Step 5: Now, fill in your website details, timezone and click on “create”.

Property values in Google analytics

Step 6: Now after accepting the terms, you’ll come across this screen with your blog’s tracking code. Copy this code and open your WordPress dashboard in a new tab.

Tracking code for analytics

Step 7: Now, go to your WordPress dashboard>>Plugins>>Add New and search for “Insert headers and footers” plugin. Install and activate the one by WPBeginner.

Insert header & footer plugin

Step 8: Go to Dasboard>>settings>>Insert headers and footers and then paste the copied Google Analytics tracking code in the header or <head> section. Click Save and Voila!

Insert Headers & Footers plugin dashboard

And you’re done! As soon as you paste the code, your website will start getting tracked by Google Analytics. And, you can test it by opening the website on your mobile and heading back to the GA dashboard on your desktop.

Next, let’s see how you can easily set up Search Console to keep a track of your Google rankings & search traffic.

Google Search Console

Search console provides you access to so much information that you can easily use use that data to improve your blog’s SEO.

Here are a few things that search console can do:

  • Analyse search traffic
  • Keep a track of your ranking keywords
  • Track backlinks
  • Submit sitemap to Google

These are quite important if you wanna boost up your blog’s SEO.

But the question is, how exactly do you set up Google Search Console for your blog?

Here’s how…

Setting up Google Search Console

Step 1: For setting up Search Console, you’ll also need a Google Account. So, make sure you’re logged in.

Step 2: Go the Google Search Console and click on “start now”.

Step 3: In the domain section, enter your website like “yourdomain(dot)com” and continue.

Google Search Console  - adding a website

Step 4: Now it’ll ask you to verify your website by adding a TXT record in your website DNS zone editor (it’s easier than it sounds!)

Copy the code from below and open your host’s CPanel in the new tab. (Since My host is SiteGround, I’ll demonstrate you with that.)

site verification in search console

Step 5: Go to your Customer portal>>Websites>>Site tools and locate “DNS Zone Editor” under “domain” in the left menu. (For SiteGround)

For other hosts, just find DNS zone editor in the CPanel or you can also contact your host’s customer service and ask them to add the txt record.

DNS zone editor

Step 6: Add a TXT record and paste the copied code in the “value” section. Leave everything else at default and click “create”.

DNS verification for search console

Step 7: Now go back to your Search Console tab and click on “verify”.

Once verified, your website will be added to the search console and you’ll come across this screen.

Search Console dashboard

But we’re not done yet! You still need to submit a sitemap to the search console in order for Google to crawl your website.

Submitting a Sitemap to Google

If you’re already using the Yoast plugin for your website, you can locate your Sitemap by going to the sitemap settings in Yoast.

Open the sitemap in new tab and copy the sitemap link.

Now, go to Search console>>Sitemaps (Left menu), paste the link there and submit.

adding a sitemap in search console

And boom! Now Google will automatically crawl your website every once in a while.

Final Words

This is how you can easily set up Google analytics and search console for your blog.

Keeping a track of your analytics is an essential part of creating better content for your audience and increasing your blog traffic.

If you found this post useful, please pin it to one of your Pinterest boards. It won’t take more than a few seconds.

The right way to set up Google Analytics for your blog

  • 36
  • 36

Recommended resources:

Pinterest with Ell

Pinterest with Ell

If you want to grow your blog traffic with Pinterest, then this is the course for you. Ell has helped over 4500 (can you believe it?) people with her Pinterest course and the best part? It’s highly affordable!

Legal Page templates for bloggers

Legal Page Templates

We use Lucrezia’s legal templates on our blogs and highly recommend it. She is an international lawyer (with a Ph.D., big stuff!) and has helped thousands of bloggers. She knows her thing and her legal page templates are the most affordable in the market.

ConvertKit Email Marketing tool

Email Marketing Tool

ConvertKit was specifically created keeping bloggers and content creators in mind. It is the most recommended email marketing tool for bloggers.
Plus, if you choose to try it through our link, you get a special 30-day trial instead of the regular 14.

related posts:

How to start a WordPress blog (Step-by-step guide)

How to start a WordPress blog (Step-by-step guide)

Do you want to start a WordPress blog, share your expertise with the world and also make some money from it? Starting a blog & making it profitable is easier than ever nowadays. This is possible even when you don't know the technical stuff, don't know a word about...

Hey there! My name is Rahul Choudhary, the founder of Blog 2 Brand (formerly Your Blog Mentor!) and I am OBSESSED with helping online entrepreneurs and bloggers in making their passions profitable and popular!

I enjoy solitude but I also like to work with like-minded people like you. Make sure to connect with me on social media. ?


  1. Juju Holden

    Finally! I was able to set up my Search Console thanks to you. 🙂

    • Rahul Choudhary

      I’m glad you found this helpful! 😉


Submit a Comment

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