A user clicks a certain check box
A user uses the search bar
A user only makes it to a certain place in a form and gives up.
We can’t really see these things with the typical visit/action model. Sometimes we can use custom variables for some of these things, but that’s a bit hackish, and we only get 5.
I would love to have all those extra events attached to a specific visit because there is a wealth of knowledge there. It would also be nice to segment our data based on these events, but that seems like a large project.
I would write a plugin for this, but I don’t see a way to do this outside of altering piwik.js and the core.
As per Piwik 1.5, you can use Custom Variables for each page view. Then, you can see a counter of each name and value. This is quite basic reporting, but it is definitely V1 of “Event Tracking” in Piwik
For example, on a given page view, you could have the custom variables:
index N - Custom_var_name = Custom_var_value
index 1 - Category = Videos
index 2 - Click = Play
index 3 - Name = “Amélie” trailer
index 4 - Duration = 45
Then you can get reports, Top “categories”, “Top Clicks”, list of best “Names”, etc.
it is not as advanced as Google Analytics but should help with all basic tracking needs. Any thoughts?
That could be a poor mans event tracking, but there is still the fact that events often happens multiple times on the same page. I don’t think multiple events on one page view would work, but I could be wrong. ??
Anyhow. This is still a pretty lousy solution, and not the intention of the custom variables.
| JW Player) for JWplayer which depends upon GA’s ‘trackEvent’ functionality. Would be great to have a similar plugin for Piwik.
I would like to see this as well and I think it’s pretty easy to accomplish. What we need for this is an extra set of actions. Lets call them custom actions. These actions can be treated the same as pageviews, external links and downloads.
All we need is to add some extra action types (lets say max 10?), add a few menu items and the reporting. These actions can then be logged using:
I’m already working on a plugin for this but the current structure of the actions kind of prevent this from working since there is a check on the action type (at least when debugging is enabled). So when debugging is disabled it works but I’m worried that this check will later be added even if debuging is disabled which would make the plugin worthless. And even then I think it’s much better to integrate this direclty into the current Actions structure.
Any dev that would consider this? I’m willing to make it but only if I’m sure it will be accepted into the main core or that my plugin will keep working.
I’ve got a problem with tracking Event on Piwik, with Firefox and Safari …
So, when I remove the href=“myURL.html”, it works.
If I remove this href but I add a location.href=‘myURL.html’ here:
It doesn’t work …
No offence, but the current state of Piwik’s customized action/events logging is really holding Piwik back, imho. I feel like many of the other analytics software/companies have customized logging that is much more versatile than Piwik’s, and I would really like to see Piwik grow in this area. If Piwik’s action logging can be used in advanced ways that I am not seeing, then I apologize. Looking forward to reading your docs on the subject, matt.
One thing I would really like to see is more multivariable logging/filtering/retrieval such as logging the creation of objects and actions performed on those objects. (e.g. logging the creation of a news article, comments on, favorites, adding to collections, shares, etc and visualizing them over time). A news article is a bad example because it can have a static-ish page, but think about something like twitter posts, Pinterest posts, and user interactions that most definitely can’t be tracked the same way a url that never changes does.
@matt, all I really have to give is time. If you have time to help a new dev get acquainted with the Piwik codebase, I’d love to give it a go to see if we could build a solid proposal for a more advanced custom logging system. Since there are no solid opensource alternatives, I am about to start working on a logging system to do activity feeds and basic analytics for the company where I work, so I’ve given it some thought. Is #piwik on freenode the main method of communication between developers?