Exclude all Hits from Known Bots and Spiders in Google Analytics (Bot Filtering)

Bad bot traffic and spiders are a big issue for webmasters, website owners, and anyone responsible for keeping an eye on data measured by Google Analytics. Bots and spiders can mess up a website’s analytical data including the website’s bounce rate and everything else measured in the in Audience, Acquisition, and Behavior based reports. If bot traffic and spammy crawler bots are affecting your website’s analytical data measured by Google Analytics you may not have access to your website’s appropriate data.

Exclude all hits from known bots and spiders in Google Analytics

There are many ways to block bots and referrer spam in Google Analytics by creating exclude filters and using your .htacess file, and more. Google Analytics also has a Bot Filtering feature that allows you to exclude all hits from known bots and spiders in Google Analytics. The Bot Filtering feature and option to exclude all hits from known bots and spiders in Google Analytics is very simple to do.

How to Exclude all Hits from Known Bots and Spiders

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

2. In the “View” section on the right side of the page select the account you want to use or ensure that the account name is already visible.

exclude all hits from known bots and spiders

3. Click View Settings in the “View” section and scroll down to the Bot Filtering area.

bot filtering google analytics

4. In the Bot Filtering area check the box that says Exclude all hits from known bots and spiders and click the blue Save button below.

This will block known bots in Google Analytics and protect your data against bad bots and spiders.

  • Di

    Many thanks.

  • When testing the filter you made the result often shows 0 because GA tests over the past 7 days and not the actual date. Mind that when you install the filter.

  • thank you

  • Anonymous

    Useful information. My sites have been spammed frequently. Thanks for the detailed article!

  • Andrew Conant

    Very good info. I was spammed by the abcdef bot and googled the URL that came up (the lyrics to “Money”, by Pink Floyd). Which led me to your page. Good SEO work!