| User | Post |
|
8:02 pm October 16, 2008
| snam
| | |
| Guest
| | |
|
|
Hi Jean,
Our site is dynamic i.e. its UI changes based on the client ID. For e.g. clientid=1, clientid=2. So, basically, we are using the same site for different clients.
So, using AWStats, is it possible to get Web site statistics per client.
I would appreciate your help.
Thanks!
snam
|
|
|
12:51 am October 17, 2008
| Jean-Luc
| | |
| Admin
| posts 1043 | |
|
|
Hi,
Where does this client ID appear ?
Assuming it is in the query string, there is another question: is it there only in the first hit from the visitor or does it stay there for all hits from the same visitor ?
|
|
|
12:07 pm October 17, 2008
| snam
| | |
| Guest
| | |
|
|
Hi Jean,
Thanks for your response.
Yes, the first time it comes via the query string and then we store it into the session. But, the client id is carried throughout in the session.
Regards,
snam
|
|
|
3:04 pm October 17, 2008
| Jean-Luc
| | |
| Admin
| posts 1043 | |
|
|
For each client ID, you could easily count the number of hits including this client ID in the query string. This will show you from where the visitors are coming. You can do that with an extra section checking the query string.
If you want more, i.e. complete overviews and statistics of the traffic by client ID, you need a field in the log file that contains the client ID. If the client ID is not directly readable in the session, you will need another separate field for the client ID. This will probably not be very easy and I am not sure that you really need to go this far.
|
|
|
10:16 am October 20, 2008
| snam
| | |
| Guest
| | |
|
|
Hi Jean,
From your answer, here's what I understand. Please do correct me, if I am wrong.
If I can successfully write the client ID each time I log information, then its technically possible to provide "complete overviews and statistics of the traffic by client ID", but its not a relatively easy thing to do. Is that correct?
Once again, I do appreciate you answering my questions…
Thanks!
snam
|
|
|
10:44 am October 20, 2008
| Jean-Luc
| | |
| Admin
| posts 1043 | |
|
|
Hi snam,
If there is a client ID field for each row in the log file :
- you will be able to create extra sections for any given client ID
- and you will be able to split the log file in parts (one part for each given client ID) and then process each part separately as an independent log file.
|
|
|
4:54 pm October 20, 2008
| snam
| | |
| Guest
| | |
|
|
Hi Jean,
Thanks for your answers.
I guess when you mention splitting the log file in parts – it will be a separate routine that I would have to create. Correct..
Regards,
snam
|
|
|
12:17 am October 21, 2008
| Jean-Luc
| | |
| Admin
| posts 1043 | |
|
|
I believe that you do not need to create your own routine.
In LogFormat , call the client ID field %virtualname and define SiteDomain as being the client ID. AWStats should only process the rows with the selected client ID.
|
|