Block Referral in Google Analytics

The reputation of several reputable web hosting websites is under attack by referrer spammers and might be one of them. I have never heard of before so I am unaware how popular or unpopular they are. Others web hosting companies that are under attack by referrer spammers include,,, and a few others. Referrer spammers have been trying to put a dent in the reputation of possible competitors by spamming fake referral traffic of well-established web hosting providers into people’s Google Analytics reports. If your Google Analytics account has been targeted by referrer spammers at random you will notice an increase in referral traffic from and other web hosting related websites. referral

Referrer spam is usually designed to promote a website spammers want you to visit. They will mix fraudulent web data into your Google Analytics reports in order to get your attention and persuade you to visit their websites. However, sometimes referrer spam and things like Google bombing are done to hurt the reputation of competition. This is the case here. Web hosting companies like Hostgator (which we use) and Site5 have absolutely no purpose to spam Google Analytics reports. They are well established web hosting companies. spam google analytics

Referrer spam is essentially harmless to your website but it can ruin your real Google Analytics data. For example, it can negatively affect your bounce rate because the spam URL will appear to land on a single webpage on your website and leave your website from the same webpage. This will create a 100% rate and if this occurs numerous times each day your bounce rate can be very high. referral traffic does not actually land on your website. It is a type of traffic called ghost traffic that simply sets aim at your Google Analytics account and random websites across the world.

Block referral in Google Analytics

This guide will help you block referral traffic in Google Analytics by creating an exclude filter that stops referrer spam at the campaign source.

1. Open your Google Analytics account and go to the Admin tab and click All Filters.

add filter

2. Click the ADD FILTER button to create a new exclude filter.

block referrer spam

3. Add or something you can easily remember as the Filter Name.

4. Select the Custom Filter Type.

block referrer spam google analytics

5. In Filter Field, find and select Campaign Source in the list. In the Filter Pattern text box, add and click the blue Save button on the bottom of the webpage. To add multiple URLs to the same filter you can make a Filter Pattern similar to this with a | between each URL: |

Also See: How to exclude all hits from known bots and spiders in Google Analytics (Bot Filtering)

Sean Doyle

Sean Doyle is an engineer from Los Angeles, California. Sean's primary focuses include Internet Security, Web Spam, and Online Marketing.

Comment ( 1 )

  1. ReplyFred Harrington
    Thanks Sean, this came in handy today!