StatCounter on Blogger/Blogspot

We have been receiving a HUGE volume of support tickets lately from members who are having trouble installing StatCounter on Blogger (previously known as Blogspot).

Installing StatCounter on Blogger/Blogspot is really quick and easy… when you know how! So we’ve decided to post step-by-step instructions here for anyone having trouble…

First Things First…

It’s really important to choose Blogger/Blogspot as your Blog/Web Page Editor when generating your StatCounter code – see the screenshot below taken from StatCounter – so please don’t forget!

Now let’s get on with how to install your StatCounter code on Blogger/Blogspot…

Step 1
Log into your Blogger/Blogspot Account and go to the “Layout” area of your blog. To do this, click the “Layout” link in your Blogger/Blogspot Account as indicated in the picture.

Step 2
We need to add a “gadget” to your Blogger/Blogspot Account. Click one of the “Add a Gadget” links at the bottom or to the right of your blog layout area (as indicated in the picture). (Note from the screenshot that we are in the “Page Elements” tab of the “Layout” area.)

Step 3
Clicking “Add a Gadget” opens a new window similar to the one pictured below.

Scroll down through the list of Basic gadgets to find the HTML/Javascript gadget as shown in the picture below. Click the text (that says HTML/JavaScript) to add the gadget to your blog.

Step 4
When you add the gadget to your blog, the gadget will open in a new window as shown below. Paste your StatCounter code into the white space indicated by the red arrow (below) and click “Save” to close the gadget window.

(Note you must paste your StatCounter code here – typing the word “StatCounter” is not sufficient!!)

Click “Save” again back in the “Layout” area of your blog (see Step 2 above) and that’s it!

Your StatCounter will now begin recording visitor information and, if you chose the visible option, your counter will be visible on your blog!

(Of course if anyone is STILL having trouble with installing StatCounter on Blogger/Blogspot please log into your StatCounter account, click the “Support” link and submit a ticket to us so that we can help you further. 😉 )

This entry was posted in Installation. Bookmark the permalink.

77 Responses to StatCounter on Blogger/Blogspot

  1. sc says:

    i believe i followed the instructions correctly, but on statcounter i can only see my total number of visitors, no details, including how many visitors “today” etc.

  2. Lien says:

    I had the same thing, always saving…. or please correct errors. This was with Opera. Opened it in Firefox and now it’s OK 🙂

  3. lim yew yi says:

    I follow this step Blogger – StatCounter Code Installation Instructions

    * Copy the StatCounter code (highlight + ctrl c)
    * Log into your blogspot blog.
    * Go to the layout area.
    * Click the link for “add a gadget”
    * Choose the “HTML/JavaScript” option.
    * Paste the StatCounter code into the content section of the gadget. (ctrl
    * Click “Save”.

    But i still have problum, what problum in my blog only can see the word like



  4. ss says:

    I’ve chosen the invisible counter, and it is -as said- invisible for the viewers but how do I see the stats?

  5. Far East says:

    Why not we just choose the “Default Installation Guide” and paste the codes before tag. The tag can be found in blogger account then click on Layout > Edit HTML? I have do it for a long time ago..
    And its work fine for me.

  6. likapa says:

    Thanks for the instructions which were very easy to follow. I would like to add ‘You are Visitor No’ before the counter.

  7. meiting says:

    Mine blog is in the classic layout.
    So how to put the statcounter ?

  8. cui says:

    mine is not LAYOUT bt is TEMPLATE. How?

  9. MacaholiQ8 says:

    I’ve been using statcounter on my blogger blog for the past two years and it’s been really simple and amazing at the same time. It also helped me solve some anonymous visitors issues. I left a positive feed back last year regarding it and many of my regular readers used it for their blogs too.

    Keep up the great work.

  10. Wibs says:

    Everything is fine up to the step about choosing the HTML/Javascript widget. I cannot find it in any of the widget categories, and putting either HTML or Javascript into the search box does not return it either. Has blogspot now removed this widget?

    I got around it by inserting the code into the html directly.


  11. Tia says:

    Thank you!
    I couldn’t figure out how to do that own my own!
    … and now it works!!

  12. chedarz says:

    i followed the direction in reconfiguring the font and color but when i paste the code, nothing has changed. i did it a number of times. i even deleted my initial project and made another one, but nothing happens to change the appearance. pls help

  13. Farah says:

    my dashboard doesnt show layout. It shows template. So, how do i go about adding stat counter. Thanks

  14. ryan says:

    Super easy! I cannot wait to see if folks actually visit blog….

  15. Wow. Finally, the first place i should have looked to.Now i can spend the weekend rinsing the credit card on Christmas presents without fretting over errors on my blog.

    Thanks Statcounter!!

  16. ava says:

    Hey people of Statcounter! Thanks for this article. It was really helpful, especially since I didn’t know about the HTML/Javascript gadget before. Keep up the good work!

  17. lumi says:

    im very pleased.

  18. Dan says:

    Great !!! I was looking for the same

  19. Barlygreen says:

    still cannot understand;
    my page didnot show a ‘Add a gadget’ button, why and how?


  20. readnews says:

    Thank you, its’ great tools I found to know who’s come in to my blog clearly

  21. Gin says:

    Yahoo! That was easy.

  22. fullname says:

    Good instructions for blogger picture

  23. Venus says:

    This blog install guide is just what i was lookin for, thanks guys…it was real easy to install. Statcounter is the best page counter, Ever!! Ive used them for years.

  24. marin says:

    Thank you for this walk thru with the visual aides! I was banging my head against the wall trying to get the standard statcounter code to work that I utilize on our default / hosted sites.

    This works like a charm.

  25. Linda says:

    Thanks very much for the instructions, it was very easy to follow and set-up.

  26. swati says:

    i selected the invisible option and that seems to have worked seeing as i cant see it! but how do i check my stats now?