Welcome to Geeklog, Anonymous Monday, November 25 2024 @ 06:40 pm EST
Geeklog Forums
User Monitoring
Status: offline
Tony
Site Admin
Admin
Registered: 12/17/01
Posts: 405
Location:Urbandale, Iowa
Just curious if anybody would be up to the challenge of building a user monitor plugin. It is relatively simple...here would be my requirements:
1) Should be easily turned on/off via config or, preferrably, via the plugin admin interface (i.e. just disabling the plugin). This is key a there will be considerable overhead in tracking this stuff. When enabled it should note the date/time so all reporting is based on when this was enabled
2) Track how often a specific logged in user accesses the site...this would have to key off an inactivity timeout where if they haven't hit the site within that threshold then the next page view is considered a new visit
3) track the pages the users visit (how often)
4) reporting should give aggregate results including things like average visit length, average # of unique members that visit the site per day, total member visits, etc. It should also give the usernames of all the unique members who have visited the site and how many visits, etc.
5) ability to reset the data to start a new tracking period with option of archiving the data.
My intention is to get around the fact that my GL install as 1200 users and I want to know of those how many are active in a given week and how they are using my site. Anybody else think this would be useful?
The reason people blame things on previous generations is that there's only one other choice.
The reason people blame things on previous generations is that there's only one other choice.
7
8
Quote
Status: offline
squatty
Forum User
Full Member
Registered: 01/21/02
Posts: 269
I think this is a great idea! In fact, it was part of my inspiration for creating the "Performance Monitors".
To some extent, I have included these capabilities in the performance monitor hack. I currently log each page request into a table (gl_page_stats). The table records username, ip, the execution time of the page (as measured by the timer object), and the date/time of the request.
Now, there would be some obvious work to make the hack a true plugin plus some additional work to develop reports. One would also need to develop the archive/pruning logic for the data.
Point being, I think I’m about halfway there. I’d be happy to work with someone to fill in the gaps. Any takers?
In a world without walls and fences, who needs Windows and Gates?
In a world without walls and fences, who needs Windows and Gates?
10
6
Quote
All times are EST. The time is now 06:40 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content