Referrer Spam

Our agency always spends more time in Analytics at the beginning of the month than any other time.  While we were in Google Analytics this month we noticed that the amount of spam from referring traffic just continues to grow :(.

Referral Traffic - Google Analytics

You can attack this problem in a couple of different ways, one from inside of Google Anayltics which I think take a bit of time when you are working through a lot of GA profiles but can be better then messing with .htaccess.  But if you feel comfortable moving around .htaccess I would recommend adding the code below to block these sites at the site level.  I got the original from here - https://moz.com/blog/how-to-stop-spam-bots-from-ruining-your-analytics-referral-data ...and I expanded upon it here:
# Block Referrer Spam
RewriteEngine on
RewriteCond %{HTTP_REFERER} ^http://.*ilovevitaly\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*ilovevitaly.\.ru/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*ilovevitaly\.org/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*ilovevitaly\.info/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*iloveitaly\.ru/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*econom\.co/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*savetubevideo\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*kambasoft\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*buttons\-for\-website\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*semalt\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*darodar\.com/ [NC]
RewriteCond %{HTTP_REFERER} ^http://.*guardlink\.org/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*free\-share\-buttons\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*free\-social\-buttons\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*Get\-Free\-Traffic\-Now\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*buy\-cheap\-online\.info/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*4webmasters\.org/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*event\-tracking\.com/ [NC,OR]
RewriteRule ^(.*)$ – [F,L]

The other way is if you own your own server.  If you do there are a couple options to achieve this:

#1. Obtain the IP address(es) for each domain and block within the firewall.

#2. Setup an Exim System Filter File to block all exim traffic server wide to these domains. See the link below for further detail:
https://documentation.cpanel.net/display/ALD/Customize+the+Exim+System+Filter+File

Contact Us