analyticsapi
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Component created
Component changed
Component body
Some experiments with collecting and aggregating time-based analytics.
I know there are a ton of modules that already do this, but not quite this generically. :-) Some are based on paths, nids, cids, etc. Some include chart generation and most include the data collection itself.
This module lets you define any events you want. Then decide how the data from those events should be sliced (per user, per node, etc). And then define aggregate functions, which are calculated over regular time periods (hourly, daily, weekly, etc).
It doesn't include any default events, slices or aggregates. There is no data collection, just the API function to fire one of your events.
But the ultimate idea isn't to write code!
Events will be able to be fired by Rules. The events, slices and aggregates will be able to be defined via a UI. And charts will be able to produced using Views and Views Charts.
My goal isn't really to create site analytics like Google Analytics (although you could do that with the module). The goal is to allow creation of analytics for your users specifically geared to what they do on your site. Since every site is different and will want to track different things, you need a completely generic approach.
For example, if you have a community flashcard site. Users may want to see their statistics for how many flashcards they reviewed per day. That way they can see if they are working harder (or less hard) than in the past.
