For about a month now Vocal Nation has been using a traffic analysis program by
Shaun Inman called
Mint. It's really well designed and I definitely recommend to anyone that wants a clean, intuitive way to check out their traffic. But as slick as it is, it is limited in its ability to track events that occur between pageloads. Since Vocal Nation uses some fancy ajax to load individual sections of a page and to open popups, these hits were not being recorded. Fortunately, Mint comes complete with a nicely done pluggin architecture for extending its base functionality.
To solve the problem mentioned above, I created the Behavior Pepper (within mint plugins are called pepper for some reason), which tracks javascript user events (like popups or ajax requests) occurring between pageloads that would otherwise slip through the gaps. After installation, you can specify which user events you'd like to monitor in one of two ways:
1) With Browser-Side Code: This method uses a seperate ajax request, and is triggered by a javascript function call within the client's browser. (Requires knowledge of javascript.)
2) With Server-Side Code: For logging an event from within your application's php code. (Requires knowledge of php.)
To download this pepper, head over to the
peppermill at the mint site.
More information is available in the readme file once you download it.
Hope you dig it, and please keep me updated if you make any improvements.
6 Comments
I would like to make a suggestion for an addition to your Behavior Pepper. It would be nice to have another view in the Behavior pane, where the the recorded events are sorted/grouped by event.
E.g. on my gadgets weblog http://technoskop.de/ each posting is an ajax request and in the past I tweaked Mint a lot to get each ajax request recorded as a page view. So again it would be nice to see the top X events and how often they happened.
Is something like this in development or on your time line?
Many thanks in advance for a short answer,
Yves Luther
Yeah, I've thought about adding something like this, but I was holding off to see what the response was like on this pepper. It probably wouldn't take that long to do but I'm just about to go on a short vacation, so it's not really top priority. I really like your website by the way.
thank you for the kind words about my site.
I wish you nice holidays and hope for your recharged batteries to shorten the to-do list.
Behavior Pepper is working fine and data is accumulating like crazy. Since the 'Most Popular' tab only summarize the all time favorites, it would be nice to have some additional tabs:
Just like in Shaun's Visits pane.
I don't know the complexity behind, but I would highly appreciate this functionality. Thank you so much.