AJAX LiveCounter is based on the old school java version LiveCounter classic from Chami.com. But is really old and it needs java. And Java is not that fast... ;)
That's way I wrote a new AJAX version. It's easier to install, it loads faster and it works on all devices. Including mobile phones!
As a website owner you just insert one line of code in your page. And your done! That is really all!!. Go start right away and copy the code below and past it in your website. You can make as many counters as you need/want.
This LiveCounter works with AJAX requests, so all requests are done in the background of the website. With these AJAX requests the counter is able to go up or down in number without reloading the page. This way you get an animated live counter that is showing the amount of visitors at that moment. It is near realtime. That is way it is called "live" counter.
The LiveCounter does a request every 30 seconds. That are two requests every minute. So every 30 seconds the counter can change up or down. The LiveCounter shows counts the unique amount of visitors that were active in the last 2 minutes.
Now we are able to handle a whopping 10.000+ extra users. So bring it on! At this moment we are handling about 25.000.000+ requests a day :D
The amount of requests are increased from about 4 million per day to now about 20 million a day, we had to change the system! So now we have updated our counting engine, which can now handle about 1000 requests per second. That stands for about 30.000+ connections. And with CDN offloading, we reduced our bandwidth. Happy counting!
First version released
|Number of visitors on this page:|
|Total users online:|
|Total counters online:|
|Total requests per second:|
|Update interval in seconds:|
In order to count visitors we use a database to log your IP number and a unique session. We don't log any more of you. And all data that is older than 2 minutes will be deleted. We don't count visitors that are inactive more than 2 minutes and therefore we don't need that data anymore.
We do use Matomo for log file analytics. But we do respect the Do Not Track setting in your browser. With the Matomo we analyse the amount of hits and the duration of a visit. We are not interested in individuals. We just want to know some nerdy numbers ... :)
For questions you can mail at: livecounter[at]theyosh[dot]nl or visit my site: https://theyosh.nl