Referral Spam

Block Referral Spam

This page aims to help you block the referral spam in Google Analytics. In case you were wondering what is we are aiming to provide some clarity on the subject. The first thing you need to be aware of is this is heavily linked to the Google Analytics statistics. You don’t need to worry about it in any other case.

Block Referral Spam Referral Spam

If you are still reading this then we can safely assume you are amongst the affected Google Analytics users. referral spam is another one in the evolving Ghost Referral Scheme that has been plaguing user’s analytics pages recently. If you are a website owner and your site has been affected then you need to block the referral spam as soon as possible. A prolonged exposure might lead to completely compromised statistics for your web page. We are going to explain in detail how to block referral spam page in just a moment.

You have probably guessed it already but if not here it is – the traffic generated by that you see is not real, on the contrary it purpose is to attract your attention to it, so the previously mentioned inaccuracy in your page statistics is an unfortunate side effect. In fact if you have tried to open then you have seen that this webpage claims to be a “Cloud service for webmasters, SEO experts and business owners”. More likely though this is an affiliate site that monetizes on website linking. The bad news is you cannot remove it from your device as it is not connected to your browser whether it be Chrome, Firefox, IE or another in any way, contrary to some claims.

Ghost referral schemes and bot crawlers are an ever growing problem for analytics based websites and are especially active around periods of big promotion pushes – Christmas, New Year or in this case Black Friday, which is just around the corner. The reason is pretty obvious – consumers are more inclined to spend money around such promotion periods.

What is

The Google Analytics Spam issue is unfortunately becoming more and more common in recent times, a number of existing tools are out there to help users deal with this problem. You should be really aware what works and what not and avoid the less effective ones because you might involuntarily cause an even bigger issue. Some pointers:

  • Sever-side methods don’t usually work out too good. Wordpage plug-ins and Web-configing is all fine but it will not help you with blocking the incoming spam as it never actually accesses you webpage. All this additional code will make your site slower without any useful gain in return.
  • Blocking the referrals from reaching your website is not a perfect solution either. The spam will be redirected in such a scenario to direct traffic making it virtually impossible to discern what is real traffic and what is’s doing.

Our recommendation is something called an exclusion filter. Below we have detailed how to set one up. Feel free to thank us later.

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