Welcome, visitor! [ Login | Sign Up ]

How to Install Google Analytics on Blogger



Google Analytics Blogger LogoWouldn’t it be nice to know how many people actually visited your blog each day? How about knowing which of your posts are the most popular? Well surprisingly Blogger doesn’t currently offer any native blog analytics but fortunately there is Google Analytics — available for free.

Google Analytics is a great tool that will show you all sorts of useful information about how people found your blog, keywords they searched on to find you, where they came from and even how long they stayed. You’ll learn more about where your visitors come from and how they interact with your blog. This is a must tool if you are trying to build a profitable blog otherwise you are flying blind!

This article will show you how to add Google Analytics to your Blogger blog. It’s a fairly simple process and doesn’t require any technical skill at all.

Step #1 – Setup a Google Analytics Account

Go to Google Analytics and sign in using your Blogger login. If your account doesn’t work for some reason, you can create a new one instead. Once you login you’ll see a screen that looks like this:

Google Analytics Blogger Sign Up Step 1

Click on the “Sign Up >>” button and proceed to the next step which will ask you for your general information. Website URL, Account Name, Country, and Time Zone. The screen will look like this:

Google Analytics Blogger Step 2

If you noticed, I just put my Blogger url (without the https://) and called it “David’s Account” because this is your top-level container for 1 or 100 different websites so it’s a good idea to name it something more general. The next step will ask you for your contact information which includes your first name, last name, phone number, and country. Easy so far right? 🙂

Google Analytics Blogger Step 3

Your last step in signing up will ask you to accept the user agreement terms and conditions which you should read (just kidding…who actually ever reads these entire legal terms anyhow?).

Google Analytics Blogger Step 4

Now this next screen is very important. This is the code you will need to copy and paste into your blogger template. Go ahead and click into the box and it will automatically highlight the entire block of code for you. Now you need to copy that code and paste it into notepad or into a MS Word document. Save it as you’ll need to use it later.

Google Analytics Blogger Step 5

After you click on the “continue >>” button you will be taken to your brand new Google Analytics dashboard! You will see your blogger blog listed but with no analytical data….yet.

Google Analytics Blogger Dashboard

Ok, now you are done with setting up your Google Analytics account. The next step is placing the tracking code into your Blogger template so it can report back to Google Analytics and provide you with some cool data points.

Step #2 – Adding GA Tracking Code to Your Blogger Template

This is not a very difficult step even if you are afraid to touch your template code. Login to your Blogger account and then click on the “Layout” => “Edit HTML” tabs. This will bring you to the template code. Before you make any changes, I advice you to back up your template just in case there are any problems. After you’ve done so, continue reading.

Now in the edit template html code window, scroll all the way to the bottom of your template code and look for the </body> tag. There should only be one of these closing tags in your template. If you can’t find it then your template wasn’t properly created and you should add one right above the </html> tag.The </html> tag should always be your last line of code in your template. It signifies the end of your template.

Ok, now go back to the code you saved before in a Word Doc from Google Analytics. You are going to copy it and paste it right above the </body> tag as illustrated in the image below. The yellow highlighted code is the new GA code I just pasted into my template.

blogger google analytics code 2

Save your template and you shouldn’t get any error messages. If you do, it’s most likely not related to this GA code and something else with your template itself. Assuming you’ve been successful with your save, you are all done embedding the GA code in your template!

Step #3 – Confirm Google Analytics is Tracking

Go back into your Google Analytics account and look at your dashboard. Most likely you will see a little yellow exclamation mark under the “status” column that looks like this: google analytics tracking not installed. This means everything isn’t working properly yet which is fine because we are about to tell GA we just added the code. From your dashboard, click on the “edit” link which is located to the far right.

Google Analytics Blogger Dashboard Edit

After you click on that link, you’ll see another screen like below. It will say “Tracking Not Installed” followed by a link “Check Status”. You’ll want to go ahead and click on that link which will tell GA to visit your site and look for the new code you just pasted in your template.

Google Analytics Blogger Dashboard Check Code

Assuming you pasted the code in there as instructed above, GA will find the new code and begin tracking everything on your blog. If you are still having problems, it’s most likely something to do with GA and you should read their help guide to troubleshoot your problem.

Google Analytics Blogger Dashboard Success

The message seen here, “Waiting for Data” means you have correctly setup GA and data is being gathered! Click on the top left Google Analytics logo and it will take you back to your dashboard. From there click on the “View report” link and that’s where all your very important Blogger visitor data will start appearing!

Google Analytics Blogger Dashboard Results

Now it usually takes an hour or so before you will see any data (maybe longer if you don’t get much traffic to your blog) so please be patient. Trust me, you’ll be logging in at least once a day just to see how much traffic your blog is getting. It’s very addicting and powerful information to learn from. You’ll be surprised which posts are your most popular and what countries people are coming from to read your blog.

Google Analytics is very powerful and we have just learned how to install it into your Blogger template. We haven’t even scratched the surface on the features and reporting it can do. For most Bloggers, this will be enough. Data will be collected and you will just review it. Others with more in-depth goals (like selling products or services, creating a sales funnel, etc) will want to spend more time learning GA. Hope you enjoyed the tutorial and don’t blame me for your new found addiction!

Ready to super charge your blog? Check out our professional premium blogger templates or make money by joining our blog affiliate program!

If you like this post then please consider subscribing to our eBlog Templates RSS feed. You can also subscribe by email and have new templates and articles sent directly to your inbox.




Trackbacks

  1. Why ALL Online Artists and Art Bloggers Should Use Google Analytics on March 5, 2009
  2. Hướng dẫn cài Google Analytics cho Blogger | Blog Flim-SoftWare VN on March 9, 2009

363 Responses to “How to Install Google Analytics on Blogger”




   
Osmin on Jan 31, 2009, 8:34 am  

wow, i never knew how much traffic i had on my blog, in till now. All i have to say is, Thank You!


   
北客 on Feb 1, 2009, 10:51 pm  

hi,David!
I am a Blogger user,did u Know how to count comments at Recent Posts section?
THX~!


   
Douglas Wade on Feb 2, 2009, 12:02 am  

Cool! I was looking for ways to do more with Blogger.

Thanks a bunch!


   
lenny mauricio on Feb 2, 2009, 7:02 pm  

Hey thanks!! i installed a while ago but i didnt put it in the right place..!! examples like these help the non technically inclined A LOT!!!

i added it to http://www.publicityrelationships.com


   
David on Feb 2, 2009, 9:15 pm  

If you are familiar with html, you can use an ordered list to count comments. This means you would edit your template and find the comments section. There you will replace the current <ul> tag (I’m assuming) and use a <ol>. That will automatically count comments consecutively.


   
David on Feb 2, 2009, 9:33 pm  

@Lenny, glad to hear it! Screenshots tend to help me understand things much better so I figured lots of other readers would benefit from the same.


   
Leonid on Feb 4, 2009, 6:39 am  

Thank you very much for that post! Very heplful.


   
Eddie Gear on Feb 5, 2009, 11:08 am  

Hi there,

Nice article, I find google’s analytics every cool too. This is the first time i’m using it today and I already love it. Thank you for giving me some more insights on this tool.

Cheers,
Eddie Gear


   
ravisingh on Feb 11, 2009, 12:47 am  

Thnks for this article.


   
emran on Feb 11, 2009, 9:04 pm  

thanks david for your nice tips.


   
SexyDoctor on Feb 12, 2009, 3:13 pm  

Dear David,

Thanks for your clear explanation. It’s really helpful.


   
Steve on Feb 16, 2009, 12:10 am  

Thanks for the step-by-step instructions. It was really easy to follow. Just going to have a good look around your site and see what else I can learn.

Steve.


   
David on Feb 16, 2009, 11:35 pm  

@Steve, glad you found it helpful. Hope you find some additional articles that help your blog.


   
JuanOrtiz on Feb 19, 2009, 4:15 am  

Good post:) YOu can setup analytics on blogger this way or also you can paste the analytics code on an HTML/Javascript gadtet. This post explains it step by step also (but is in spanish):
http://www.lawebdejuan.com.ar/2009/02/google-analytics-en-blog-de-blogger.html


   
joe comp on Feb 20, 2009, 8:41 am  

