Who's on feature - visitor count

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
4/15/2012 1:21:23 AM
Gravatar
Total Posts 537
feet planted firmly on the ground

Who's on feature - visitor count

Noticing that the count for visitors on sites is always higher than the count shown in Google Analytics live view. For example I have a site where right now the mojo feature says 7 visitors, GA says 1 person on the site (me!).  Is there some lag in the counter in the mojo feature?

4/15/2012 7:40:55 AM
Gravatar
Total Posts 18439

Re: Who's on feature - visitor count

Our feature is just counting sessions, sessions last until the session timeout which is 20 minutes by default, so if a user visits one page he will be counted by our feature as online for 20 minutes after his last page view. We have no way of making it match google analytics. I would say the google analytics real time reports are much more accurate picture of how many people are using your site at a given moment. GA can only track users who have javascript enabled, there are lots of things like bots that crawl sites with no javascript enabled and GA doesn't count those but they do exist as sessions in IIS and this can inflate the numbers but we have no way of discenring a bot traffic from people traffic.

4/15/2012 2:29:54 PM
Gravatar
Total Posts 537
feet planted firmly on the ground

Re: Who's on feature - visitor count

Thanks Joe that makes sense, and explains the odd figures. I wonder whether the feature could be made more accurate and "real-time" by adding something similar to GA tracking code within the mojo site itself.  As an option that could be set for the site (and perhaps overridden for each page?),  there could be some JS included in the skin that calls a handler within the site when a page is accessed by a real user (with JS enabled). The handler could write to the database (e.g. a mp_current_users table), and the "who's on" feature could poll the table on a timer.

You must sign in to post in the forums. This thread is closed to new posts.