How to put Google Analytic code on your Wordpress Blog

by himanshu on June 26, 2009

in Wordpress

What is Google Analytics?

According to Google

Google Analytics is the enterprise-class web analytics solution that gives you rich insights into your website traffic and marketing effectiveness. Powerful, flexible and easy-to-use features now let you see and analyze your traffic data in an entirely new way.

With Google Analytics, you’re more prepared to write better-targeted ads, strengthen your marketing initiatives and create higher converting websites

In easy language Google Analytics is a service of Google which provide all the data or tracking record of visitors ,i.e. who visit your site, what they do when they visit your site,when they visit your site, who is the referrer of your site etc.

How to get Google analytic code

You can get Google analytic code for your website by sign up in the official website for Google Analytics google analytics

You can sign up with your standard email for your website domain.

analytics 2 Put the name of your domain and choose your account name,time zone and country and click Continue

analytics 3 After few easy steps ,you will find the code in ga.js format.

analytics 4

This is the code generated.You should use ga.js format code in your blog as it is more effective.You can note the ID generated as it should be used in the plugin which you use in your Wordpress blog.

How to Add Google analytic to your wordpress blog?

Now you have to put the code generated on your wordpress blog. Open your Wordpress admin panel. In the Add new plugin section search for Google analytics plugin.Install and activate it.

Under Setting section in the sidebar of Wordpress Dashboard you will find the setting of Google Analytics. Open it.

analytics 6

After opening the setting you will find a page as shown below, put the ID in Your Google Analytic UID section from the code generated in Google Analytics.

Also in Additional tracking code section put the code generated in ga.js Change the rest of the option as given in the image below and save it.

analytics 7

Now Google analytics start working on your blog ,but you will not see the immediate results. You need to wait for 24 hours to see the result.

If you like the post don’t forget to Tweet and give a Stumble love.

You can also try : Sitemeter real time Website Analytic

Related posts:

  1. How to find Google analytic code
  2. How to share your Google analytic account with other analytic user
  3. Google Analytic forum: Google analytic help
  4. Google adsense and Analytic integration opens for all
  5. Wordpress adsense plugin Whytodowork , insert adsense code anywhere in wordpress blog post
  6. Yahoo Analytics Vs Google Analytics
  7. WpTouch Wordpress plugin: iPhone/iPod compatible Wordpress blog
  8. Add PHP code to your wordpress sidebar using Samsarin PHP Widget


{ 10 comments… read them below or add one }

1 TechZoomIn June 26, 2009 at 16:37

I use the same plugin for adding Analytic code. Good piece of info for new bloggers.
.-= TechZoomIn ´s last blog ..15 Latest Free WordPress Themes..! =-.

Reply

2 Curious Little Person June 26, 2009 at 23:56

Thks for the info… really very useful
.-= Curious Little Person ´s last blog ..Generate Organic Traffic for Profits =-.

Reply

3 Jen Kumar June 27, 2009 at 10:23

Hi, This is really a nice post on Web Analytics. I was using W3Counter

Reply

4 Veera June 27, 2009 at 15:07

oh.. is there a seperate plug-in for Analytics !? I’ve been using Analytics in my several blogs for quite some time, but never heard of a wordpress plug-in.

thanks for the info.
.-= Veera ´s last blog ..Let™s make the web faster : Google Speed Site =-.

Reply

5 Extreme John June 27, 2009 at 19:39

I have been looking for some decent detailed information about how to do more with Google Analytics for a while now. This is excellent, very well written and extremely helpful. Thank you.

Bookmarked and Shared
.-= Extreme John ´s last blog ..Back Up the Blog King is Here =-.

Reply

6 Atul June 30, 2009 at 18:33

u can manually insert the code in footer.php without any plugin

Reply

7 Strictly Online Biz July 4, 2009 at 02:50

I agree with atul
Another option would be to just go the footer.php of your theme and place the code right before tag as Google suggests. That way you don’t overburden your blog/site with another plug-in. Just my two cents

Reply

8 himanshu July 4, 2009 at 08:00

@Atul, SOB Thanks for your suggestion, footer.php idea is really useful, it minimize the use of plugin. Your Suggestion is appreciated.

Reply

9 Roulette System August 5, 2009 at 22:39

I cannot believe this is true!

Reply

10 Delhi Catering February 5, 2010 at 00:52

Thanks for sharing this post with us…..I was finding it ans now my doubts are cleared…….And I will be able to add Google Analytics code in Wordpress blog

Thanks Dude……..!

Reply

Leave a Comment

Previous post:

Next post: