Posted by AntiNSA on January 29, 2011 at 7:20am
How can we count anonymous users using the counter in the top right corner of admin menu? in 10.04 an 1.2 ? Is it possible?
How can we count anonymous users using the counter in the top right corner of admin menu? in 10.04 an 1.2 ? Is it possible?
Comments
Not Possible
Because anonymous users are getting pages from Varnish (not from Drupal directly) it is not possible for Drupal to accurately track the numbers of anonymous users.
You could investigate other javascript-based tools (e.g. chartbeat, etc) that provide live anonymous user data. Google Analytics will also give you data after the fact.
https://pantheon.io | http://www.chapterthree.com | https://www.outlandishjosh.com
ga_importer ftw
There's a nice and relatively new module called ga_importer that will even pull in the GA data to your site so you get good performance for anonymous and local GA data for sorting views and the like
http://drupal.org/project/ga_importer
knaddison blog | Morris Animal Foundation
Also Google Analytics Counter
Also Google Analytics Counter was created for the same reason. Uses AJAX to bypass cache and also writes to the Drupal's node_counter table. See http://drupal.org/project/google_analytics_counter
---
Tomáš J. Fülöpp
http://twitter.com/vacilandois
Writing to node_counter is
Writing to node_counter is nice, but in my opinion it's not enough.
GA tracks so much more than "visits" and node_counter really only cares about visits. That's why I added the ability in ga_importer to track bounces, time on page, and visits in addition to pageviews.
node_counter also cares about two timeframes: today and this month. But sites care about so much more. That's why ga_importer now keeps track of the stats per day and can therefore do queries showing the data over a very long time.
knaddison blog | Morris Animal Foundation
Use something like node.js
Use something like node.js and create an app.
Think piwik can also use an count pixel. this should work in every anonymus cached request.
thanks I will try them both
thanks I will try them both and see what works. Really for me the sites are just for the anonymous visitors to not feel alone.....
www.thecenterofthenet.com
http://cn.linkedin.com/in/roberpteatonjr
http://www.facebook.com/robertp.eaton
http://www.alamy.com/stock-photography/6A42F1A1-E40A-48FD-8C7F-FF258A401...