Display Your iGoogle Gadget User Count

Most of you probably won’t use this ever, but if you are an iGoogle gadget developer then this is definitely for you! I put together a simple little tool that will display how many users my gadgets currently have, and I’ve set it up so that anyone can use it. If you’d like to display the number of users your iGoogle gadget has, simply add this HTML code snippet to any webpage or even within your gadget:

<script type="text/javascript" src="http://geeklad.com/tools/gadgetusers.js?url=www.somewebsite.com/somepath/yourgadgetfile.xml"></script>

Just be sure to replace the www.somewebsite.com and /somepath/yourgadgetfile.xml accordingly. My gadget user counter works by performing a document.write to output the number of users that are currently using your gadget, according to the iGoogle gadget directory. I have a feeling that these figures are understated or not updated very often, because according to Google Analytics I have many more users than the iGoogle gadget directory states. At least the directory figures are conservative and they do get updated with some frequency. Now you can easily inform people as to how many users are using your gadgets too! Check out my web definitions gadget page to see it in action.

About GeekLad

Geeklad is a technology enthusiast and programming hobbyist. Occasionally he will put together useful little bits of code (be it JavaScript or PHP) and share them with the world. He also enjoys creating and sharing howtos, describing how to do the things people want to do with their computers.
Tagged , . Bookmark the permalink.
  • http://www.findoptimalhealth.com/hawaiian-noni-juice.php noni benefits

    Wow thanks for valuable information for iGoogle gedgets….

  • http://www.findoptimalhealth.com/hawaiian-noni-juice.php noni benefits

    Wow thanks for valuable information for iGoogle gedgets….