SlimStat.ss_track(event, event_id, description)
eventis the event that was triggered (the word 'event' must be used when attaching event handlers to HTML tags, see examples below)
event_idis a numeric value between 100 and 250
descriptionis a custom message (up to 512 chars long) that can be used to add a note to the event tracked. If the ID attribute is 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.
asynctoggles the asynchronous AJAX call (true, false). This parameter is optional and it defaults to true.
onclick="if(typeof SlimStat.ss_track == 'function') SlimStat.ss_track(event, 100, 'clicked on first link');"
onkeypress="if(typeof SlimStat.ss_track == 'function') SlimStat.ss_track(event, 130, 'a key was pressed');"