Ticket #472 (new New feature)
Plugin to provide event tracking
| Reported by: | matt | Owned by: | |
|---|---|---|---|
| Priority: | critical | Milestone: | Feature requests |
| Component: | New Plugin | Keywords: | |
| Cc: | Sensitive: | no |
Description
Google Analytics provides an event tracking feature, with a few custom dimensions.
Piwik has been designed so that adding event tracking would be feasible without architectural changes. An event would be a new page type (like Action, Downloads, Outlinks).
We may want to provide two dimensions
- event category
- (optional) event value (could be string or integer or float)
We could give reports like:
- count people who click on "Video - play", "Video - forward", etc.
- count how long does it take to load the page. when event value is a int/float, eg. "Loading time" is "1min". the UI would show histogram, average value, etc.
- when event value is a string: report values per category: "Video - play" has been clicked 15 times for "Movie 1", 10 times for "Movie 2".
This would be a simpler implementation than the one provided by GA.
More info: http://blogoscoped.com/files/google-analytics-event-tracking-large.png http://code.google.com/apis/analytics/docs/eventTrackerGuide.html
extending tracking http://code.google.com/apis/analytics/docs/eventTrackerWrappers.html _trackEvent(category, action, opt_label, opt_value)
