Spread the love

 When I began running a blog, stats on the blog is simplest for understanding what number of traffic I’m getting. With time I realized that stats on my blog is the key to blog growth. It doesn’t count number when you have a blog with 100 views within a whole day or a blog with 100 million views a day. You want to have a stats software which assists you to track website visitors and examine them.
Google analytics code is one of the free stats application this is should have tool for any website. Google analytics has so many benefits that I want to cover it right here. With this tutorial, you will be mastering about setting up your Google analytics account. And adding Google analytics code to your WordPress blog.

I have simplified this guide to non-technical persons too, so you don’t worry about How to Google analytics code & WordPress integration.

How to Setup Google Analytics Account

Let’s start this manual by setting up Google Analytics account for your WordPress blog or website. You could use the same procedure for any of your websites too. In case you are doing this on your first website, you want to go to Google analytics web page and log in using your Google account or create an account that is absolutely free.

For the very first time setup, you may be requested to add your website details and your personal information to get started. In case you already have an account. Click on admin tab at the top > choose an account and click on add the new property.

Google-analytics-new-property1

At the next page, you need to add blog or website details to get the tracking id or google analytics code to track your website. Here is a sample screenshot for your reference:

Setting up Google Analytics

Click on Get tracking ID and you will be referred to the page with your tracking ID for your blog or website.

Google Analytics Tracking ID

So finally, you have an efficient setup your Google analytics code account and created the tracking identification on your website. Now the maximum exciting part of this guide begins, as you want to integrate Google analytics tracking id into your WordPress blog. let’s have a look at the next phase.

3 Ways to add Google Analytics Code to WordPress

There are many methods to add Google analytics code (GA) to your blog. And depending on your knowledge and level of blogging you should choose one of the below-cited strategies. I’m setting down the different techniques based totally on my recommended strategies.

Option-1: Google Tag Manager:

Google analytics is my only tag manager for all my sites. It’s free and you can manage all the tags on your blog from one location. I advise GTM to every professional and extreme blogger.

It hardly takes five minutes to setup and when you are done, you don’t should fear regarding tag management in future. Right here is a just five minute tutorial on

  • Integrating GTM on your WordPress blog

Option 2: Using your WordPress Theme:

WordPress Theme Footer code

Many of you may not aware the reality that most of the WordPress theme has a choice to upload header and footer script. You may use this to feature GA tracking code on your blog. Simply copy the tracking or monitoring code which you have obtained in Option-1.

And visit the theme setting options, search for the option to upload footer script and paste the code. It will work seamlessly. And moreover, you don’t need to depend on every other plugin for an easy and simple task. The above screenshot is from famous Genesis theme framework.

Option-3: Using Google Analytics for WordPress plugin

Google Analytics for WordPress

There are so many plugins which are available in WordPress Plugin store to add Google Analytics code on your WordPress blog. However, Google Analytics plugin by Yoast is an excellent must have the choice.

All you just need to do is to install Google Analytics for WordPress plugin from official page and configure it, which I have defined below. Once you have activated the plugin, you’ll see a popup asking to permit or disallow tracking. Which I prefer to choose “Don’t allow tracking”.

Simply Go to settings > Google Analytics to setup or configure the plugin. And click on click here to authenticate with Google or you could also select manually enter the UA code.

analytic account

Just click on save settings and you’ve efficiently setup the plugin. You may also take a look at this useful guide by Yoast to configure different alternatives of the plugin. In case you need to see Google analytics facts in your dashboard, Analytics is another useful plugin for you.

Of all the three options, I would suggest you use the Google tag manager option as it will make your life easier and less difficult for a longer run.

Just let me know which one method you prefer and are using to add Google analytics code to your website or blog. If you find this tutorial knowledge-based then don’t forget to share it with your best friends on Twitter, Facebook and Google plus.


Spread the love

Leave a Reply

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