How to add Google Analytics in WordPress?

If you are a blogger then Google analytics is a free tool of great use to you, with the help of which you can know a lot about your visitors and about your blog. In simple words, with the help of Google analytics, you can monitor and track your blog.

Like where are the visitors to your blog coming from and using which keywords. Which posts visitors are liking on your blog etc. Let us know what you can know by adding Google Analytics to WordPress blog.

Read More: How to Setup Cloudflare CDN?

What is Google Analytics

Google Analytics is a tool from Google, using which you can know the user activity happening on your website. This tool is a very beneficial tool, using which you can increase the number of visitors to your website and with this you can know from Google analytics what people are liking on your website and what not.

You can increase your revenue with the help of the data you get from analytics and with this you can remove the shortcomings in your website.

Benefits of Google Analytics

  • In the current time, how many visitors live on the blog i.e. are reading your blog.
  • Visitors are coming to the blog using which device (computer, tablet, mobile).
  • Visitors are reading which posts on the blog and for how long they stay on the blog.
  • From which country, state or city the visitors have come.
  • Which browser and which screen resolution size visitors are using.
  • Where did visitors come to the blog from social sites, from search engines or from any other website.
  • How many page views and users came on the blog in a year, a month, 1 day or in which custom time.
  • What is the bounce rate of the blog i.e. for how long the visitors visit your site.
  • With what speed does the post open on the blog and which post is more or less open?

Apart from the points mentioned above, you can know a lot more with the help of Google analytics, but first you have to connect Google analytics with your blog and after that you can easily monitor and track your blog.

You can connect Google analytics with your YouTube channel, WordPress blog, Google blogger blog and any custom website and for this you have to first create an account for that site or blog on Google analytics.

After creating a Google analytics account, you will get the tracking id or tracking script from there, which you will have to copy and paste it in your blog, channel or website and it will be added to your site or blog analytics.

How to Set Up Google Analytics Account 

Step 1 : First of all open Google Analytics By Clicking On This Link. If you have not login to gmail on the browser, then a login page will open in front of you, on which you can login by entering your information.

Step 2 : Now you will come to the page of Google analytics and now you have to click on the signup button.

Step 3: Now a form will appear in front of you where you have to fill the information about the blog. I have told in the details below the image that what information we have to enter while creating an account on Google analytics.

  • First of all you have to type Account Name, in this you can type your company name or your name as if I had entered my Roton Kumar Roy in it.
  • After that you have to type the name of your blog like I had entered the name of my blog InfoTechBot.
  • After that you have to type the URL of your blog, just remember that you do not have to put http:// or https:// in your URL, you have to select it from the select box given in front. ex:
  • After that select the category of your blog, meaning that your blog is related to the topic.
  • After that you have to select the reporting time zone of your country.
  • Now you will see Data Sharing Settings, keep clicking on all its checkboxes.
  • Now click on the Get Tracking ID button. As soon as you click on the Get Tracking ID button, the terms of service agreement of Google analytics will open in front of you, now you have to click on the I Agree button.

Step 4 : Now you will come to the page where you will see your tracking id and tracking script, using one of these you can connect your blog or website to Google analytics. Let us now learn how you can add Google analytics to your WordPress blog.

Add Google Analytics in WordPress

So you have learned what is google analytics, what will be the benefit of adding google analytics to the blog and then we learned how to create account for your blog on google analytics and after creating account we will have a google analytics ID (code) also found.

Now to add Google analytics to your WordPress blog or to connect or install I say, all you have to do is to add that Google analytics tracking code to your WordPress blog.

Step 1 : First of all, select the Google analytics website tracking code and copy it.

Step 2 : Now you have to login to your WordPress dashboard and go to Appearance -> Editor and click on Theme Header file header.php.

Now you have to paste the analytics website tracking code that you copied before the closing head tag </head> and then save the changes by clicking on the Update file button.

Now Google analytics has been successfully added to your WordPress blog and you can see your blog’s visitors information on Google analytics website or mobile.

Hope you have liked this How to add Google Analytics in WordPress. If you have any question or suggestion related to this post then comment below and share this post with your friends.

Sharing Is Caring:

Hello Friends, My Name is Roton Kumar Roy (Founder) I am a Full-Time Blogger, Youtuber and Digital Marketer. I have start for those people who want to learn Complete Blogging Course sitting at home for free online.

Leave a Comment