Use the following code to track custom events on your site:

_raq.push(['trackEvent', { 
  category: "User", // event category (Movie, Video, User...)
  action: "Login", // event action (Play, Pause, Login...)
}]);

 

Custom events show up under "Actions" on a session's detail page, as shown below: