SlimStat.ss_track( description )
description is a custom message (up to 512 chars long) that can be used to add a note to the event tracked. If the HTML element that triggered the event has the ID attribute defined, and no note has been specified, the former will be recorded. If the function is attached to a key-related event, the key pressed will be recorded.
onclick="if(typeof SlimStat.ss_track == 'function') SlimStat.ss_track('clicked on first link');"
onkeypress="if(typeof SlimStat.ss_track == 'function') SlimStat.ss_track('a key was pressed');"
You can then track your events under Slimstat > Site Analysis, with two dedicated reports. You can also check events associated to specific pageviews in the Activity Log, whenever the corresponding icon is displayed next to the pageview information. Simply hover over that little icon to reveal a tooltip with all the information about the specific event.