Installing Google Analytics in WordPress Made Easy

Apart from the actual content, images and products/services that a website offers, one of the most important things that make it a success is the statistics about the site. The numbers will indicate what your visitor thinks about the site and what he/she would like to see more of. If you are wondering how to go about collecting this data, then you don’t have to anymore. Google analytics will provide you this data and that too for free.

We will guide you on the process of installing Google Analytics on your WordPress Blog.

Why you need Google Analytics on your site and what does it provide?

Google Analytics is that tool that will enable you to:

  • Keep track of who comes to your site: You will get a breakup on a area basis and the browser the visitor used to visit your site. It will also provide data on Language, Flash Support, JavaScript Support among other details. You can use this data to create a custom design that will be user friendly. You can tweak the design with regard to factors like flash availability and resolution etc.
  • Their activities on your website: This way you come to know how much time they spent on your site and whether they leave the site as soon as they have entered it. You can use this data to ensure that visitors have a good experience and spend more time on the site.
  • What is the most popular time to visit your site: This will tell you what time slot the audience prefers to pay a visit to your site and this can help you choose the right time to post your content.
  • Where did they come from: This part of the analytics tool will indicate the search engine/ link or any other source from which the visitor landed at your site. You can have the breakup of the percentage with regard to source of visitors from different points. This will indicate the search engine from which they landed on you page along with the search term the visitor used. You can use this data to improve the rating of your key search term. If you are getting the most number of visitors from a social media network site then you can work on that angle. If the source of visitors is from another site then you can work out a mutually beneficial arrangement.
  • In what way do they use or interact with the content on the site: You can get information on which links your visitor clicked on and other such information. This will give you an idea about what your end user is interested in and you can slant your content accordingly and remove things that do not garner any interest.

Steps to sign up with Google Analytics:

  • The first step is to create Google Analytics Account. Click on the Google Analytics Sign up page to do this. You will be taken to a screen as shown in the picture below . If have an account with Gmail already you can use that to sign in. If not then create an account.

Google-Analytics-Sign-Up-1-1024x298

  • Once you have registered for Gmail, then you will be taken to a screen like the one in the Picture below. From this screen you can register for Google Analytics using the Gmail id you have created

create an account

  • Next you need to fill in the data and particulars about your site. You will find that the fields you have to fill are clear and simple. You will need to provide details like the URL of your website, you account name (pick something you can remember), Country, Time zone etc.
  • Next provide address and other contact details.
  • Confirm that you agree to their terms and conditions.
  • You will given the code that you can paste on the site. This is one of the most vital parts of this process. Make sure that you copy the code and paste it in a notepad or a HTML editor. Ensure that you keep this screen open.

Steps to install Google Analytics in your WordPress site/blog

You can do this using 3 different methods

Plugins method – This is probably the most ideal way to do it. There are many plugins that you can find to add Google Analytics on your site. The simplest way however is to put in a lightweight plugin like:

1

Pasting directly: Copy code that you got in the last step and paste in on to your footer.php that is directly about the </body> tag. (you can do this if you know how to go about it)

You can paste the code given below on to your theme’s functions.php file and do not miss on pasting the Google Analytics code. Ensure that you have read the Beginner’s guide to pasting snippets from the web.

Once the installation of Google analytics is complete on the site, then you need to go back the screen click to save and finish.

Once you do this you will redirected to summary of the analytics from your site. There will be an exclamation mark on status and this means that Google is yet to realize that you have added the code. The process may take anywhere between half a day to a whole day before you can access all the great analytics data!

This video covers how to do a simple Google Analytics installation. There are many ways to implement the GATC (Google Analytics Tracking Code). This demo covers very basic installation on a simple lead generation website.