When I started Blogging, Blog Stats were just for this to know how many visitors I was receiving, and over time I realized that stats is the key to blog growth. It does not matter whether your blog is getting 100 views a day or 100 million, you will need a stats program, so that you can track and analyze the traffic of your blog.
Google Analytics is a great free analytics tool. I am not going to tell you about the details of Google analytics and its benefits, because you can read them from this link. In this tutorial you will learn how to setup Google Analytics account and how you can add Google Analytics to your WordPres blog.
I have also simplified this guide for non-technical users, so you don't have to worry about the tech-how of Google Analytics and WordPress Integration.
How to setup Google Analytics Account?
Let's start this guide by setting up your WordPress blog with Google Analytics.
you same You can repeat the process for any website.
If you are doing this for your first website, you will have to go to Google Analytics page and login with your Google Account.
You can create an account for free.
For the first time setup, you will be asked the details of your website and some personal details to start. If you are among those who already have an account, click on the Admin tab at the top and then click on the Select Account button and click on Add New Property.
On the next page you will have to add your website details. Below is a sample screenshot of a website.
Click on Get Tracking ID and you will be moved to a page with Tracking ID for your website.
So far, you have set up a Google Analytics account and created a Tracking ID for your website. Now the most interesting part of the tutorial starts: because now you have to inegrate your Tracking ID with your blog. Let's take a look at the next section.
3 ways to add Google Analytics to WordPress:
There are multiple ways to add Google Analytics to your blog and you can choose one of the following methods according to the level of your blogging. According to my recommendations, I am listing different methods below.
First Option: Google Tag Manager
Harsh Sir started using Google Analytics in 2013 and has since become the sole tag manager for all his sites. It is free and by doing it you can manage all the tags of your blog from one place. I recommend Google Tag Manager for every professional and serious blogger. It takes hardly 5 minutes to setup and once you have setup it, you do not need to worry about tag management in future. There is a 5 minute tutorial on integrating Google Tag Manager for your WordPress blog.
Second Option: Using your WordPress Theme
Many of you may not know that most WordPress themes have the option of adding header and footer scripts. You can use it to add Google Analytics Code to your blog. Simply copy the tracking code you received in the first step and go to the theme settings option, open the option of add footer script and paste the code in it. It will work seamlessly and more over you do not need to rely on any other plugin for a simple task. The screenshot given above is of the popular Genesis Theme Framework.
Third Option: Using Google Analytics for WordPress Plugin
There are many plugins available in the WordPress plugin repo to add Google Analytics to your WordPress blog, but the Google Analytics Plugin by Yoast is the best. All you have to do is to install and configure Google Analyitcs for WordPress Plugin (link of plugin) from official repo, which I have explained below. Once you activate the Plugin, you will see a popup, which will ask about aapko allow or disallow tracking, in which I would prefer "Do not allow Tracking".
Go to Settings> Configure Plugin in Google Analytics and click here to authenticate with Google or you can also select Manually Enter the UA Code.
Click on Save Settings and you have successfully configured the plugin. You can also read this official guide by Yoast to configure more options for this plugin. If you want to see Google Analytics data in your WordPress Dashboard, Analytify is a useful plugin for you.
How to submit your blog to Google
Of the above three options, I would recommend using Google Tag Manager because it will make your life simple in Long Run.
Tell me which method you use to add Google Analytics to your blog, and what other statistics program you do to track visitors of your blog besides this.
Subscribe for more such videos