How to track downloads and outbound links in BuddyPress

I want to track how often users click on documents (PDFS) and links that are posted to groups in BuddyPress. This isn't captured in Google Analytics - only page views, etc. the standard stats. Does anyone know if there is a plugin that does this, or, if it's custom work, what kind of time I'm looking at to make this happen?