Exclude all hits from known bots and spiders in Google Analytics

Bot filtering


Learn what bot filtering is and how to exclude all hits from known bots and spiders in Google Analytics.

What is bot filtering?


Bot filtering allows you to disable traffic from bad bots and spiders that can show false information in the Google Analytics data of your websites. Traffic from bad bots 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 virtually corrupt a website’s analytical data including the website’s bounce rate and everything else measured in Real-Time, Audience, Acquisition, and Behavior 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. 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 hits from 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 and spiders in Google Analytics and protect your data against bad bots and spiders.

Sean Doyle

Sean Doyle is an experienced tech author with experience in cybersecurity, privacy, malware, and more. He has written for numerous online publications.