How to Add Google Analytics to Your Blogger Blog

by Andy Wibbels on January 28, 2007

Yesterday we talked about Google Analytics, Google’s free service that lets you track the performance of your websites and blogs from one simple, easy-to-use interface.

Grab Your Google Analytics Code Block

  1. Login to Google Analytics at http://google.com/analytics/. The main Settings page loads.
  2. Click on Add Website Profile. A form displays.
  3. Select Add a Profile for a New Domain.
  4. Enter the URL of your site or blog.
  5. Select your country and time zone. Click Finish.
  6. Analytics provides you with a code block – a swatch of HTML – to add to your site’s pages.
  7. Highlight the code block and then copy it by selecting Edit > Copy or Ctrl-C or Command-C.

Add the Google Analytics Code Block to Your Blogger Blog

  1. Login to http://www.blogger.com/. The Dashboard loads.
  2. Under the blog you want to add Analytics tracking to, click on Layout or Template.
  3. Click on Edit HTML. An editing screen for your blog template’s HTML displays. Don’t freak out. Just scroll to the bottom.
  4. Look for the end of the template. It’ll look like:

</div> </div>
<!– end outer-wrapper –>
(Google Analytics Code Block is going to go here!!!)
</body>
</html>

  1. Put your cursor right before that </body> tag.
  2. Paste the Google Analytics Code Block by selecting Edit > Paste, Ctrl -V or Command-V.
  3. Click Save Changes.

You have now added the Google Analytics Code Block to Your Blogger Blog.

Check Your Work

  1. To ensure that you have successfully added the Google Analytics Code Block to your Blogger blog, go back to http://google.com/analytics/.
  2. Next to your blog’s URL it will say either Receiving Data (you were successful) or Tracking Not Installed (something is amiss).
  3. If it said Tracking Not Installed, click on Check Status. Google then checks your blog for the Analytics Code Block and reports back if it find it or not.
  4. If not, try re-pasting the Code Block in.

{ 145 comments… read them below or add one }

Alex July 25, 2008 at 5:53 am

Thanks that was really nicely explained and a great help!!!
Yours,
Alex

blandspace July 25, 2008 at 12:41 pm

thx for posting this it was very helpful

Matthew July 26, 2008 at 4:38 am

Very helpful. Thanks.

Ryan July 31, 2008 at 9:33 pm

Hi Andy,
Will this trick work with the new ga.js tracking code

Sai August 1, 2008 at 2:47 pm

great article..simple and clear

waton August 2, 2008 at 9:15 am

Thank’s for this helful tips

Jeniffer August 3, 2008 at 9:11 pm

i have successfully added the Google analytics great option. thanks again.
http://electronics345.blogspot.com/

Teri August 7, 2008 at 12:43 am

I just added the google analytics to one of my new sites. Thank you so much Andy 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…!!

Dominic August 10, 2008 at 10:13 pm

How do I add the Google Analytics Tracking Code to my Moveable Type templates so that every time I create a new article and publish it, it will inherit the Google Analytics Tracking Code?

ADubTheEngineer August 11, 2008 at 4:38 pm

This is a good tutorial on how to add google analytics to your blogger blog, I used it for my blog, and it helped alot. Thanks alot!

LG Ringtones August 17, 2008 at 11:05 am

LG Ringtone maker software. Follow instructions on the site…Works in 17 counries – USA, Australia and Europe

dave August 22, 2008 at 4:21 am

many thanks for this

ZeGringo August 23, 2008 at 10:36 am

I Just installed right now, thanks for the help

Thiago Pojda September 5, 2008 at 10:00 am

Helped me figure out the “Edit HTML” feature. Thanks, it’s working. :)

Patrick September 7, 2008 at 6:09 pm

Thanks for making things simple and easy!
Works GREAT!

B Menzies September 13, 2008 at 3:06 am

Hi Andy
Fab post – thank you. Your instructions were so clear even an idiot (me) has installed analytics!
Thanks again,
Beth

solomon September 13, 2008 at 12:49 pm

you are such a great guy andy I very much appreciate your help

Steve O'Sullivan September 13, 2008 at 3:27 pm

Thanks for the post! Been trying to figure this out for a while and it only took me about 10 minutes with your help. You Rock!

Dee September 17, 2008 at 11:48 am

