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?

Events happening in the community are now at Drupal community events on www.drupal.org.
AntiNSA's picture

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

joshk's picture

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.

ga_importer ftw

greggles's picture

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

Also Google Analytics Counter

vacilando's picture

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

greggles's picture

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.

Use something like node.js

bennos's picture

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

AntiNSA's picture

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.....

Mercury

Group organizers

Group categories

Post Type

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: