Mobile app version of vmapp.org
Login or Join
Ravi8258870

: 2 options I know of: Piwik: Open source real time analytics. I don't use this, but I have a friend who does and he really likes it. It does look pretty nice and with something like this

@Ravi8258870

2 options I know of:


Piwik: Open source real time analytics. I don't use this, but I have a friend who does and he really likes it. It does look pretty nice and with something like this you can do all sorts of other things with the data (such as your own real time stats on the website).
Custom: You can easily add a database table where you insert a record every time you get a page hit. You can also store a session id or some other unique string for each user so you can group them or detect if it's a new vs returning visitor. You can also add additional functionality using AJAX to record how long they've been on the page.

I've done similar functionality on sites that were getting 100k+ hits per day and haven't noticed any extra load, but I kept the table really simple with only a primary key. If you want to get immediate results/numbers on the table, you'll probably need some keys, although you could also have a script that moves the data from the flat table into a table that combines the data into something more useful (hits per user, length of visit, etc).

With this type of solution, you could also add functionality that would allow you to communicate with the visitor while their on the website by sending them a message.

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Ravi8258870

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme