To track your site/blog using analytics you need to have an account with Google Analytics, If you already have a Google Account you can use that username/password here or you can always sign up for a free google account. In either case you need to go to http://www.google.com/analytics [ Opens in a New Page ]
After you login with your username/password, you will be in your dashboard area.
Scroll down to the bottom of the page and find the link to "Add Website Profile".
On the next screen select the option to "Add a profile for a new domain".
Click continue and on the page that follows, type the URL of your blog.
The final screen will generate two tracking codes for your blog. make sure you are on "New Tracking Code(ga.js)" tab
This is the code that you need to copy/paste on your blog. We are now going to install google analyics tracking code to your blogger blog.
Go to http://www.blogger.com [ Opens in a New Page ] and login with your id/password.
Once you are logged in go to your dashboard, where you have to click the "Design"
You will now add a gadget by clicking the "Add a Gadget" link
From the popup that appears, you can add many gadgets to your blog, this time we need to scroll down to the HTML/JavaScript option and click the "+" sign beside it to add it to your blog
This will open a final popup where you paste your code(your google analytics code) under the "content" textarea. I prefer not to give it a title because the code is invisible, so leave the title field blank and click the button to "save changes"
48 comments
Thank you for these instructions, they worked like a charm.
ReplyDeletePerfect, thanks!
ReplyDeletenice one mate, works perfect.
ReplyDeleteworth noting that it can take up to 24 hours for Analytics to actually start tracking the site. till then the status can still be unknown or unconfirmed.
but yeah, leave it for a few hours till it kicks in.
Thanks again.
Well that was easy, thank you so much!!!! saves paying my web master.
ReplyDeleteThank you so much, this was super easy!
ReplyDeleteThank you thank you thank you. I never would have figured this out on my own.
ReplyDeleteGreat! Thank you very much.
ReplyDeleteThanks, man!
ReplyDeletethank you so much from Norway;))
ReplyDeleteThank you,
ReplyDeleteDo you know how I can add conditional code to my template, the way it will not count my own hits when I am logged in?
@ آقای دلگرم ,
ReplyDeleteUnfortunately, it doesn't seem there is a simple way to exclude your own visits from Google Analytics logs. You could use StatCounter, which uses a cookie based identification to exclude your visits from report.
I can't thank-you enough. I really am computer illiterate and when I read I had to put a code just before "body" etc. etc. etc. I had no idea what any of that meant! Why can't google make things as easy as you did? Thanks again.
ReplyDelete@Anonymous,
ReplyDeleteWe all were computer illiterate some time or the other, We're glad that all of you found our blog posts useful enough that you stopped by to say thanks.
Coming to your question on why google didn't make the instructions more simpler, I could perhaps only guess that they must have thought that someone like US would write a better, simpler and more useful tutorial than they can ever write and that's why they left the job to US! ;-)
Thanks for your helpful post. However, it seems that I am still having trouble with getting the analytics to work. It's been over two weeks now and I have tried adding a new page element and putting the code directly in the HTML with no luck. The only thing I can think of is that I have Quantcast HTML in the page as well. Would that mess things up? Should I delete it? Thanks!
ReplyDelete@www.theepictruth.com,
ReplyDeleteAfter your comment, We checked if ,we faced any problems with google analytics. We concluded that the above written tutorial was 100% correct way to install google analytics on blogger blogs.
The only thing was that it took around 48 hours to collect the data. Our guess is that maybe you did not install the code properly. please follow the tutorial EXACTLY and give us your URL, So that we can help.
I could not follow these instructions because my "Add and Arrange Page Elements" screen does not have an "Add a Page Element" choice, only has "Add a Gadget" which seems to be different.
ReplyDeleteI was able to understand how to paste the code before the /body tag, but google analytics shows nothing, even after 24 hours, so I thought I would try a different method of adding the code. Oh, well, at least some people got this to work.
Drat!. The comments petered out right when it gets to the meat of the problem. The only way for me to do this is to go to the edit HTML thingy.
ReplyDeleteThere is no Add Page Elements.
There is only Add a Friggin' Gadget which only lets you put in a URL
I've tried three different lines of code supplied by Google. All are broken after saving. The " marks change to QUOT.
I enter the code just before "body"
I think this is because it's XML or something like that.
In short, nothing works for my blogspot blog:
http://nihondenki.blogspot.com
Is this a known issue? If so, I can't find out much about it. Bleh.
hi, my blog is in french, but i like exchange link with you :
ReplyDeleteName of blog : L'Ame Du Pirate
URL : http://rba3info.blogspot.com/
thnks
I have same problem as John :-(
ReplyDeleteAMAZING :) Thanks for saving me hours of frustration
ReplyDeleteI only have 'Add A Gadget', too.
ReplyDeleteI couldn't find the prompts. The Blogger Template has changed could you please help me.
ReplyDeleteI had to place the code in my HTML area after the body?
Thank you.
olivia_cobiskey@yahoo.com
This was super simple. Thanks for the tutorial.
ReplyDeleteGreat tutorial! Thanks.
ReplyDelete@ALL,
ReplyDeleteeveryone, following this tutorial, remember that google/blogger has changed the way HTML/Scripts can be added to blogger, that's why this tutorial is a "bit" outdated and perhaps you're getting only a "Add a Gadget" link instead of "Add a page element". Follow this tutorial, to add HTML/Scripts to blogger.
Thanks for the clear instruction!! It helped a lot!
ReplyDeletegreat post
ReplyDeletei have 2 blogger accounts. i followed the instructions and was able to install analytics to only one of the blogs. the other keeps coming up with a yellow triangle error symbol on analytics telling me that my tracking was not installed. i've tried deleting things and starting over, but nothing seems to work. does anyone have an answer? the google analytics help forum didn't help at all!
ReplyDeleteVery nice post
ReplyDeleteI added the analytics butt now the code is showing on the main page of my blog. I can see the script. What have I done wrong?
ReplyDeleteSolved the issue, re pasted the code, must not have picked all the code up the first time. Since re pasting code is gone from home page. Please note my blog says ADD A GADGET others are using the term "page elements" Can confuse the user given they might be using different versions.
ReplyDeleteThank you very much for sharing your knowledge!
ReplyDeleteYou made it very easy.. :)
I tried so hard to connect my blogger account with google analytics but I failed, It is still showing an error sign
ReplyDeleteThank you. Thank YOU. THANK YOU! I was making it way more complicated than it was...
ReplyDeleteLove to get the knowledge from your blog
ReplyDeleteInstalling Google Analytics in Blogger is a very interesting post....Thank you for these valuable informations........Great tutorial I really like it....
ReplyDeleteI just added the google analytics to one of my new sites. Thank you so much for such clear, concise directions….it made it so easy!! I am going to use your site as a reference and hopefully learn more. Thanks again for the great information…!!
ReplyDeleteGreat post.
ReplyDeleteEasy peasy. thanks for the easy tutorial, i had no idea what ga were talking about so you have really helped me.
ReplyDeleteDang! Wish I had known a few months ago how easy this was! Thanks!
ReplyDeleteThanks! Easy to follow.
ReplyDeleteYour post has been very helpful. In Blogspot though, the instruction should be adjusted to:
ReplyDelete"Once you are logged in go to your dashboard, where you have to click the "Design" link(beside the settings link)"
The correct link in the dashboard is labeled as "Design", and not as "Layout".
Your post has been very helpful. In Blogspot though, the instruction should be adjusted to:
ReplyDelete"Once you are logged in go to your dashboard, where you have to click the "Design" link(beside the settings link)"
The correct link in the dashboard is labeled as "Design", and not as "Layout".
@Gadi Bizinyan,
ReplyDeleteThanks for the update, Blogger™ had renamed the "layout" link to "design", Hold on, the latest interface has the "layout" link, Still,for now we have updated the link as you have suggested.
Thanks for the very helpful information! Does it also work if you add the code to your HTML or is it better to just have it as a widget? I have it as a widget right now, so if that works, then no need to change.
ReplyDeleteThanks again! Can't wait to start tracking my traffic.
@The Queen of Quinoa, All seems well even if you add analytics code as a widget, We suggest to use the widget because its much simpler to install.
ReplyDeleteNice post. I have tried several in my other sites. I never new is this easy! Thanks!
ReplyDeleteThank you for this easy solution so I didnt have to keep going through my code! I hope this works :) gave you a +1 on google.
ReplyDeleteSay something to us, we love to respond to our visitors