How To Filter In Google Analytics

Google Analytics offers insightful metrics regarding the efficiency of your website. However, there may be instances where it’s necessary to eliminate specific data to gain a clearer understanding of your site’s activity. In this article, we’ll guide you on how to implement filters in Google Analytics and give examples of scenarios where filtering might be beneficial.

What is Filtering?

Filtering in Google Analytics allows you to exclude or include specific data from your reports. This can be useful if you want to focus on a particular segment of your audience, or if you want to remove spam traffic from your reports.

How to Create a Filter

To create a filter in Google Analytics, follow these steps:

  1. Log in to your Google Analytics account and navigate to the view you want to apply the filter to.
  2. Click on the “Filters” tab in the left-hand navigation bar.
  3. Click on the “Create New Filter” button.
  4. Enter a name for your filter and select the type of filter you want to create. There are several types of filters available, including include, exclude, and advanced filters.
  5. Configure the settings for your filter based on the type you selected. For example, if you’re creating an exclude filter, you might enter a specific IP address or hostname that you want to exclude from your reports.
  6. Click “Save” to apply your filter to your view.

Examples of When to Use Filters

There are several situations where you might want to use filters in Google Analytics. Here are a few examples:

  • Excluding spam traffic from your reports.
  • Focusing on a specific segment of your audience, such as mobile users or visitors from a particular country.
  • Removing internal traffic from your reports to get a more accurate picture of how many people are visiting your site.


Filtering in Google Analytics is a powerful tool that can help you get more accurate insights into your website’s performance. By following the steps outlined above, you can create filters to exclude or include specific data from your reports. Use filters wisely and you’ll be able to make better decisions about how to optimize your site for your audience.