Current User: Guest Login
Please consider registering


Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Site statistics by client ID

Reply to Post Add a New Topic
UserPost

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 1125

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 1125

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 1125

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 1125

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.

Reply to Post

Reply to Topic:
Site statistics by client ID

Guest Name (Required):

Guest Email (Required):

NOTE: New Posts are subject to administrator approval before being displayed

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
7 + 3
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

Currently Online:
111 Guests

Currently Browsing this Topic:
2 Guests

Forum Stats:

Groups: 2
Forums: 9
Topics: 638
Posts: 2709

Membership:

There are 257 Members
There have been 302 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

cssfsu – 55
deepakgupta – 34
albert_newton – 30
cosminpana – 20
DTNMike – 19
ahtshun83 – 17

Recent New Members: raju, todd2taylor, sbdcunha, mansigill1987, ThomasDuh, ThomasKic

Administrators: Jean-Luc (1125 Posts)

Moderators: Jean-Luc (1125 Posts)