Thursday, June 14, 2007

Adding an Alexa Site Statistics Button in your blog

You may have seen some sites that has a Alexa button displaying the site Alexa ranking plus other statistics. For example, I have installed such a button in this blog: Generating Revenue from your website. The button is at the bottom of the left sidebar.

This is best done with a browser with tabbed browsing like Firefox as you can use one tab for your Blogger Dashboard and another tab for the Alexa site where you can generate the necessary script. You can install Firefox with Google toolbar by clicking on the "Browse the web better. Get Firefox with Google toolbar" link at the top of the right sidebar. If you are using Firefox to view this post, you can right-click on a link and select "Open in new tab".

If you want to install one for yourself, it is very easy. All you have to do is to go over to Alexa Site Widgets, select the type of button you want, type in your blog URL minus the http:// (for example, I typed "" minus the quotation marks) into the relevant field, then click the button "Build widget". The script for the Alexa Site Statistics Button will then be generated for you. Just click on the script to highlight them all, right-click, select "Copy" to copy the script into the clipboard, go to the Layout of your blog and click "Add a Page Element" in the relevant section (mine was on the left sidebar section), select HTML/Javascript and paste the Alexa script into the widget window. Click "Save to blog". You will see an additional HTML/Javascript Page Element at the top of the relevant section in the Layout (in my case, it was at the top of the left sidebar section). The job is done if that is where you want it. In my case, I wanted it at the bottom of the left sidebar, so I dragged it to the bottom of the left sidebar section, then click "Save" at the top right of the Layout.

If you are still using the old classic Blogger template, you will have to paste the script direct into the template. Use this post (will complete this post later when I get access to my own computer where I have all the post URLs saved in an Excel file).


  1. Dear Peter
    I wanted to ask you about Alexa. Pleasantly surprised to see this post. Thank you

  2. Yes I Agree This is a very good article. Thank you for the post. I find it really helpful. You made some good points there. I did a search on the topic and found most people will agree with your blog.

    Neeraj Dhiman


Find help, info, instructions, tips, tricks

Tip: Use search box below or this box, labels in the first right sidebar, archive, ctrl+F for this page or sitemap to find topics