32 A "popular posts" widget for Blogger
August 01, 2007 /

After some searching for a "Popular Posts" widget for Blogger, I discovered AffiliateBrand's widget (thanks to Blogger Tricks). This widget is free to use, and displays your most popular posts based on tracking of page impressions.

You can see an example of how this works in my sidebar, however please note that I have customised the overall appearance of this widget to suit my blog (which I will post about later, once I've ironed out the kinks). The default widget provided by AffiliateBrand looks something like this:

The widget is very simple to install, and now you don't even need to sign up to AffiliateBrand membership to be able to use it! You will need to register your blog's address though, in order to ensure that your most popular posts are tracked. Here's how to get this widget for your own blog:

  1. Visit AffiliateBrand.com and click on "Blog Window-Create/Edit" in the left sidebar.
  2. Add your blog URL into the box provided, and click "Add Blog". Your blog's URL will then appear in the window beneath.
  3. In order to get the javascript code you need to create your widget, you will need to click on the "edit" link beside your blog's URL. You will then be directed to the page from which you can copy the code. Paste this into Notepad or something similar.
  4. It may be a good idea to configure the width and height of the widget before you install it into your blog's template (if you decide to register with AffiliateBrand, you can do this later). To do this, click on "Customize" and choose your specifications for the widget's width, height, how many posts to display, etc. You can also specify a stylesheet for the widget, which I shall explain later. Then click "Save changes.
  5. Now, go to Template>Layout and add a new HTML/Javascript element to your sidebar. Paste the javascript code from AffiliateBrand and save your widget. Now when you view your blog, you will see the "popular posts" widget appear in your sidebar. At first, it will display a message rather than any posts as it takes a short time to begin collecting data of your most popular posts. To speed this up, click on a few of your post pages and you should soon see the results begin to appear.

As mentioned, if you create an AffiliateBrand account, you will easily be able to edit your widget later, as the javascript code is dynamically updated from the remote server. Also, you will be able to receive detailed analytics reports of your blog activity.

If you prefer, you can also specify a style-sheet to alter the appearance of your widget, which is explained most fully in the Stylesheet FAQ.

Another advantage of using this widget is that you can associate your Amazon Associated publisher ID and display relevant ads beneath your widget to help you earn money from your blog. To do this, click on "edit" beside your blog's URL, and then on "Advertising". On the following page, you should enter your Amazon Associates ID.

For a great tutorial of how you could customise this widget to better suit your blog's style, take a look at this post by Webweaver, which offers excellent advice.

As yet, I'm still learning about the configuration and usability of this widget, and will probably post again in a couple of days regarding my customisations and experience. In the meantime, feel free to leave your comments and opinions or email me if you prefer.

Technorati Tags: | | | | | |

32 Comments:

2 August 2007 18:44 J Rose said...

Amanda,
I have recently discovered your site and think it is a wonderful assest to the bloging community.

I have run into a major problem today and I was hoping maybe you could help me out with it.

I implemented the "read more" add-on, and for some reason today when I was editing my latest post, all my posts were removed from the home page.

Plus the post I added is screwed up, reverting back to an earlier post when you hit the "read more" button.

I have asked Ramani for help, but I know it can take him a while to respond. I was hoping you would be able to help me. I am sick over this development.

Thanks so much for everything.

2 August 2007 21:24 TIP said...

Hi

I used this widget on my blog www.TheIndianPhotoGrapher.blogspot.com
It works fine.. Thanks for the tip

I noticed that my pages take longer to load!!
Is it coz of this code?

2 August 2007 23:47 Amanda said...

@J Rose: I had something similar to this happen after implementing Ramani's hack: check that you still have the </span> tag right at the very end of your new post. If you accidentally delete this, nothing will show beneath the " Read more" link on the first page of your post! It's easily fixable, so don't worry-your older posts are still there!

Feel free to email me if this doesn't fix it, or if you need more help.

@Tip: Yes, I think the page takes slightly longer to load when you first begin to use the AffiliateBrand widget. I have customised mine, and find that now it takes less time to load. I will post about this once I've managed to perfect the method, as at present it is quite a laborious and imperfect hack!

3 August 2007 08:11 OFW LIFE Lestat_m said...

Hi Amanda,

thanks for the tip.. the popular post widget from affiliate brand now merged properly with my site layout..

thanks again.. and more power

OFWLIFE BLOG

8 August 2007 12:35 webweaver said...

Hi Amanda,

Thanks heaps for the link to my blog post about customising this widget - I had a lot of fun figuring out how to do it - I'm glad you liked it!

16 August 2007 13:12 Saravanan said...

Nice widget.... useful to me here is my blog thats shining with that widget

http://sara-intop.blogspot.com/

4 January 2008 03:21 Laura said...
This comment has been removed by the author.
4 January 2008 03:22 Laura said...

Thanks for the instructions! Unfortunately, I keep following them, and nothing is showing up at all. Do you happen to know if something has changed recently?

Thanks again.

4 January 2008 14:24 Amanda said...

Hello Laura,

Unfortunately it seems the AffiliateBrand site is down again, and none of our widgets are currently displaying. This does seem to happen sometimes, though after a day or two the site (and the widgets) should come back online.

Sorry about this! I didn't design this widget myself, and so can't offer any technical support, except for us to keep our fingers crossed and hope it comes back online soon!

I do wih that Blogger would enable such a widget. Even something so simple as a "Most commented" widget using data from the database about our posts would be warmly welcomed :)

