Referral Spam

Block Referral Spam in Google Analytics

This page aims to help you block the referral spam in Google Analytics. We are looking to provide more information about what is in the likely scenario you were wondering as well as provide detailed information how to deal with it. The first thing you should know is this is not a computer virus, this is only affecting the statistics of your Google Analytics web page. This is the only case you should be worried about referral spam. redirect redirect

If you are reading this you have probably noticed the unrealistically large amount of referrals stemming from when checking the statistics of your Google Analytics web page. If you have gone to looking it up and trying to open that you have noticed that instead you are being redirected to the web site shown in the above photo –

Make no mistake, these referrals have no real connection to your site and probably have a very high bounce rate. Unfortunately this may have a big impact upon your analytics page’s accuracy if not taken care of for a prolonged period of time. We will show you how to remedy this situation in a moment, in the meantime learn more about this ever increasing problem, it is very likely that this will not be the last time you will have to deal with referral spam.

Back to the topic of the unexpected redirect to, the reason behind all this is is basically creating redirect traffic for, so that the website in question can be promoted on the cheap. The bad news for you is your Goggle Analytics are getting messed with as a byproduct of this marketing trick. You can’t possible remove it as it is not strictly connected to your Chrome, Firefox or whatever else web browser, contrary to some user’s belief.

Whether you are dealing with Both Crawlers or Ghost Referrals Spam which is in fact the more aggressive of the two you will be facing the increasingly troublesome problems for Analytics based pages, especially active around promotion of consumer goods periods like Christmas, New Year, Easter or Black Friday.

What is

In recent times a significant uptick in Google Analytics Spam can be undoubtedly observed. Of course this also means a number of tools have been developed to deal with these issues but in all fairness most of them don’t really provide satisfying results. In order to avoid the ones that might cause a bigger problem than the already existing we have complied a list of some pointers for you:

  • Blocking the referrals spam from reaching your page is not a solution to your issue, the spam will be just redirected to direct traffic this making it nearly impossible to determine what is real traffic and what is a result of’s ministrations.
  • Server side solutions are not perfect as well. Wordpage plug-ins and Web-configing are possible choices in the matter but they will not help you with the problem of stopping the incoming spam as it never really reaches your domain. All the additional vode might have an adverse effect in slowing down your web page.

We believe the best solution for is is the so called exclusion filter. Look below for detailed information on how to implement it.


Remove referral spam

STEP 1: In your Analytics account go to Admin, then All Filters.

pic 1(1)

STEP 2: Next, click New Filter and add in the Filter Name value.

STEP 3. Select the Custom Filter Type.  In Filter Field, find and select Campaign Source in the list. In the Filter Pattern text box, add and click the Save button at the bottom of the webpage.

Pic 2(1)

Blocking referrer spam through .htaccess

If you know how to access your .htaccess file, you just need to input the following code in there:

RewriteCond %{HTTP_REFERER} [NC,OR]
RewriteCond %{HTTP_REFERER}
RewriteRule .* - [F]

If you don’t know how to access it, you need to do the following:

Login to your cPanel account, then click on the File Manager icon, then search around and click the check-box called “Document Root for” and click on your website. A side note: click on “Show hidden Files” and then Go. Then simply find the .htacess file in the list, right click on it and choose Code Edit (and again click edit if you are asked). From then on input the code I already gave you and Save Changes. Check if everything works properly and when you are sure, click close.

Remember to leave us a comment if you run into any trouble!

Did we help you? Please, consider helping us by spreading the word!

Leave a Comment