I'm trying to piece together an analytics-type service, which would account for individual user actions, across a varying amount of mediums such as Twitter, FB, email, web, etc... Obviously, I realize I can use any sort of native tracking on 3rd party sites. Basically what I think I'm looking for, is the following arrangement: user link (vanity url) ==>Tracking URL ==> $ URL So, ideally, any user would only ever see a shortened url link, and not some ugly 300-character UTM link, but would still trigger tracking data to be pushed to my database. I would then be able to get the tracking data and consolidate it with my user data. Currently, I'm imagining using a third party shortener service, and a self-hosted analytics service such as Piwik, which I have some familiarity with. I was hoping someone with a little more experience doing such an approach might be kind enough to weigh in, pointing out potential pitfalls and better approaches.