5 January 2008 01:55 Laura said...

Oh, ok. Just bad timing on my part, I guess. Thanks for letting me know!

8 July 2008 12:29
hacknol said...

thanks for the post it helped me a lot

7 November 2008 05:26 Mars said...

Thanks for this. I'll use this on my site.

7 November 2008 05:27 Mars said...

Thanks for this. I'll use this on my blog.

14 November 2008 07:44 sETiawAn said...

very nice tips sir. thanks

23 November 2008 06:04 aril said...

nice tip...very helpful

http://paintball-xtreme.blogspot.com

7 February 2009 23:39 Helmi Razali said...

thanks a lot. I've implemented it on my site.

18 June 2009 09:31 Ananda Ganesha Maaruf said...

Hi Amanda

When i put it on my blog, it says

"Invalid Blog Window Registration

Get your link from AffiliateBrand.com"

What should I do?
Thanks again

www.dewagajah.co.cc

15 July 2009 09:29 Nia said...

Niche widget. I need this. Thanks for share.

2 March 2010 08:04 BloggerGeeze said...

I've created a tutorial implementing the Most Popular posts base on most commented post, here is the full tutorial for this: Most Popular Post Widget for your Blogger blog (Most Commented Posts)

Hope you find this helpful.

17 April 2011 14:15 mehwish said...

How it can be installed in blogger?please explain it fully...

1 June 2011 00:46 Penis Enlargement said...

I am thoroughly convinced in this said post. I am currently searching for ways in which I could enhance my knowledge in this said topic you have posted here. It does help me a lot knowing that you have shared this information here freely. I love the way the people here interact and shared their opinions too. I would love to track your future posts pertaining to the said topic we are able to read.

1 June 2011 00:46 VigRX Plus said...

Thanks for taking the time to discuss this, I feel strongly about information and love learning more on this. If possible, as you gain expertise, It is extremely helpful for me. would you mind updating your blog with more information

30 September 2011 08:09 4d ultrasounds said...

It does help me a lot knowing that you have shared this information here freely. We are constantly Study, a total of enjoyment of information and work together to improve their lives.

30 September 2011 08:10 tubal ligation reversal surgery said...

As I just started posting comments for blog and faced a lot of rejections. I think your suggestion would be helpful for me. I will let you know if this works for me.

15 December 2011 10:25 organic supplements said...

This is a very good article, thanked the author to provide it for us!

20 December 2011 18:25 buy hydrocodone online said...

Thank you, I have recently been searching for information about this topic for ages and yours is the best I have discovered so far.

20 December 2011 20:33 buy percocet online said...

Very significant article for us ,I think the representation of this article is actually superb one. This is my first visit to your site

25 December 2011 11:51 Classified Ads Madhya Pradesh said...

Nice site! I enjoy a couple of from the articles which have been written, and particularly the comments posted! I will definitely be visiting again!

29 December 2011 06:29 natural allergy relief said...

Intimately, the post is actually the best on this laudable topic. I harmonize with your conclusions and will eagerly look forward to your future updates.

16 January 2012 05:46 dietas Barcelona said...

Hola, he encontrado tu mensaje de gran ayuda. Gracias por publicar contenidos informativos tales. Seguir posteando.

16 January 2012 07:05 find doctors list said...

Thanks for the information. I’m really glad that you share your ideas about this. I must relay these ideas to my friends.
doctor ratings and reviews

25 January 2012 05:59 tubal reversal surgery said...

I discovered so many beneficial thing in your blog site especially its discussion. On the a lot of feedback on your articles, I guess I am not the only one getting the satisfaction right here! keep up a good work.

Post a Comment

Browse through the Archives

All existing posts are still available to view while I'm working on the site, albeit seen in a much simpler interface. Feel free to browse through the archives to find tutorials, templates and articles to help you build a better blog:

Blog Archive

© Blogger Buster 2010 Home | About | Contact | Hire Me