tommaso
08-29-2007, 12:20 PM
Hi,
I did the very first version of a stat addon which saves visits into a csv (comma separated values) file with the following fields:
date
visited_url
username (if any)
userwebsite (if any)
useremail (if any)
language
referrer
user_agent
remote_host
remote_addr
you can see it live (http://www.tomsights.net) on my site opening the source of a page you will see right next <head> tag:
<!-- logged: 2007-08-29 12:04:01 / Test www.noname.none noone@noname.none Opera/9.23 (Windows NT 5.1; U; it) 213.140.2.6
-->
which means that the info is logged to the logfile.
This text is replaced where the tag <csv_stats> is found in any file of your tamplate (while the same info is stored in the log file).
You can import the stats in excel and do what you want.
At the moment, the log is cleaned every time reaches 50KB.
I'll probably develop (spare time) the following feature:
- customize log file name (so that only you know where's the log)
- email the log before cleaning
If you want to help me doing this or you have any suggestion you're welcome.
the addon is here (http://www.tomsights.net/csv_stats.zip)
Hope you like it :)
bye
Tommaso
ps oh, well, the file is tab separated because the field HTTP_USER_AGENT is full of ;
I did the very first version of a stat addon which saves visits into a csv (comma separated values) file with the following fields:
date
visited_url
username (if any)
userwebsite (if any)
useremail (if any)
language
referrer
user_agent
remote_host
remote_addr
you can see it live (http://www.tomsights.net) on my site opening the source of a page you will see right next <head> tag:
<!-- logged: 2007-08-29 12:04:01 / Test www.noname.none noone@noname.none Opera/9.23 (Windows NT 5.1; U; it) 213.140.2.6
-->
which means that the info is logged to the logfile.
This text is replaced where the tag <csv_stats> is found in any file of your tamplate (while the same info is stored in the log file).
You can import the stats in excel and do what you want.
At the moment, the log is cleaned every time reaches 50KB.
I'll probably develop (spare time) the following feature:
- customize log file name (so that only you know where's the log)
- email the log before cleaning
If you want to help me doing this or you have any suggestion you're welcome.
the addon is here (http://www.tomsights.net/csv_stats.zip)
Hope you like it :)
bye
Tommaso
ps oh, well, the file is tab separated because the field HTTP_USER_AGENT is full of ;