gaza165 Posted January 22, 2009 Share Posted January 22, 2009 Im looking to count how many guests are viewing my website and dont know the best way to go about it. Im not looking for registered users that are online, but just guests that are viewing the website. Is it a good idea to count the amount of session instances? Link to comment https://forums.phpfreaks.com/topic/141937-tracking-guests-on-website/ Share on other sites More sharing options...
printf Posted January 22, 2009 Share Posted January 22, 2009 A quest should be the same as a member, the only difference is that a quest is not logged in / authenticated! So shouldn't you have that data already stored in your database session table or if your using session files you will have to check those files. Link to comment https://forums.phpfreaks.com/topic/141937-tracking-guests-on-website/#findComment-743186 Share on other sites More sharing options...
gaza165 Posted January 22, 2009 Author Share Posted January 22, 2009 Well not everyone is registered... i want to be able to look at the people that are on my website regardless if they have registered or not. Link to comment https://forums.phpfreaks.com/topic/141937-tracking-guests-on-website/#findComment-743188 Share on other sites More sharing options...
deansatch Posted January 22, 2009 Share Posted January 22, 2009 install a free web stats program?? awstats, tracewatch etc... Link to comment https://forums.phpfreaks.com/topic/141937-tracking-guests-on-website/#findComment-743190 Share on other sites More sharing options...
gaza165 Posted January 22, 2009 Author Share Posted January 22, 2009 I have installed google analytics but i would like to come up with my own system to display the amount of guests that are on the site. Link to comment https://forums.phpfreaks.com/topic/141937-tracking-guests-on-website/#findComment-743194 Share on other sites More sharing options...
printf Posted January 22, 2009 Share Posted January 22, 2009 What system / software are you using (IE forum, site)? Whatever it is, if it doesn't have that data already, it can be added fairly easy. Even if a user is not logged in, the guest data should still be in the session table. Link to comment https://forums.phpfreaks.com/topic/141937-tracking-guests-on-website/#findComment-743200 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.