I have this internal website within a company and it's Perl CGI based. I would like to install some kind of system to track users and other web statistics.

Any recommendations on how to do this? I would like to have full control and allow easy to install.