ow i want to try to my blog so i can know step by step my blog is.thank you


   
Ishan on Feb 20, 2009, 10:59 pm  

wow.. great article. I have integrated my blog with Google Analytics, and am pretty happy with the data that Google is reporting.


   
Cahaya Biru on Feb 21, 2009, 11:30 am  

Thanks men …

your article is very helpful for newbie like me…

please visit and leave a comment to my blog…
http://cahayabiru-sphere.blogspot.com


   
Orjinal Delikanlı on Feb 22, 2009, 6:00 am  

Evet guzel bir uygulama ve ben kullanıyorum, memnunum.


   
eenkid on Feb 22, 2009, 10:11 am  

Thanks for the info…now I know how much visitor in my blog daily…..thanks


   
David on Feb 24, 2009, 6:39 pm  

@Ishan, that’s good to hear. You’ll be pleasantly surprised with the data in Google Analytics.


   
Ishan on Feb 24, 2009, 10:29 pm  

hmmmm… A few days back, I had mentioned that I am pretty happy with the data being captured by Google Analytics. I am still happy with that, but usage and whole layout of Google Analytics reports are kind of not going well with me. Along with Google Analytics, I had also been using another site called statcounter.com. This website is amazing, much better than Google Analytics, actually. It gives the most important info on a single click, like recent came from, recent exit link activity, summary etc. The way I use it is that if I see some user clicking on some link in article (a normal link or a Google ad), then I am able to see details of that user, like geographical location, which website referred that user to my blog, what was the landing page, what navigation did user do in the blog before clicking on the link etc. That info has been really helpful in telling me about the combination of referring sites – landing pages – ad placements. The downside of this website is that it supports only 500 visits free of cost, and we have to pay after that. But I have been using it to track only recent visitors, so I am still able to use the free version. And Google Analytics is able to provide me with the complete consolidated data.

