Documentation for Event Tracking in Tracking API Reference
http://piwik.org/docs/event-tracking/