Using the PiwikTracker class and with the doTrackAction function, which the docs ( http://qa.piwik.org:8080/phpdocs/PiwikTracker/PiwikTracker.html#doTrackAction ) say you can pass the actionTypes of “download” or “outlink” to it…
however if you specify something else (Twitter, Facebook, etc) would it break things?
I have not seen a plugin for tracking social media outlinks anywhere, and this seemed like it might be an alternative to authoring a plugin as they are doing very similar actions for something that would be very useful in the Piwik core.