How To Prevent Referrer Spam In Google Analytics

Referrer spam is a great headache for every Blogger. Almost every Blogger rely on Google Analytics to keep track of their visitors and user engagement on their blog. But, often Bloggers get confused while they see a lot of referral traffic from websites like, or even Actually, they are not at all real. Even I got affected with this weird issue and I figured a working method to exclude traffic coming from these sort of sites.

Recently, My Google Analytics account also got affected by Referral Spam issue. At that time, I was not able to get an accurate report about my blog stats. There were tons of Referrers from many popular domains like,, etc. They were all spam. It completely ruined my Analytics Data. Basically, Spammers send high volume to bot traffic with 100% rate to get the data ruined. There’s nothing wrong at your end, all we want to do is just a simple configuration in Google Analytics Web Property Admin Settings.

Learn How To Prevent Referrer Spam Issue In Google Analytics

But somehow, I finally managed to prevent those referrer Spam in my Google Analytics account. Now I’m sharing exactly what I did to get my Google Analytics Stats as normal. Now whenever I detect new spam, I simply go to my Filter tab and add new. That’s it, So Simple, Huh?

What Is Referrer Spam?

You might have noticed a tremendous increase in your Blog traffic from last few days. But do you think all of them are legit? Never. You will be very happy to see links to your blog from high authority websites life LifeHacker and TheNextWeb. But, this traffic is completely fake. They directly reach your Google analytics account without even visiting your blog. You may have noticed a higher bounce rate too, didn’t you?

Now let’s check how to fix Referrer Spam Issue in your Google Analytics account.

How To Prevent Google Analytics Referrer Spam?

I will try to make this guide as simple as possible. Follow the simple step-by-step guide mentioned below.

Step 1: Login to your Google Analytics account and make sure that you select your Website property.

Step 2: Go to Admin Tab

Step 3: Click on Filters menu from Admin Options.

Click on Filter option in Google Analytics Admin tab

Step 4: Click on “+Add Filters” button.

Add Filters

Step 5: Now you need to add filter information about the particular site you want to block.

For the sake of this tutorial, I’m taking as an example.

Step 6: Give your Filter a name in the Filter Name field, Choose Filter Type as “Campaign Source“, and type your target site URL in the “Filter Pattern” fields.

Type Filter Informations

Step 7: Now under Apply Filter to Views tab, click on All Web Site Data and simply click on Add button.(Do the same to add another Filter as well.)

Add Filter to All Website Data

That’s it. We have successfully created Filter for a particular website. Now referral data from that particular domain will be excluded from your final report. That means, Next onwards when you view your Analytics report, no data from these URL will be displayed.

Spammers use different websites for spamming your blog. So, they use different websites every time. So make sure that you create a new filter for every spam URL separately.

Block Common Spammers Using A Single Filter

You can also block common spammers using a single filter by adding a suitable filter pattern. If you have spam referrer from more than two or three Websites, you can use this method. Usually, spammers try using multiple websites to get your analytics data ruined. If you are having multiple such entries then be sure to use the template given below, to include all the URL/Domain in a single configuration.

First of all, Login to your Google Analytics account, select the web property and then move to Admin panel to find all the options. Once you are there on the Admin level page then follow the steps mentioned below. This is for blocking multiple websites without adding entries for each of them.

Step 1: Click on “+Add Filter“.

Step 2: Give a Filter a name, Select Filter Type as exclude and add the following pattern in the Filter Pattern field.


You can replace these phrases and website URLs with another.

Once Done, Simply click on the Save button and that’s it rest will be intelligently automated.

Common Spam Sites:

Below given are some websites used by spammers to send bot traffic. They completely fake the traffic and it ruins our GA stats completely. But, if you are legitimately getting traffic from these websites, by adding the filter, that traffic also disappears. So, be sure about what you are doing. If you are that concerned about the traffic from a specific website then I will suggest you to carefully inspect the referral tab to get more insights on the same.


These are the common high authority websites used by Hackers to spam your Google Analytics account.I will keep updating this article regularly with new Spam Sites.


Referrer Spam is quite common these days and a lot of website gets affected by this spamming technique. Spammers use high authority websites like Mashable, Techcrunch, etc to make referral visit to ruin your Google Analytics data. I got affected with this spamming technique and all my Analytics data was wrong for some period of time. I saw a sudden influx in the number of realtime users and at the end of the day when I checked my total pageviews and other matrics, I spotted something fishy. Then I went to the traffic source tab to see where am I getting these visits. Under the referrer traffic section, I saw a lot of high authority websites sending traffic to me. After doing a little bit of research I came to know about the exact issue and solved everything with the working method given below,

If you face with Referral Spam issue with your Google Analytics Account then be sure to follow the guide given above to block these spammers and get fresh untouched reports regarding your blog from Google Analytics.

Astro K Joseph
I am Astro and here at IPEE World I write about various Technology content including News, Guides, and Reviews