13 Mar

Adding Google Analytics to WordPress blog (for new-bies)

1.
Login to admin area of your blog. You can do this by visiting http://yourblogname.com/wp-admin/
2.
On the left side menu, select “Appearance”.
3.
In that select “Editor”
4.
Here now we need to paste our code immediately before the “<\body>” tag.
5.
Most probably you will find it into “Footer.php”.
6.
In my case I was using a custiom template where “<\body>” was found in the “index.php”.
7.
Locate the “<\body>” tag and paste your Google Analytics code just before it.
8.
Click on “Update File”
9.
Once again make sure your analytics tracking code is before the <\body> tag.
10.
Wait for 24 hours till you start seeing reports.

You may like to visit my blog which uses Google Analytics:
http://undestanding.com/
Also see:
Using Google Analytics for Google Apps.
Adding Google Analytics to Blogger (for new-bies)



If you found this post helpful then please share it.



TweetIt from HubSpot

3 Responses to “Adding Google Analytics to WordPress blog (for new-bies)”

  1. 1
    Waterpup Says:

    Didn’t you mean ?

  2. 2
    Waterpup Says:

    LOL!! Sorry I may now know why you put instead of “”

  3. 3
    Jayvardhan Patil Says:

    @waterpup

    I know exactly what you want to say.
    In < \body> I have used backward slash instead of forword. But if you use forword one, it doesn’t appear on web page.

    In your post also you have tried to put it but it just disappeared.

Leave a Reply