Forums / General / How to get the count of anonymous visitors ?

How to get the count of anonymous visitors ?

Author Message

John Mina

Thursday 07 April 2005 1:58:13 am

Hi All
i have a website that is already made by version 3.3-3 , and it had been published since last November . Now i need to get some statistics for number of anonymous users that had been visiting my website,
I am sure that EZ Publish is saving that some where in the database, so where is it ?

Looking forward to hearing back from you ASAP
sincerely
JOhn

Ɓukasz Serwatka

Thursday 07 April 2005 4:54:12 am

Hi John,

You can use this code:

        {let logged_in_count=fetch( user, logged_in_count )
             anonymous_count=fetch( user, anonymous_count )}
        Logged in users: {$logged_in_count} <br />

        Anonymous users: {$anonymous_count}
        {/let}

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog