How To: Remove Spam Referrals From Analytics

 As a web development agency that looks after many of our client’s websites, the recent upturn in spam referrals showing up all over Google Analytics has become a real pain in our ass!

Not sure what spam referrals are? Read this more in-depth post by the good guys at Moz.

Needless to say, we’ve contacted Google about the issue but we assume they will already know and be working on a solution.

In the meantime, there is a workaround..

  1. Log into Google Analytics
  2. Open the property for which you want to filter the spam
  3. Click Admin
  4. Under ‘Account’, click All Filters
  5. Click +Add Filter
  6. Give your filter a name, we simply use the URL of the referral we are blocking e.g.
  7. Under ‘Filter Type’ choose Predefined
  8. For the next 3 options, choose
    a. ‘Exclude’
    b. ‘traffic to the hostname’
    c. ‘that contain’
  9. Under ‘Hostname’ enter the spam referral you wish to block e.g.
  10. Ensure your domain is in the ‘Selected Views’ box on the right
  11. Finally click Save

Your filter should look something like this:

Google Analytics

Unfortunately there is currently no way of doing this in bulk so you will need to repeat the above process for each referrer you wish to block. 🙁   Enjoy this? Get digital marketing and entrepreneurship advice straight to your inbox!  

Share this article

Let's work together

Your website could be your strongest business asset.

We create results driven websites which work for you.

Call us on 01491 412 857 or email [email protected]