Posted Jan 29, 2013
Back to Blog Index
Make Whos.amung.us Widgets Hidden And Invisible
Whos.amung.us is a popular visitor tracking and website analytics service. Unlike Google Analytics and other more advanced tracking services, Whos.amung.us is quite simple to install and use. It also does not offer a lot of details about the visitors and visited pages. It is an ideal solution for real- monitoring of a website or blog.
While the paid version of Whos.amung.us offers much more stastical analysis of the visitors and visited pages, the free version is limited to only a few parameters. When you open Whos.amung.us analytics page, you will see a visitor graph (how many visitors visited your site in one hour with maximum, minimum and average values) of the last 24 hours. This gives you a better idea about which time there are more visitors to your site. The analytics page also gives information about which pages are being visited in real-time.
Why you should not use more than one tracking script
You should always keep your tracking scripts to a bare minimum. This is because the tracking scripts will take a lot of time to load. Please note that only a few hundred miliseconds will also be a huge factor when it comes to page speed. So if you are using multiple tracking scripts, I would suggest you keep only one of them.
Google Analytics offers the same functionality if you go to Real-time analytics tab.
When I installed Whos.amung.us code on this site, the site was a little heavier than before. Here is the screenshot from the timeline:
You can see that it is adding at least 400ms of delay in the total loading time while Google Analytics added only 3ms of loading time even if its size was a lot heavier than Whos.amung.us scripts.
Getting Whos.amung.us code working on your site
If you have decided to use Whos.amung.us on your site, here are the steps you can take to install it on your site.
- Go to Whos.amung.us showcase page and select the widget you want for your site.
- Copy the code and paste it in the header or footer of your site’s code (most probably where you want it to be visible).
This is it. Nothing else is required. After some time, you will be able to see live traffic on your site or blog. One thing is important in the code. See the screenshot:
The code that is highlighted in the screenshot is important. You can change the code to anything you can remember. For example, for technize.net, I changed the code to technize. Now whenever you want to see the stats, you can go to the following URL:
Just replace technize with the code you have selected for your blog.
Hiding Whos.amung.us widget/badge
Now that we have installed the code successfully, we don’t want the visitors to see the stats of our site. This feature is available in the paid version of Whos.amung.us. But you can at least hide the badget/widget from public eyes while the code keeps on working on the site. To hide the widget, you will need to enclose the widget code in a div tag. The example is given below:
Back to Blog Index
© Usman Khurshid. Reproduced with permission of the copyright owner.