How to block referrer spam

Referrer spam is a blackhat SEO tactic that allows spammers to promote their websites, web content, programs, and services by mixing useless referrer information into their target’s Google Analytics data.

What is is a referrer spam URL that shows up as referral or direct traffic in Google Analytics data.

Referrer spam from this URL can ruin your website’s analytical data provided by Google Analytics. For example, referral traffic usually lands on a single webpage on your website and leaves from the same website; creating a 100% bounce rate. Web traffic from can appear from a variety of source locations around the globe and can hit your website with referral traffic spam multiple times daily.

How to block referrer spam

To block referrer spam in your Google Analytics account Google recommends to create an exclude filter to stop referrals at the campaign source. This guide shows you how to do that.

How to block referrer spam in Google Analytics

You can block referral traffic in Google Analytics by creating an exclude filter.

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

referrer spam block

2. Under the account section click All Filters.

3. Click the + ADD FILTER button.

block referrer spam google analytics

4. Put the referrer spam website URL as a name for the Filter.

block referrer spam

5. Select Filter Type Custom. In Filter Field, find and select Campaign Source. In the Filter Pattern text box, write the referrer spam website URL and click the Save button on the bottom of the page.

One comment(s) on “How to block referrer spam

Add a comment