How to Add Google Analytics to Your Blogger Blog

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

  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
  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.






148 responses to “How to Add Google Analytics to Your Blogger Blog”

  1. infonote Avatar

    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.

    1. Daniel Avatar

      Google analytic tool is a great SEO tool for your website because it helps you to see your site back-links and shows you where your traffic is coming from.

  2. Dawud Miracle Avatar

    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. Drew Avatar

    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. PI Avatar

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

  5. Jay Avatar

    Andy, Have I told you lately you’re a flipping genius?
    Not to mention an acute listener…

  6. Majestyk Avatar

    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. Dawud Miracle Avatar

    Sure PI, glad to help out.

  8. saptarshi Avatar

    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. Virgilio A. P. Machado Avatar

    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. Marvin Varela Avatar

    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. brian Avatar

    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. kerb Avatar

    nice! it works perfectly!

  13. Christopher Hare Avatar

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

  14. Jackie Avatar

    Thank you for these instructions!

  15. James Andrews Avatar

    I can’t seem to find in my blog html, although I see
    Is this where the code goes?

  16. James Andrews Avatar

    I can’t seem to find (“”) in my blog html, although I see “(
    Is this where the code goes?

  17. Martino Avatar

    Very useful. Thanks

  18. David Tussey Avatar
    David Tussey

    Perfect instructions. Thanks.

  19. Amanda Avatar

    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.

  20. john Avatar

    thanks for the blogger analytics tip

  21. Alex Webs Avatar

    Google Analytics is very nice web statistics program.

  22. unbegrenztes frei spiel Avatar

    payday loan canada loan payday…

    Beginnenmit internet spiele unbegrenztes frei spiel…

  23. Gretchen Avatar

    Bless you for making explaining this so clearly.

  24. ruby Avatar

    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.

  25. video poker gratis Avatar

    live poker spielen…

  26. Amber Avatar

    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. TJW Avatar

    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. Garrett Avatar

    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).

  29. Playboy Avatar

    Great, Ive just set mine up, thanks

  30. Breeanne Avatar

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

  31. Rudy Avatar

    Great article. Thanks.

  32. Dhawal Chotai Avatar

    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.

  33. Jyoti Avatar

    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.

  34. Sally Jane Avatar

    Thanks so much for the easy to follow instructions!

  35. SEO Fees Avatar

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

  36. Student Lanka Avatar

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

  37. Mike Avatar

    Thanks for the clear info!
    Happy to start getting some stats

  38. Joanna Scott Avatar
    Joanna Scott

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

  39. Devid Avatar

    Thanks… for your’s a very good resource !! 🙂

  40. EMY Avatar

    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.

  41. lukmanf Avatar

    I will try the plugins, nice info!

  42. Pierre Avatar

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

  43. shadkam Avatar

    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.

  44. Ron Dean Avatar

    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

  45. soittoäänet ja taustakuvat Avatar

    soittoäänet kaverille…

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

  46. Benson Avatar

    Very useful post. Just what I was looking for!

  47. free real music cingular ringtones Avatar

    disney free mobile ringtones…

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

  48. free ringtones from jamster free info jamster remember ringtones free jamster ringtones Avatar

    free ringtones for nextel phone…

    One of free motorola mp3 ringtones free cingular music ringtones…

  49. Anne Avatar

    Thanks so much, this was really easy to follow!

  50. Big Brother 9 Blog Avatar

    I just used your suggestion. Thanks a lot.

  51. Randolph Lalonde Avatar

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

  52. SKhan Avatar

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

  53. SnaggleTT Avatar

    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. Evan Avatar

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

  55. Anonymous Avatar

    Thanks a millionfor ths info – t was very helpful!

  56. Jeff Staddon Avatar

    I’ve been a WordPress blogger for some time (which has statistics built in). This is my first use of 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 Avatar

    Great instructions! Thanks!

  58. Matt Avatar

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

  59. Niharika Avatar

    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. Piotr Avatar

    Very Very Great Thanks

  61. Joo Avatar

    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 Avatar

    Thanks, helped a lot!

  63. Mike Avatar

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

  64. Krishna Avatar

    Thanks alot

  65. Ken Avatar

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

  66. RHL Avatar

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

  67. SB Avatar

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

  68. Elspeth Pierson Avatar

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

  69. Alexandr Avatar

    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 Avatar

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

  71. New Avatar

    Google Analytics is very nice web stats program.

  72. Darragh Avatar

    Thanks very much – seems to have worked perfectly 🙂

  73. Qiana Avatar

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

  74. netmoneyforu Avatar

    thank you. my search ends here.

  75. netmoneyforu Avatar

    my search ends here. thank you

  76. pay day cash advance payday loan pay day loan cash advance Avatar

    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…

  77. Vijay Avatar

    Wow !! This was really helpful.

  78. Niche Content Avatar

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

  79. Tamsyn Avatar

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

  80. Sarah Avatar

    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?

  81. Oracle Avatar

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

  82. Barry Avatar

    Great post!

  83. jen Avatar

    oooh this was perfect! thanks!

  84. Amp Avatar

    Thanks i use blogger and wordpress and this was realy helpful

  85. Brooks Avatar

    Thank you so much for these directions!

  86. Greg Avatar

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

  87. Jay Smith Avatar

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

  88. joe Avatar

    thanks very much. super helpful.

  89. Erin Avatar

    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!

  90. Hamzeh Halakouei Avatar

    Worked great! thanks dude!

  91. Sam Gillespie Avatar

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

  92. Hebe Avatar

    Thanks a lot, it was really helpful.

  93. charles Avatar

    I used google analytics and was able to see the great effect of it. I was trying to improve my site based on the data from analytics and it was amazing and i was able to manage my traffic well.
    Thank you

  94. Alex Avatar

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

  95. blandspace Avatar

    thx for posting this it was very helpful

  96. Matthew Avatar

    Very helpful. Thanks.

  97. Ryan Avatar

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

  98. Sai Avatar

    great article..simple and clear

  99. waton Avatar

    Thank’s for this helful tips

  100. Jeniffer Avatar

    i have successfully added the Google analytics great option. thanks again.

  101. Teri Avatar

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

  102. Dominic Avatar

    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?

  103. ADubTheEngineer Avatar

    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!

  104. LG Ringtones Avatar

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

  105. trifkoandsonsinc hva Avatar

    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.
    Trifko & Sons Inc. Team

  106. dave Avatar

    many thanks for this

  107. ZeGringo Avatar

    I Just installed right now, thanks for the help

  108. Thiago Pojda Avatar

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

  109. Patrick Avatar

    Thanks for making things simple and easy!
    Works GREAT!

  110. B Menzies Avatar

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

  111. solomon Avatar

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

  112. Steve O'Sullivan Avatar

    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!

  113. Dee Avatar

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

  114. Dave Lopan Avatar

    Great post. Thank you.

  115. carla kaiser Avatar
    carla kaiser

    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.

  116. Tony Avatar

    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!

  117. Panache Avatar

    Thank you – worked brilliantly first time. Hurrah!

  118. Kapten Slamet Avatar
    Kapten Slamet

    Great tips. Many thanks

  119. Isaac Avatar

    Really good article!

  120. brighde Avatar

    Using your super clear instructions, I just added google analytics to my travel blog

  121. LemonJelloYum Avatar

    So easy, thank you ^_^

  122. Your Secret Admiral Avatar

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

  123. […] Installing Google Analytics in Blogger/Blogspot blogs […]

  124. Dinesh Avatar

    very very help full…

    thanks a bunch…

  125. Genesis Kyer Avatar

    Love your post. I hope this post will help others. Sorry for the short review.

  126. Pst. Bless Avatar

    Hey man,

    You are certainly a genius, man i am impressed. it worked like miracle. thanks!

  127. Irene Avatar

    Thank you for this explanation! I will try to do as described asap and start tracking! 🙂

  128. AntonK Avatar

    See the official guidelines at for how to install Google Analytics into your blog.

  129. John B Avatar

    Blogger has since better integrated with Analytics. All you need is your analytics Web Property ID and there is a field in the ‘basics’ tab of the blog admin (settings) section. Pop it in and it (appears to) works!

    Commenting because this still appears in google searches despite evidently being quite old

  130. Tonya Johnson Avatar

    Hi. I search my html numerous times and I don’t see that part:

    Hope you can help me with this.

  131. Anurag Avatar

    Nice one Tuto 🙂

  132. raman bathina Avatar

    Every time i forgot how to add analytics code immediately come to this site and check this article.Its really helpful to me.Thank you

  133. Dickson Avatar

    Thank you sir….
    Now Google Analytics is integrated to the Blogger. But I am still looking the way how to link it.

  134. Michael Smith Avatar

    I know this is an old post but in case you want to update it Blogger now has a spot to add your Google Analytics ID without having to edit templates. You can find it under Settings -> Other at the end of the page.

  135. laura Avatar

    Hi, i tried adding the code to my blog account but it doesn’t seem to work. The problem is that in teh HTML code i cannot find

    I can only find

    but no

    Is there anything else I can do?

  136. Ashik rahman Avatar

    Please help me. I tried but it says
    Status: Tracking Not Installed

  137. Bharat Avatar

    I tried many times to install Analytics on my blog using that UA code but No Success,
    Your Trick Helped Me

  138. eli Avatar


    should I only add UA-xxx-xx (with or without ‘ )

    or the whole script provided by analytics

    from until ???

  139. atiqur rahman Avatar

    This post is really helpful for me. I successfully add my Google Analytics code on my blog site. Thanks for this post….

  140. SarkariNaukari Avatar

    that was really helpful.. thank you for this post…

Leave a Reply to SEO Fees Cancel reply

Your email address will not be published. Required fields are marked *