Text
Behavior Pepper (Plugin for Shaun Inman's Mint)

 
 
 
 
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

By Yves On 8/4/2007, 2:43 am
 
Average (50)
Rating
Neutral
Leaning
 
Valuable Addition to your Behavior Pepper
Hello Tony,

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
 
Reply to this comment
 
By SnowLeopard On 8/4/2007, 12:30 pm
 
Interesting (79)
Rating
Neutral
Leaning
 
It's on a very long to-do list
Yves,

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.
 
Reply to this comment
 
By Yves On 8/5/2007, 3:42 am
 
Average (50)
Rating
Neutral
Leaning
 
Many thanks and enjoy your vacations
Hi Tony,

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.
 
Reply to this comment
 
By SnowLeopard On 8/11/2007, 12:55 am
 
Interesting (79)
Rating
Neutral
Leaning
 
"Most Popular" tab added
O.k. the "Most Popular" tab that Yves suggested has been added.  You can download the new version of this plugin here.
 
Reply to this comment
 
By Yves On 10/9/2007, 12:47 am
 
Average (50)
Rating
Neutral
Leaning
 
Some more proposals for tabs ...
Hi it's me again ;-)

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:

  • Past Day
  • Past Week
  • Past Month
  • Past Year
  • And maybe rename the most popular tab to Overview


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.
 
Reply to this comment
 
By SnowLeopard On 12/5/2007, 3:49 pm
 
Interesting (79)
Rating
Neutral
Leaning
 
Not looking at anymore additions anytime soon
I'm pretty happy with how the behavior pepper is currently working, but if anyone else wants to add to it, I'd be happy to re-upload it to mint if the changes were good.
 
Reply to this comment
 
Reply to this Comment
Who are you?
Existing User  
Log me in.
New User  
I'd like to register.
Guest User
I only want to comment.
 
Name
  
Email  (not displayed)
  
Website  (optional)
  
 
Type the security code: 
 
 
Title (optional)
Body
Basic HTML allowed: <a> <b> <em> <ul> <li>
 

Add a New Comment

Who are you?
Existing User  
Log me in.
New User  
I'd like to register.
Guest User
I only want to comment.
 
Name
  
Email  (not displayed)
  
Website  (optional)
  
 
Type the security code: 
 
 
Title (optional)
Body
Basic HTML allowed: <a> <b> <em> <ul> <li>
 
 
 
 
Posting Info
 
 
 
Posted By
SnowLeopard
Portland, Oregon, United States
 
Related Regions
 
Posting Stats
Not RatedRating
--Leaning
0Votes
10574 Views
6/16/07 Posted
Cast Your Vote
Interesting (79)
Rating
Neutral
Leaning
 
How does voting work?
To vote on this posting, drag the sliders above to the left or right. Rate it on a scale from 0 to 100 based on how interesting it is.

The political leaning slider spans from extreme conservative to extreme liberal. Drag this slider to display the label you feel best describes this posting. If the article doesn't have a clear leaning, just leave it as neutral.

For more information refer to the How It Works page.
 
 
 
 
Watch this Posting
 
 
 
Subscribe to this posting to stay updated on future comments. Subscribe Via Email
(You can unsubscribe at any time)
 
 
 
 
Display Options
 
 
Page Width
 
 
 
Text Size
 
Navigation Color
 
  |   Home   |   RSS   |   How It Works   |   Digest Feeds   |   Blog   |   Help Us Grow   |   Terms   |   Privacy   |   Contact   |  
Copyright © Vocal Nation 2006-2008.