• Menu
  • Skip to right header navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Spectrum Group Online

Decisions Made with Data.

  • Services
    • Digital Marketing
    • SEO
    • Google Analytics
    • Pay Per Click
    • WordPress Websites
  • Pricing
  • About
    • Our Difference
    • Who We Are
    • Client Testimonials
    • Case Studies
    • Certifications
    • Contact Us
  • Resources
    • Blog
    • eBooks
    • Tools We Use
  • Free Strategy Call
  • Services
    • Digital Marketing
    • SEO
    • Google Analytics
    • Pay Per Click
    • WordPress Websites
  • Pricing
  • About
    • Our Difference
    • Who We Are
    • Client Testimonials
    • Case Studies
    • Certifications
    • Contact Us
  • Resources
    • Blog
    • eBooks
    • Tools We Use
  • Free Strategy Call

Filtering Referral Spam From Your Google Analytics

August 10, 2016 //  by Massimo Paolini//  1 Comment

Updated January 12, 2023

Reading Time: 2 minutes

Can’t See the Forest Through the Trees

Recently we wrote about referral spam, where we explained how you can stop spammers from clogging up your website’s data. Today we’re going to explain how to start filtering referral spam from your Google Analytics, giving you a clearer picture of your website’s performance.

Download your FREE Website Checklist

As mentioned in part 1, referral spam is a tactic that spammers use to drive traffic to their own website by sending bogus traffic via bots to your website. While referrer spam doesn’t hurt your SEO per se, it is bad for your Google Analytics for several reasons. Most importantly, it confuses or dilutes your website data. If you think you’re getting 1000 visitors a month, but 80% are actually spam, you can jump to all kinds of wrong conclusions.

So, how do you clean up your Google Analytics so you can see the real referrals you’re getting?

Unfortunately, this process isn’t as simple as clicking a button. So here’s our step-by-step guide on removing referral spam from the rest of your statistics.

  1. First, sign into your Google Analytics account. Then navigate to the Admin panel, and select Segments. Once there, you will need to create a new segment. We suggest you call it something like “Referral Spam Segment 1” so you remember what the segment filters out.
  2. Once you’ve created a new segment, copy all of the URLs you excluded (refer to our previous post) from referring traffic to your website.  To do this you need to go to Advanced, then Conditions. The first step will be to change the “Include” to “Exclude” to eliminate the fake sessions from your current data. Then, choose Source from the drop-down menu and make sure the next dropdown is showing Contains. Then you can enter your URL in the space provided.
  3. After entering the first URL you want to exclude, you need to make sure you press the OR button below. Doing so ensures that you are excluding all of the referrer spam URLs.
  4. Once you have excluded 20 URLs, you will need to create a new filter. To do that you simply hit the +Add Filter button and repeat the process from step 2 – 4.
  5. Continue the process until there are no more spam URLs to add.

Filtering Referral Spam Moving Forward

Now that you’ve added all your referral spam URLs, your Google Analytics data moving forward will be clean when you use the newly created segment. Try it now. Go to the top part of the screen and add the “Referral Spam” segment along the “All Users”. You should see fewer sessions in the filtered data.

Unfortunately, there isn’t a way to delete the bogus data from previous time periods. We suggest that you monitor spam referral traffic often — ideally monthly and at least quarterly — and add a filter.

Is your Google Analytics data plagued with referrer spam?

Category: Web Analytics// Author: Massimo Paolini

About Massimo Paolini

Massimo is Co-CEO and Chief Data Scientist. On the web since the 90’s and a Google Partner since 2014, his expertise includes technical SEO, search marketing, marketing analytics/analysis, and online advertising. Massimo has an innate ability to sift through a sea of data, uncovering insights that formulate results-oriented strategies. He has taught Digital Marketing, Google Ads and SEO at UC Berkeley Extension since 2014—and presented at international search marketing conferences like SMXL in Milan.

Previous Post: « Google Map’s New Companion
Next Post: Say Goodbye to Converted Clicks. Say Hello to Conversions »

Reader Interactions

Comments

  1. Cara

    October 3, 2018 at 6:21 pm

    This article will help the internet users for setting up new website or even a
    blog from start to end.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Categories

  • Case Studies
  • News & Events
  • PPC
  • Sales
  • SEO
    • Content
    • Links
    • Local SEO
    • Schema
  • Social Media
  • Web Analytics
  • Web Design

Most Relevant

4 Tools for Effective SEO Link Building

10 Tips to Create Great Customer Testimonials

Basics of SEO

How to Interview a Website Designer or Developer

Blog Marketing: 10 Sources for Inspiration

Footer

Spectrum Group Online

About Us
Certifications
Contact Us

[email protected]
(408) 675-0330
San Jose, CA 95129

Founded by Massimo Paolini and Alyson Harrold in 2011

Stay On Top Of Your Game

Digital Marketing never stands still. Keep up with the latest online marketing trends, sign up for our monthly newsletter. We promise no SPAM and no sales pitches.

Privacy*
Privacy
This field is for validation purposes and should be left unchanged.

Twitter LinkedIn Facebook Instagram YouTube

Copyright © 2025 Spectrum Group Online, LLC | All rights reserved | Privacy Policy | Site Map

Tell us about yourself.

Step 1 of 3

33%
Which option best describes you?(Required)
How many full-time employees does your company have?(Required)
What is your company's annual revenue?(Required)
This field is for validation purposes and should be left unchanged.