How to Connect Your Blog to Google Analytics:
Once you start to get traffics to your blog, you would want to analyze it.
Through analytics, you can find out what your users are doing on your blog, how much time they are spending on it, which posts are getting more reads, what is the demographic of your readers etc.
And if you don’t analyze the web traffic that’s coming, you might end up creating content that is actually being ignored on your blog. That is why it is very important to know your reader’s likes and dislikes so that you can create content that they will interact with.
And to analyze your blog’s traffic, Google Analytics is the best place to be. There’s plenty of other analytics tools available in the market but Google Analytics is my favorite, coz it’s absolutely FREE and yet does everything you want.
So, how do you connect analytics to your blog?
Glad you asked; just follow the steps below and you will be good to go.
Step 2: Set up your account.
Once you’re done filling up the required fields scroll down and click on the button Get Tracking ID.
Step 3: Accept the terms of service agreement presented by Google. Select India from the drop-down menu and click on I Accept.
There are two ways you can do that and for both, you are going to need a different plug-in. Which means you are free to go with any of the ways you like.
Let’s try the first one…
Connect your blog to Google Analytics account by using the Tracking ID:
On the first way, we will implement the tracking ID. To do that we will need a plug-in like the Google Analytics Dashboard for WP (GADWP). There are other plugins available too, but this one is my favorite.
Step 1: Install the plug-in and activate it.
Need help? Read this >> How to install a WordPress plugin?
Once the plug-in is successfully installed, head over to its general settings. Google Analytics > General Settings
Step 2: Click on Authorize Plugin.
Step 3: Click on Get Access Code.
It will automatically open up a new tab and it will ask you to login to Google. Once you are logged in, the plugin will ask for permission to access your analytics account; click on Allow.
Now it will present you the access code; copy the code and head back to the plugin settings and paste it in the box against Access Code.
Step 4: Click on Save Access Code.
It will now automatically fetch in the tracking code and the basic information of your blog from your analytics account.
Step 5: Select a color if you like for the stats which will show up on your WP dashboard once you start to get traffic.
Click on Save Changes.
That’s it. that was one to connect your blog to Google Analytics.
Recommended read for your >> How to connect your blog to Google Search Console.
For the second way, we will be using a plugin called SOGO Add Script Header Footer
Connect your blog to Google Analytics account by using the Universal Analytics tracking code:
For this technique, we will have to insert the java scripts provided by Google into your blog’s header.
The disadvantage of Connecting your blog to Analytics by using this method is, you will not be able to see the Google Analytics data in your WordPress dashboard.
If that’s not an issue for you then here is how to connect analytics to your blog by using the website tracking code:
Step 1: Install the SOGO Add Script Header-Footer plugin and activate it.
If you have logged out from your analytics account go ahead and log in again.
Follow the steps below to find your tracking information again:
>> On the left bottom corner click on ADMIN
>> A new screen will appear on the right side. Click on Tracking Info in the middle column and then Tracking Code.
Step 3: Go back to your WP dashboard and then go to Settings> Header Footer Settings> paste the code into the box that says Header.
Step 4: Scroll down and click on Save Changes.
That’s it. You have now successfully connected your blog to Google analytics.
If you want to verify whether the website tracking code is implemented properly or not then here is a way:
Login to your Analytics account >Click on Admin > Tracking Info> Tracking Code
Now on to the right side of the Tracking ID you will see a button has appeared and which says Send test traffic, below the Status section.
Click that button; your website will now open up in a new pop-up window, don’t close the window and head back to your analytics account.
If your tracking code is working fine then you should see something like the screenshot below:
If it says, “1 active user right now (including 1 from test traffic)” then go ahead and pat yourself on the back; you deserve it. You have now successfully connected your blog to Google Analytics.
Recommended Read>> How to configure Yoast SEO Plugin to get the most out of your SEO
Congratulation! You are now ready to track your blog’s traffic.
But, your job is not finished yet, this is just the beginning and to be honest, as long as you are sticking to blogging you will have to use this tool every day, I mean literally.
It’s a never ending process, you will have to analyze the data that you are receiving from the tool to determine your readers need and your success rate with it. You will have to constantly analyze the data and figure out ways to improve your work.
With that thought, see you soon.
P.S. If you have liked what you read today, please share it with your friends and family who you believe might benefit from this.