How To Exclude Ip In Google Analytics

Google Analytics is a powerful tool for tracking website traffic and user behavior. However, sometimes you may want to exclude certain IP addresses from your analytics data. This can be useful if you have internal staff or bots that are accessing your site frequently, which can skew your data. In this article, we will explain how to exclude IP addresses in Google Analytics.

Step 1: Log in to Google Analytics

The first step is to log in to your Google Analytics account. Once you are logged in, navigate to the property that you want to edit. Click on the gear icon in the top right corner of the screen and select “Property Settings” from the drop-down menu.

Step 2: Navigate to the Exclusion Section

In the Property Settings page, scroll down to the “Exclusion” section. This is where you can exclude IP addresses and other types of traffic from your analytics data. Click on the “New Filter” button to create a new exclusion filter.

Step 3: Create a New Exclusion Filter

In the “Filter Name” field, give your new filter a descriptive name that will help you remember what it does. In the “Filter Pattern” field, enter the IP address or range of IP addresses that you want to exclude from your analytics data. You can also use regular expressions to create more complex filters.

Step 4: Save Your Changes

Once you have created your new exclusion filter, click on the “Save” button to save your changes. It may take a few minutes for your changes to take effect, but once they do, any traffic from the IP addresses that you excluded will no longer be included in your analytics data.


Excluding IP addresses in Google Analytics is a simple process that can help you get more accurate and useful data about your website traffic. By following the steps outlined in this article, you can easily create exclusion filters to remove unwanted traffic from your analytics data.