Hi.

I'm using the Zimbra 4.59 version and I would like to install a small script (like Google Analytics) in the advanced interface.

But we need it to count every single change in the main view, like if the user changes from the Message View, to Contacts or Options, the stats scripts should count it.

I've been searching in the main JS files of zimbra for a way to implement this, but so far I hadn't any luck.

The idea is to use a small javascript code and call an external javascript file, everytime the user changes the "app" (mail, contacts, etc.)

Any thoughts on how to do this?

Thanks in advance.