Google Analytics Referral Spam Bots

I've recently discovered that my analytics were lying to me. Apparently it's a fairly well known fact that there are actually bots out there that maliciously sabotage your analytics simply to get their referral address in there. For what, I don't know exactly why. I'll tell you about the solutions that I've used and built to achieve fairly solid analytics from now on.

Updated with links to Solid Console App