We are working on a Java EE Web Application, and the people from marketing need some really detailed stats for our site. Something similar to Google Analytics, gathering the user's information, and their navigation through the site (where they come from, what they click, where they go, etc.).
Depending on a third party service like Analytics is not an option.
They would also like to get this information presented in graphs and stuff, which is not that hard since once the data is gathered, it's just about the right queries and the way we display it.
Not wanting to re invent the wheel, do you know if there's any API, framework or other kind of libraries to add to the project for this goal?