Exclude Filters: Removing Spam, Bots, and Unwanted Traffic

Learn how to exclude spam, bots, and unwanted traffic from your analytics so you measure real visitor behavior.

Draft

Your analytics shows traffic that isn't real. Bot traffic clicking random links. Scrapers downloading your content. Spam referrals from shady websites. These visits look like real traffic but they're noise. They inflate your metrics. They make your conversion rate look worse. Exclude filters remove this noise. You identify unwanted traffic and exclude it from your reports. Real visitor data becomes cleaner. Your metrics become more accurate.

This article explains how to set up exclude filters that remove spam, bots, and unwanted traffic.

What Is Unwanted Traffic

Unwanted traffic includes bots, scrapers, and automated tools that visit your site without real human intent. Bots from search engines crawl your site. That's fine. But malicious bots scrape your content. That's unwanted.

Spam referral traffic comes from websites trying to get backlinks or referral credit. These sites send small amounts of traffic to thousands of websites. The traffic appears in your referral reports but it's not real.

Some traffic comes from old tools and scripts you're no longer using. An old internal tool that sent data to your site. A script that's no longer maintained. This legacy traffic is noise.

Identify Spam Referral Traffic

Look at your referral reports. You see traffic from websites you don't recognize. Websites with generic names. Websites that don't fit your industry. This is likely spam.

Click through to see what these referrers look like. Do they have meaningful websites? Or are they spam sites sending traffic to thousands of sites? Real referral partners have real websites. Spam comes from sites with no real content.

Document spam referrers. Keep a list. When you see a new spam referrer, add it to your exclude filter.

Set Up Spam Filters

Most analytics platforms have built-in spam filters. Enable them. These filters use known spam lists and block traffic from known spam sources automatically.

Built-in filters catch common spam. But new spam emerges constantly. Create custom filters for spam you discover. Filter by referrer URL. Exclude specific referrer sources.

Test your filters. After excluding a referrer, check that traffic from that source is gone. If it's still appearing, your filter might not be configured correctly.

Filter Bot Traffic

Your analytics platform filters some bots automatically. Google Analytics filters known bot traffic. But not all bots are filtered.

Look for traffic from tools and services. Traffic from SEO tools. Traffic from price comparison tools. Traffic from vulnerability scanners. These aren't real visitors.

Create exclude filters for bot traffic. Filter by user agent if you can identify the bot. Filter by IP if the bot always comes from the same source. Keep your filter list updated.

Exclude Internal Tools and Legacy Traffic

You might have internal tools that send traffic to your site. Monitoring scripts. Health check services. Automated testing tools. These aren't real visitor traffic.

Identify these tools. Get their IP addresses or user agents. Exclude them from your main reports. Create a separate view for internal tool traffic if you want to monitor them.

Be Careful With Exclude Filters

Exclude filters are permanent. Once you exclude traffic, it's gone from all views. You can't get it back. Be careful what you exclude.

Before excluding, verify the traffic is really unwanted. Look at the actual traffic. Is it bots? Is it spam? Or is it real traffic you're mistaken about? Only exclude when you're confident.

Keep a record of what you excluded and why. "Excluded example.com because referral traffic was spam." Documentation helps you remember your decisions.

Review Exclude Filters Regularly

Spam changes. New spam emerges. Old spam disappears. Review your exclude filters quarterly. Are the old spam sources still sending traffic? Probably not. Remove old filters. Add new spam as you discover it.

As your exclude filter list grows, it becomes harder to manage. Periodically clean it up. Remove filters for spam that no longer appears.

Frequently asked questions

How do we know if traffic is spam or real?

Look at the traffic pattern. Real traffic has variety. Spam comes in waves. Look at behavior. Real visitors browse your site. Spam bounces immediately. Look at the referrer. Real referrers are real websites. Spam referrers are shady. With WEMASY's website builder, you can set this up directly on your website.

We excluded traffic by mistake. Can we get it back?

You can't recover excluded traffic. That's why exclude filters are dangerous. Before excluding, be absolutely sure. If you made a mistake, remove the filter and data going forward won't be excluded. Historical data is gone.

Should we exclude all bot traffic?

No. Some bots are useful. Search engine bots. Monitoring tools that check your site. Exclude only bots that are clearly spam or noise. Legitimate tools are fine to measure.

We keep getting spam from new referrers. How do we stop it?

You can't stop it completely. New spam emerges constantly. Keep adding to your exclude filter as new spam appears. Stay vigilant. Review reports regularly for new spam.

Our platform's spam filter catches some spam. Should we also create custom filters?

Yes. Built-in filters catch common spam. But custom filters catch spam unique to your business. Use both. Platform filters handle the bulk. Custom filters handle your specific spam.

We excluded a referrer but traffic from it still appears. Why?

Your filter might not be configured correctly. Check the filter criteria. Are you filtering by the right field? Is the syntax correct? Test the filter by looking at reports after the filter is applied.

Put it to work
on your own website.

Start free with WEMASY and build your site in a few minutes.