How to Add Google Analytics to Your Blogger Blog

AddThis Social Bookmark Button

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.

102 Comments

  1. Posted Jan 29, 2007 at 10:17 am · Permalink

    Implemented Google Analytics on my site a few months ago.

    I have been using it for a few months yet keep discovering features all the time.

    I suggest you write an article on the features of Analytics so we will all learn new tricks.

  2. Posted Jan 29, 2007 at 12:22 pm · Permalink

    If you’re using WordPress. There’s a couple of great plugins that really make this simple, as well.

    I use Ultimate Google Analytics.

    Simply add the plugin into your plugin folder, activate and enter your Google Analytics ID in the Options panel. Your done. Great thing about it, if you’re logged in as admin, you won’t be tracked by GA.

  3. Posted Jan 30, 2007 at 12:08 am · Permalink

    Thank you for the tip, I have analytics running on my WP blogs, but was curious if it was possible on Blogger, now I know.. Thanks!

  4. Posted Jan 30, 2007 at 6:11 am · Permalink

    I have just installed Google Analytics on my new WP blog and it was very easy.
    And thanks Dawud for the useful link!

  5. Posted Jan 30, 2007 at 7:11 pm · Permalink

    Andy, Have I told you lately you’re a flipping genius?

    Not to mention an acute listener…

    YDM!

    Hep

  6. Posted Jan 30, 2007 at 9:24 pm · Permalink

    Fantastic! I checked both Google Analytics and Blogger and neither gave me the info I needed. Your explanation was so clear and simple - Thanks a lot!

  7. Posted Jan 31, 2007 at 6:46 am · Permalink

    Sure PI, glad to help out.

  8. Posted Apr 13, 2007 at 2:34 am · Permalink

    Hi Andy, great post as usual, I love this series of posts that you have on implementing Analytics for different blogging platforms.

    I have recently done some work to put together all the info on setting up Analytics for Ecommerce website.. and thought I would put it in a blog post. You can check it at Guide to Google Analytics Setup and Ecommerce Tracking - would appreciate your comments on this.

  9. Posted Apr 29, 2007 at 11:18 am · Permalink

    Is there a way to show each of the four graphs (Visits and Pageviews; Geo Map Overlay; Visits by New and Returning; and Visits by Source) of the Executive Overview of Google Analytics on a Blogger sidebar?

  10. Posted May 14, 2007 at 9:55 am · Permalink

    Thanks the tip. Blogger is not as intuitive as you would like it to be, I hadn’t seen the “Edit HTML” link before you pointed me to it.

    Great post!

  11. Posted Jul 5, 2007 at 9:58 am · Permalink

    I’ve recently tried to add analytics to my blog in blogger and haven’t had success. Blogger keeps changing my double quotes to " . Anybody else had this problem? Anybody know the solution? Thanks in advance for any advice.

  12. Posted Oct 3, 2007 at 1:37 am · Permalink

    Thank You

  13. kerb
    Posted Oct 6, 2007 at 2:34 am · Permalink

    nice! it works perfectly!

  14. Posted Oct 9, 2007 at 10:06 pm · Permalink

    Great and simplistic information you set out above - thank you.

  15. Posted Oct 10, 2007 at 9:55 am · Permalink

    Thank you for these instructions!

  16. Posted Oct 11, 2007 at 9:06 am · Permalink

    I can’t seem to find in my blog html, although I see

    Is this where the code goes?

  17. Posted Oct 11, 2007 at 9:06 am · Permalink

    I can’t seem to find (”") in my blog html, although I see “(
    )”

    Is this where the code goes?

  18. Posted Oct 17, 2007 at 2:39 am · Permalink

    Very useful. Thanks

  19. David Tussey
    Posted Oct 22, 2007 at 9:43 am · Permalink

    Perfect instructions. Thanks.

  20. Posted Nov 7, 2007 at 4:41 pm · Permalink

    So helpful! Thanks!

  21. Amanda
    Posted Nov 10, 2007 at 8:44 pm · Permalink

    Hey there, is google analytics automatic on some blogs? I see on my blog, that SSL-analytics shows up in the upper left hand corner when I log in.

    Every time I log in I see that there…..I wondered if was automatic with the new version or is someone tracking me at google because my blog is controversial.

    I haven’t added analytics to my blog yet…. So I don’t know why that is showing up. Hope you can answer thanks.

  22. Posted Nov 12, 2007 at 6:16 pm · Permalink

    thanks for the blogger analytics tip

  23. Posted Nov 13, 2007 at 10:36 am · Permalink

    Google Analytics is very nice web statistics program.

    Alex

  24. Posted Nov 16, 2007 at 1:54 pm · Permalink

    Bless you for making explaining this so clearly.

  25. ruby
    Posted Nov 17, 2007 at 1:48 pm · Permalink

    Thanks a ton. This piece of info was of great help to a non-techie who does not absolutely get any hang of these codes.

    Cheers,
    Ruby

  26. Amber
    Posted Nov 21, 2007 at 10:49 pm · Permalink

    I know I am a moron when it comes to computers, but I have followed your directions exactly and still cannot get it to work… PLEASE HELP!!!

  27. Posted Nov 24, 2007 at 10:05 pm · Permalink

    I used these instructions and the tracker code is in the exact right spot in the html but Google Analytics keeps saying tracking code not detected.

  28. Posted Nov 25, 2007 at 10:54 am · Permalink

    Thank you!

  29. Posted Nov 29, 2007 at 7:25 am · Permalink

    Thanks for the instructions! It’s so simple, and yet I couldn’t find a clear guide any where until I stumbled across your blog (thanks to a hefty Google search).

  30. Posted Nov 30, 2007 at 2:10 am · Permalink

    thanks dude

  31. Posted Dec 2, 2007 at 2:27 am · Permalink

    Great, Ive just set mine up, thanks

  32. Breeanne
    Posted Dec 10, 2007 at 2:42 pm · Permalink

    I’ve tried this for two weeks, and it is definitely not working. Help?

  33. Posted Dec 11, 2007 at 11:21 am · Permalink

    Great article. Thanks.

  34. Posted Dec 18, 2007 at 12:37 pm · Permalink

    Hi Andy, I dollowed the instructions that u have given for tracking vistors to my blog page. I have created an account on google analytics. Then i also pasted the tracking code into my blog’s html code. However it isn’t getting saved. i’m getting the following error message
    “We were unable to save your template
    Please correct the error below, and submit your template again.
    Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
    XML error message: The content of elements must consist of well-formed character data or markup.

  35. Posted Dec 19, 2007 at 7:23 am · Permalink

    Hey Andy, the above(in the edit html) procedure works only for classic templates.

    @Dhawal Chotai and Breeanne

    What you have to do is add the code in the html/Js page element. Go to Template, Add a Page Element, HTML/JS Script.

    And it works.

    Jyoti

  36. Posted Dec 20, 2007 at 2:46 pm · Permalink

    Thanks so much for the easy to follow instructions!

  37. Posted Dec 29, 2007 at 12:10 am · Permalink

    Very detailed explanation. I have just started using blogger and adding google analytics is a very useful option.

  38. Posted Dec 30, 2007 at 11:30 am · Permalink

    Thanks. I managed to add analytics code with your information.
    Its got many cool features.

  39. Posted Jan 3, 2008 at 4:32 am · Permalink

    Thanks for the clear info!

    Happy to start getting some stats

  40. Joanna Scott
    Posted Jan 8, 2008 at 8:09 am · Permalink

    Followed your instructions, had no problems, all done in about a minute - thanks very much!

  41. Devid
    Posted Jan 21, 2008 at 11:30 pm · Permalink

    Thanks… for your writing..it’s a very good resource !! :-)

  42. EMY
    Posted Jan 22, 2008 at 2:07 am · Permalink

    I just added the HTML/JavaScript page element and pasted the code into it. It was a cinch. Leave the title blank.

    Really, it couldn’t be easier.

  43. Posted Jan 23, 2008 at 6:32 am · Permalink

    I will try the plugins, nice info!

  44. Posted Jan 25, 2008 at 4:57 pm · Permalink

    Thanks for that, found your entry by Google and successfully applied the steps you suggested in less than 5′!

  45. Posted Jan 28, 2008 at 4:42 am · Permalink

    Hi Andy,

    You are great - such a nice explainer - as somebody has already pointed it out before me - I got the info neither in analytics nor in blogger (the two places i was looking for it), and then came ur page.
    Thanks a lot.

  46. Posted Jan 28, 2008 at 3:01 pm · Permalink

    I have recently reached the point where I am brnching beyond Adsense and making individual ads for people. this helped me add Analytics in order to track them thansk so much

  47. Posted Feb 3, 2008 at 7:36 am · Permalink

    Very useful post. Just what I was looking for!

  48. Posted Feb 7, 2008 at 10:13 am · Permalink

    Thanks so much, this was really easy to follow!

  49. Posted Feb 18, 2008 at 2:21 pm · Permalink

    I just used your suggestion. Thanks a lot.

  50. Posted Mar 2, 2008 at 2:55 pm · Permalink

    Thanks for the tip, not being an html genius, I was at a loss until I ran across your instructions.

    Cheers!

  51. Posted Mar 11, 2008 at 4:38 am · Permalink

    Nice ;)

  52. SKhan
    Posted Mar 17, 2008 at 1:40 pm · Permalink

    Thanks, your instructions were so easy to follow. Cheers.

  53. Posted Mar 19, 2008 at 10:10 am · Permalink

    Thanks so much - this was invaluable. I’m no expert at all and after struggling for days with various Help pages I found your blog and got it installed in minutes.

  54. Posted Mar 19, 2008 at 11:05 am · Permalink

    Thanks! I tried doing it on my own and the template got all screwed up. After reading this, it worked!

  55. Anonymous
    Posted Mar 20, 2008 at 5:32 am · Permalink

    Thanks a millionfor ths info - t was very helpful!

  56. Posted Mar 26, 2008 at 5:12 pm · Permalink

    I’ve been a Wordpress blogger for some time (which has statistics built in). This is my first use of blogger.com and I’m very suprised that Google doesn’t provide analysitics automatically. So the general public is suppose to be able to cut-paste javascript? Scary. Worse than Microsoft! Thanks for the instructions.

  57. pvkr
    Posted Mar 29, 2008 at 3:30 pm · Permalink

    Great instructions! Thanks!

  58. Posted Mar 29, 2008 at 8:30 pm · Permalink

    Thanks so much for the quick, concise tip. Worked great!

  59. Posted Mar 31, 2008 at 2:37 am · Permalink

    hey thanks a lot i was able to add analytics script in my blog success fully. it was really wonderful working with ur details. amazing …………

  60. Posted Apr 1, 2008 at 5:43 am · Permalink

    Very Very Great Thanks

  61. Posted Apr 2, 2008 at 5:40 am · Permalink

    Worked for me, too, thanks a lot! The only thing I stumbled over was my own ad blocker that blocked the Google JavaScript, which led to a JavaScript error…
    Took me quite a while to figure out, maybe this post helps others who have the same problem!

  62. tony
    Posted Apr 3, 2008 at 12:40 am · Permalink

    Thanks, helped a lot!

  63. Posted Apr 3, 2008 at 7:01 am · Permalink

    Andy,

    Thanks for taking the time to share this information. It was very useful and saved me a lot of screwing around.

    Mike

  64. Krishna
    Posted Apr 4, 2008 at 12:18 am · Permalink

    Thanks alot

  65. Posted Apr 4, 2008 at 12:00 pm · Permalink

    This sorted out a persistent little problem which no other source seemed able to help me with.

    Thanks very much!!

  66. Posted Apr 17, 2008 at 12:01 am · Permalink

    Thanks for your information.
    That very use full.
    Once Again Thanks.

  67. SB
    Posted Apr 30, 2008 at 11:02 pm · Permalink

    I was stuck on this for 2 days but after going thru ur post I activated analytics in 10 mins. flat! Thanks

  68. Posted May 2, 2008 at 12:19 pm · Permalink

    thank you so much! could never have figured that out without help…

  69. Posted May 3, 2008 at 3:33 am · Permalink

    Thanks for the instructions! It’s so simple, and yet I couldn’t find a clear guide any where until I stumbled across your blog (thanks to a hefty Google search).

  70. sp22
    Posted May 6, 2008 at 8:46 pm · Permalink

    Andy, is there any way to add analytics to wordpress blog?

  71. Posted May 16, 2008 at 6:33 am · Permalink

    Google Analytics is very nice web stats program.

  72. Posted May 16, 2008 at 7:46 am · Permalink

    Thanks very much - seems to have worked perfectly :)

  73. Posted May 22, 2008 at 10:26 pm · Permalink

    Your instructions were some of the best I’ve seen EVER for installing anything - online or off, you rock. Thanks so much!

  74. Posted May 24, 2008 at 6:57 am · Permalink

    thank you. my search ends here.

  75. Posted May 24, 2008 at 7:18 am · Permalink

    my search ends here. thank you

  76. Posted May 28, 2008 at 4:13 am · Permalink

    Wow !! This was really helpful.

  77. Posted Jun 3, 2008 at 9:38 am · Permalink

    You would think Google would make it easy, like a one click type of thing.

  78. Posted Jun 10, 2008 at 12:37 am · Permalink

    Thank you so much for this, very helpful and your instructions were very easy to follow!

  79. Posted Jun 10, 2008 at 11:05 am · Permalink

    I had inserted right but then noticed a gray screen. When I used the site overlay feature. I took out the tracking code and it went a way. But now I keep getting a gray screen on my website if I try and add the code back. Do you know what I can do?

  80. Posted Jun 11, 2008 at 2:08 am · Permalink

    I added the analytic code to blogger before tag 2 days ago. But still Waiting for Data. Is it normal? What can i do?

  81. Posted Jun 11, 2008 at 7:35 pm · Permalink

    Great post!

  82. Posted Jun 21, 2008 at 6:54 pm · Permalink

    oooh this was perfect! thanks!

  83. Posted Jun 23, 2008 at 6:02 pm · Permalink

    Thanks i use blogger and wordpress and this was realy helpful

  84. Posted Jun 25, 2008 at 12:37 pm · Permalink

    Thank you so much for these directions!

  85. Posted Jun 25, 2008 at 10:05 pm · Permalink

    Andy, your help was spot on. The step by step instructions were appreciate, thanks for putting time into this.

  86. Posted Jul 8, 2008 at 2:22 pm · Permalink

    finally i get to analyze my traffic on my blogs, i have a quite a huge number of blogs, and lemme tell you that if you can’t see what your traffic is doing in your site, you are doing nothing. thanks a lot man, i hope i can now set things right. GOOGLE ANALYTICS RULZ.!!

  87. joe
    Posted Jul 9, 2008 at 1:25 am · Permalink

    thanks very much. super helpful.

  88. Posted Jul 10, 2008 at 8:16 pm · Permalink

    just got our blogged moved over to our domain, and we are infinitely grateful for good web citizens like you who give us step by steps on matters such as these. thank you!

  89. Posted Jul 12, 2008 at 12:03 pm · Permalink

    Worked great! thanks dude!

  90. Posted Jul 17, 2008 at 4:53 am · Permalink

    Thank you!

    When I first got my site running I pasted the code into completely the wrong place!

    Cheers

    Sam

  91. Hebe
    Posted Jul 18, 2008 at 4:46 am · Permalink

    Thanks a lot, it was really helpful.

  92. Posted Jul 25, 2008 at 6:53 am · Permalink

    Thanks that was really nicely explained and a great help!!!

    Yours,
    Alex

  93. Posted Jul 25, 2008 at 1:41 pm · Permalink

    thx for posting this it was very helpful

  94. Matthew
    Posted Jul 26, 2008 at 5:38 am · Permalink

    Very helpful. Thanks.

  95. Posted Jul 31, 2008 at 10:33 pm · Permalink

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

  96. Sai
    Posted Aug 1, 2008 at 3:47 pm · Permalink

    great article..simple and clear

  97. Posted Aug 2, 2008 at 10:15 am · Permalink

    Thank’s for this helful tips

  98. Posted Aug 7, 2008 at 1:43 am · Permalink

    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…!!

  99. Dominic
    Posted Aug 10, 2008 at 11:13 pm · Permalink

    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?

  100. Posted Aug 18, 2008 at 4:30 pm · Permalink

    Dear Sir or Madame,
    Allow us to introduce our company to your company. We are a professional, licensed and insured air conditioning and heating company that is family owned and operated.
    We here at Trifko & Sons have decided to include appliance repair to our list of services provided. Though this is certainly a benefit to you as property managers, it still does not cover the void you experience when there is a multitude of miscellaneous. repairs needed at a particular property. Therefore, after careful consideration, and a number of conversations with some property managers, we have come to the conclusion that we can easily fill this void by providing you with a complete, one stop shop to address all of these issues for you.
    In short, we are restructuring our business primarily to accommodate the property management industry. Later in this introduction I will list all of the services we will now be able handle for you.
    We have staffed our organization with a number of skilled tradesmen and outfitted our trucks in a multitude of general trades. In essence, we will be able to solve 90% of your service needs with one simple phone call, streamlining the process for your property owners and their tenants. If, in the rare instances, we can not handle a particular service request we will work hard for you, in securing the appropriate contractor to solve the issue.
    We will handle all the billing, invoicing, payments and warranty concerns in house, therefore you would only call our office.
    We are fully licensed and insured and we are dedicated to your complete satisfaction.
    The services that we provide are as follows:

    • Air Conditioning
    • Heating
    • Refrigeration
    • All major appliances
    • Light electrical
    • Light plumbing
    • Carpet Cleaning
    • Acoustical ceiling installation and repair
    • Windows & Doors
    • Bathroom Renovation
    • Concrete cutting

    • Painting
    • Fencing
    • Chainsaw Work
    • Drywall repairs
    • Garage Doors
    • Pool pumps & Filters
    • Well pumps
    • Landscaping
    • Hardwood, Laminate & Ceramic Tile Flooring
    • Pressure washing

    This is a generalized list and may or may not include your specific needs; a simple phone call to our office will answer all your questions.

    Sincerely,
    Trifko & Sons Inc. Team

  101. Posted Aug 22, 2008 at 5:21 am · Permalink

    many thanks for this

  102. Posted Aug 23, 2008 at 11:36 am · Permalink

    I Just installed right now, thanks for the help

8 Trackbacks

  1. By Speedlinking 30 January 2007 on Jan 29, 2007 at 3:29 pm

    […] Andy Wibbels shares how to add Google Analytics to your Blogger Blog. […]

  2. […] winstincommunicatie wrote an interesting post today onHere’s a quick excerpt […]

  3. By unbegrenztes frei spiel on Nov 15, 2007 at 8:55 am

    payday loan canada loan payday…

    Beginnenmit internet spiele unbegrenztes frei spiel…

  4. By video poker gratis on Nov 17, 2007 at 4:07 pm

    live poker spielen…

  5. By soittoäänet ja taustakuvat on Feb 2, 2008 at 1:24 am

    soittoäänet kaverille…

    Before soittoäänet com kummeli soittoäänet…

  6. By free real music cingular ringtones on Feb 4, 2008 at 4:44 am

    disney free mobile ringtones…

    There is free lg ringtones verizon cell download free phone ringtones…

  7. free ringtones for nextel phone…

    One of free motorola mp3 ringtones free cingular music ringtones…

  8. advance cash check credit no cash advance no credit check…

    Let’’s begin low interest payday loan bad card credit credit uk cash advance loan idaho no credit credit card application payday loan cash advance loan…

Post a Comment

Your email is never published nor shared.