Written in R, this script will pull from Piwik's live referrer-spam-blacklist, and output lines that can be pasted into an .htaccess file to return 301:Forbidden errors for spam referrer domain traffic. It should help you keep your analytics logs much cleaner.
heyscully / generate-htaccess-for-spam-referrer-blacklist Goto Github PK
View Code? Open in Web Editor NEWWritten in R, this script will pull from Piwik's live referrer-spam-blacklist, and output lines that can be pasted into an .htaccess file to return 301:Forbidden errors for spam referrer domain traffic. It should help you keep your analytics logs much cleaner.