Web Hosting Talk







View Full Version : Hiddent online user counter?


fqservers
01-20-2008, 01:50 PM
Hi guys,
I have a web site that I would like to have an online user counter. However, I don't want my visitors to see how many users that are in my website. I am already using good analytics but it is not giving me real time data.

Do you guys know any code that I could put in my html/php pages that can get the job done?

Thank you in advance for your help and advice.

diligent
01-20-2008, 02:23 PM
Are you looking for 3rd party based, or something of your own? As for real-time stats from a 3rd party, I believe StatCounter is such, it is also free.

fqservers
01-20-2008, 09:13 PM
Are you looking for 3rd party based, or something of your own? As for real-time stats from a 3rd party, I believe StatCounter is such, it is also free.

I am looking for a 3rd party tool. Statcounter is not 100% real it has a time delay (I want to fidn the # of users at that minute or so). I found something from a google search.

So far it's working great, it's a great addition to google analytics. gives you loads of info that analytics doesn't provide.

here is the link;
http://w1.whatcounter.com/index.php

Jay August
01-20-2008, 09:43 PM
that site is quite wrecked from my end. I only see a bunch of ads and a broken website?

fqservers
01-20-2008, 11:34 PM
that site is quite wrecked from my end. I only see a bunch of ads and a broken website?

I just needed something to give me real time data (lets say how many users right now at this minute). I think this site is fairly close. See the demo here http://www.whatcounter.com/dspStats.php

DephNet[Paul]
01-21-2008, 12:11 AM
Statcounter is not 100% realThats not true.A free yet reliable invisible web tracker, highly configurable hit counter and real-time detailed web stats.Paul

fqservers
01-21-2008, 01:17 AM
Thats not true.Paul

Well that's what they say in their home page. But I coul never tell how many users I had in a given time..it's just like analytics

DephNet[Paul]
01-21-2008, 01:24 AM
I have not used it for a while but you can view stats daily, weekly, monthly, quarterly and yearly.

In what way do you mean the stats are not "real time"? Do you mean they do not show you how many people are looking at your site now, at this moment in time? If so then I very much doubt any free counter will offer that.

Paul

fqservers
01-21-2008, 01:30 AM
I have not used it for a while but you can view stats daily, weekly, monthly, quarterly and yearly.

In what way do you mean the stats are not "real time"? Do you mean they do not show you how many people are looking at your site now, at this moment in time? If so then I very much doubt any free counter will offer that.

Paul
Ya I know they are not 100% accurate. I just need to get a relative idea, my site is very dynamic and it is useful for me to compare the # of users now to that of 5 mins ago. Programs like my online users would work but it give valuable info to my competitors.

DephNet[Paul]
01-21-2008, 01:38 AM
If it outputs it to the web, and you have a static IP then use:<?php
if($_SERVER["REMOTE_ADDR"] === "YOUR IP") {
private data
}
?>Paul

VinnikHosting
01-22-2008, 11:20 PM
Can't you get user count from alexa?

fweikeong
01-22-2008, 11:25 PM
I am not aware of alexa giving out detail webstats, it basically rely on it's own tool bar for it's stats calculation.

PatrickTT
01-23-2008, 12:56 PM
Get Mint - it's amazing! The license fee of $30 is TOTALLY worth it. I used to run it at a really popular blog of mine before I sold it.

haveamint.com is the URL - seriously, it's worth every penny!