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. Google Analytics and Blogs….the Summary by M.T.C. « MTC on December 5, 2009

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




   
Rover on Nov 11, 2009, 2:04 am  

Is it required to add the Google analytics code to every blog message?


   
baty on Nov 11, 2009, 8:10 am  

Thank you

it help me so much


   
Scott Miller on Nov 15, 2009, 5:23 pm  

Best instructions on the subject I’ve found—thanks for your assistance!


   
Cassie on Nov 16, 2009, 7:25 am  

Thank you so much!!!!!!


   
crystalsshoppe on Nov 16, 2009, 10:20 pm  

It;s great ! Thank you.


   
Kerryzuedy on Nov 22, 2009, 3:43 pm  

Wow..its so easy when read this info..i really wanna try this..thanks for sharing this good info..u r great..


   
dindin on Nov 23, 2009, 4:05 am  

Thank for your advised.


   
Jeff on Nov 25, 2009, 5:06 pm  

So easy! I just installed it. Worked like a charm!


   
akbar on Nov 27, 2009, 5:52 am  

thank you very much your information..

it is so gratify..

my blog

http://www.akbarbin.blogspot.com/

thank you


   
charlie on Dec 2, 2009, 3:25 pm  

hey david that was just too cool, work for me first time, just wish amazon astore was so easy to set up.thanks charlie


   
ahsan on Dec 7, 2009, 9:22 pm  

thx for sharing this information in details


   
gilang on Dec 8, 2009, 8:21 am  

nice post brother, this information is usefull… Thanks a lot…


   
Eric on Dec 15, 2009, 10:35 pm  

I worked the code for a few hours with no success, but when I came across your blog and pasted the code exactly like you said, my code worked! Thanks man!


   
katie on Dec 17, 2009, 3:06 pm  

Wow- so useful. Thanks very much!


   
marvin on Dec 17, 2009, 10:44 pm  

can you write a “how to” with the google new asynchronous tracking code


   
chyciex on Dec 18, 2009, 7:44 am  

thanks, good info


   
Kristin on Dec 18, 2009, 1:52 pm  

That was very helpful! Thank you!


   
Techdload on Dec 21, 2009, 3:45 am  

GA is good for tracking ads on blogs


   
Chris Price on Dec 28, 2009, 5:26 pm  

great how to, just tweeted it from @pricechris because if found it to be so helpful. thanks.


   
Anni on Dec 28, 2009, 7:29 pm  

Thank you! Thank you! I’m blonde and even I can understand this! 😀


   
Sanjana on Dec 31, 2009, 7:34 am  

You are amazing! Thank you so much!


   
Aditya on Jan 3, 2010, 2:28 am  

Hi David
Thank you for this informative guide i have come across this after i fiddled with analytics on my own. i wanted to write up a guide but on the very last Google i came across this . Which Already written way better than i could .So i have linked to your guide in my post regarding getting a custom blogger domain without credit card here http://www.adityagameprogrammer.com/2010/01/setup-custom-domain-name-without-credit.html
felt you should know
Thanks


   
new wife on Jan 3, 2010, 10:01 pm  

Thanks for the info! I was good until the last step and when i needed to have analytics “check status.” I couldn’t figure out what the problem was until I found your post! Thanks so much!


   
Nicolle on Jan 4, 2010, 9:43 am  

thanks for the info….very useful!!


   
Mattyoung on Jan 5, 2010, 4:17 pm  

David! Thank you so much for this! I recently discovered, though much painful trial and error, exactly how inept I am at working on even blogger websites. This was a great, great help!!!


   
Abhishek Gupta on Jan 7, 2010, 7:34 am  

Google Analytics is really a very good for tracking any website thanks for telling us how to put Analytics in Blogger

Thanks!


   
Lyndsay on Jan 7, 2010, 8:04 am  

THANK YOU SO MUCH! I was lost trying to get this installed, but now it’s working fine! Thank you!


   
leechanghwang on Jan 8, 2010, 7:01 am  

Nice one! I’m rooting for a good feedback…lol


   
sikandar rahimi on Jan 11, 2010, 2:33 am  

Have been looking for the long for this information about Google Analytics to blogger thank for the Aggregating such a nice information and step to clearly understand and i did successfully…. !


   
Yvonne on Jan 11, 2010, 8:14 pm  

thank-you very much


   
Melissa on Jan 13, 2010, 8:16 pm  

Thank you!


   
meg on Jan 13, 2010, 9:35 pm  

Really helpful and better than the instructions I found on the Blogger’s site!


   
esugiarti1979 on Jan 14, 2010, 5:36 am  

its amazing…….its really help me
thanks very much


   
slagunov on Jan 18, 2010, 12:03 pm  

i try – its works, thanks + bokmarks


   
susanna on Jan 20, 2010, 6:04 am  

I was going insane last night trying to figure out why Analytics won’t take. Got it now! thanks.


   
djitz on Jan 21, 2010, 12:55 am  

Thanks a lot! 😀


   
Martin Leyton on Jan 23, 2010, 3:09 am  

I have just literally set up my social blog had no trouble with my businesses on word-press but had trouble with the blogger, until i came across this how to install thank you very much it’s done just like that with this very easy how to add the tracking code.

Great stuff


   
Shane Dayton on Jan 24, 2010, 12:17 pm  

Thank you for this great tutorial. I kept trying to add it to blogger via a Java Script/HTML box in the lay out, but it rarely worked.


   
Tech Review on Jan 25, 2010, 1:41 am  

Great. I have recently create Blogger blog and really looking forward to add analytics. Thanks for info


   
Rachna Anil on Jan 26, 2010, 6:41 am  

This is a very good post. The directions are on the dot. Absolutely easy to understand and use. I tried it out and have added google analytics to my site today.
Thanks a lot


   
Leah on Jan 28, 2010, 6:45 am  

Awesome! I tried another tutorial, and they forgot a major component…the refresh that was necessary to update the “check status”. Thanks for being so detailed.


   
Kamlesh Panchal on Jan 28, 2010, 10:33 pm  

Thanks for putting such advanced reporting on my blog so simply. Hats off!


   
hendro on Jan 29, 2010, 2:53 am  

thank you very much…


   
iamkeir on Jan 29, 2010, 3:28 am  

Out of curiousity – could you use the ‘add gadget’ functionality in the page elements and use the html/js gadget block for Analytics code? Granted it doesn’t come as the very last thing before the in this case… but how much does that matter?

Would welcome your thoughts 🙂


   
iamkeir on Jan 29, 2010, 3:28 am  

Answered my own question with a bit of googling:
http://www.google.co.uk/support/googleanalytics/bin/answer.py?hl=en-uk&answer=55604

Perhaps this is the better way of doing it?


   
adeel on Feb 2, 2010, 9:56 pm  

Nice Info i have putted this code in my blog thanks


   
a7mad3abed on Feb 3, 2010, 2:26 am  

thank u

very interesting


   
Neha on Feb 3, 2010, 4:55 am  

Thanks! David
Your article on working of google anlytics is very useful. This will help all the new users who doesn’t know about google analytics. Keep on writing such type of article.


   
RAJAGANAPATHI on Feb 6, 2010, 4:09 am  

i have putted this to my blog..
thanks..