An excellent guide, thank you very much! Us complete newbies need some help sometimes.

Dave Lopan September 18, 2008 at 5:45 pm

Great post. Thank you.

carla kaiser September 24, 2008 at 6:39 am

thank you so much. I’ve been trying to figure out how to add the google analytics code for like EVER!! You are my hero.

Tony October 18, 2008 at 7:31 pm

THANK YOU Andy!!!
For some reason Google Analytics wasn’t working before on my blog. After reading your blog and posting the code in the correct area, it seems to be working now. Thanks for your help!

Panache October 21, 2008 at 6:53 am

Thank you – worked brilliantly first time. Hurrah!

Kapten Slamet October 26, 2008 at 3:17 am

Great tips. Many thanks

Isaac October 29, 2008 at 7:41 pm

Really good article!

brighde November 8, 2008 at 4:29 pm

Using your super clear instructions, I just added google analytics to my travel blog http://iamitravel.blogspot.com/

LemonJelloYum November 10, 2008 at 7:19 pm

So easy, thank you ^_^

Your Secret Admiral November 12, 2008 at 5:58 pm

Great post! That was very helpful and easy to follow. Thanks so much for sharing that tip.

Yolanda July 6, 2010 at 9:53 am

Thanks for the easy directions!! I will continue to check back for more handy tips.

The Jonses July 7, 2010 at 3:38 pm

Thanks, really helpful. Even though Google has made it more complex these days, I was still able to follow this really easily and get it working. Awesome.

shruthi hassan July 10, 2010 at 1:07 am

Thank you man.. I was wondering how to add my blogger to analytics, at last here is the solution. Thank you so much..

Anaia July 14, 2010 at 3:25 am

Thank you for the clear explanation.

nismo July 14, 2010 at 9:52 am

Hi! It looks like the HTML code of the blogger has changed. Now you can not find in the template below lines:

(Google Analytics Code Block is going to go here!!!)

Google Analytics suggest to put the code just before the tag. So updated instruction should look like:

(Google Analytics Code Block is going to go here!!!)

Am I thinking right?

George July 15, 2010 at 7:52 am

very helpful thanks

paul July 20, 2010 at 6:31 am

Thanks. It helped

cher pearce July 20, 2010 at 3:25 pm

Really helpful! Thankyou!!

I hate blogger and was so not used to their layout but was doing this for a friends website!

Your instructions are simple and easy!

Cheers Bro :)

Siamak July 24, 2010 at 1:58 am

Thank you very much for sharing this. It made it so so easy for me

Anh July 25, 2010 at 6:45 pm

Hey there are some changes in blogger and probably google analytics. I tried this for my blog and this is what we need to do:

Google analytics says this: “Copy the following code, then paste it onto every page you want to track immediately before the closing tag.” So you sure you search for the tag:

Also when you are done, you are successful, it will say: “Waiting for Data Analytics has been successfully installed and data is being gathered now. ”

But thanks for the help, I copied the code and so far it looks like it will work.

Andrea July 26, 2010 at 10:41 pm

Thank you so much for this simple and straight forward how to. It worked perfectly for me. If only I had some traffic to report. Thanks.

Marketing Software July 28, 2010 at 5:45 am

Great job! Thanks for sharing your knowledge.

Ashley August 3, 2010 at 11:06 am

Very helpful, thanks for posting!

Gavin August 3, 2010 at 5:04 pm

i can not find this inside of my html code at the bottom it has a bunch of widget codes and such nothing like what your instructions show please help

Misha August 5, 2010 at 12:43 pm

I had lot of problems with past in the “head” tags like it explain in lot of sites.. thanks its works great :D

Frederic August 9, 2010 at 1:49 pm

Your explanation was uber clear and straightforward. It worked for me !
Thanks alot, man !

Eva Strandberg August 9, 2010 at 2:28 pm

Attempting to follow your instructions on how to add Google Analytics to my Blogger blog, im confused….

I simply can’t find the place you talk about in the “Edit HTML” (I don’t see the text “End outer wrapper” anywhere!… no matter how many times I read the hole script)
I admit… I’m not familiar with this HTML-thing at all… Would you be so kind to help me get it right?
Thank you so much.
Eva,
Denmark

Leave a Comment

Previous post:

Next post: