hi,
there are couple of ways in which we can meet ur requirements.
1) use webtrends (third party software) - i just need to include some scripts of all types of activities u need to log and it will then just do the needful But its logs are kept in IIS. as such if u host this on ur own server, then this is best.
2) Do it manually. I will wite scripts and code required in the relevant pages to collect and store information in the db. I have already done this for a site (name to be revealed if u reply to this bid) where in I am storing practically all the user does when on the site like login , clicking links, accessing pages, counting which pages have been most visited, clickng tabs, ip address, etc.
I guess thats it for me now. Rest it for u to decide.
Have a good day !!
cheers
niket