http://SaveFewBucks.Blogspot.com


   
Ishan on Feb 24, 2009, 10:31 pm  

I have started using Google Analytics in conjunction with StatCounter, and both of them form a pretty good combination.


   
Ishan on Feb 24, 2009, 10:37 pm  

hmmm… i had entered another long comment.. seems that got removed by spam filter for some reason


   
timemakemoney on Feb 25, 2009, 7:30 pm  

thats greats info, many visitors thats mean big opportunities


   
Sudhir Nair on Feb 26, 2009, 2:52 am  

Thanks, this is indeed a good one.
Let me know,if this works even for website pages created in free website or just for blogs only.

I am asking this because, I have designed a website in weebly.com, which has links to my blogs created in blogspot.com.
As told by you, I could edit my blogs in blogspot to put the analytics code, but couldn’t do so in weebly.

Awaiting your reply…please


   
David on Feb 26, 2009, 5:52 pm  

@Sudhir, any site that allows you to edit the html should work with Google Analytics. It’s all about just getting that snippet of code in there to track everything.


   
Sudhir Nair on Feb 27, 2009, 2:42 am  

Thanks very much


   
Arinawe on Feb 27, 2009, 7:50 am  

I installed sucessfully but can i see the results in my blogger page without having to check on the Analytics page?


   
Healthy Living Guide on Mar 2, 2009, 8:05 am  

Thank you for the Tips and Tutorial, its really help me improve my blog. Thank you…..

http://lowongan-kerja-lowongan-cpns.blogspot.com/


   
Info on Mar 5, 2009, 7:20 am  

Thanks…Scared to death to play with code. Your instructions were perfect.


   
Vicki on Mar 8, 2009, 2:31 pm  

Thank you so much. Your step by step walked me right through this process. I would not have tried this without your directions.


   
Make Money Online on Mar 10, 2009, 4:51 am  

Thanks A lot David.

I implemented it in my blog
Appreciate for your great effort in this great blog 🙂


   
David on Mar 10, 2009, 11:34 am  

@Vicki, glad to hear it! I enjoy helping others like you take their blog to a new level. 🙂


   
eaposztrof on Mar 11, 2009, 12:11 pm  

hi..
i have a lots of installed analytics code installed on blogger, but today i can’t implement that..

when i posted, the result is this:
…ipt type=’text/javascript’>
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl.&quot; : "http://www.&quot;);
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));

try {
var pageTracker = _gat._getTracker("UA-3399042-29");
pageTracker._trackPageview();
} catch(err) {}</scri…


   
Azie on Mar 13, 2009, 4:30 am  

You have just made my day. This is why I love Bloggers.
The explanations are very clear and easy.
Thanks a bunch!


   
iwwh on Mar 14, 2009, 7:01 am  

very usefull


   
gigamed.admin on Mar 15, 2009, 2:33 pm  

very impressive man

alot of thanx for you and god bless you

everyday i learn new thing from your site


   
bloggeronline.net on Mar 17, 2009, 7:02 pm  

thanks david for your nice tips.


   
gigamed.admin on Mar 18, 2009, 9:39 am  

hey david thx alot for your efforts.

i want you to explain to me how to make my blog figure the page numbers instead of old posts so my visitors can recognise that there is other posts.

i hope you understood me


   
Ayu on Mar 18, 2009, 9:55 am  

Wow!!!
Appreciate for ur great effort…
Tqvm


   
Eddie on Mar 18, 2009, 2:35 pm  

David,

Thanks for this article, I after i saw this i went and signed up for Google analytics for my blog.

Keep it up!


   
LaTosha on Mar 18, 2009, 5:04 pm  

David,

Thanks so much for posting this information. I always wondered if it was possible to get analytic info for blogs too and couldn’t figure out how. This is great!
Thanks again!


   
bloggeronline.net on Mar 19, 2009, 3:24 pm  

thanks
but ur tips very basic


   
odith on Mar 19, 2009, 7:31 pm  

thanks fot your kind tips…


   
Gigame.admin on Mar 20, 2009, 2:03 pm  

hello david

can you tell me please how to make page numbers for my posts and how can i change the default search bar in your templates by the google’s serach bar.

thx alot


   
Web Design on Mar 21, 2009, 7:39 am  

This is a very detailed tutorial. Its very useful. Thanks.


   
Sarah on Mar 24, 2009, 2:32 pm  

Thank you very much. This was so simple and easy to use. You answered all my questions!


   
LittleBee on Mar 25, 2009, 1:58 pm  

Thanks David – way more helpful than Google Analytics’ help area itself.