Removing Google Analytics referrer spam

Referrer spam is one of the more frustrating developments on the web in recent years. The premise is simple enough, a site owner sees a new referrer in their analytics and visits the website in question to investigate the source of new traffic.

The page in question does not contain any such links and instead advertises anatomical enhancements or attempts to install malware on the visitor’s computer.

Of the top ten referrers to my site in Google Analytics, seven are spammers. It’s an annoyance more than anything, all the same I’m trying a technique to kill it dead once and for all.