How to create Filters in Google Analytics with 2 simple ways ?

How to create Filters in Google Analytics with 2 simple ways ?

Let me start with a scenario which is faced by most of us in the past or even now.

Your whole web development and digital marketing team is working on optimizing your company website, fixing the errors, changing the content or any related works. Out of nowhere, you see rapid increase in number of visitors, goals and other dimension metrics. With complete surprise you look at the reports and it does not seem quite right. 

Has it ever happened to you?

If it did, don’t worry. We will help you fix it. And it is very simple.

All you need to do is exclude your team’s IP addresses from the Google Analytics data accumulation. As a result, whatever your team does on the website would not be considered by Google Analytics. Due to which your data will remain legitimate and clean. However we can not alter already collected data or past data in Google Analytics. 

What are Google Analytics Filters ? 

Analytics They are one of the most useful feature of Google Analytics, to help you you collect the valid data. You can use these filters to include or exclude or block the traffic from certain IP addresses or ISP domains. Also traffic to any of your website subdirectories ( pages) or hostnames.

How do I achieve this ?

This can be achieved in any of the 2 ways explained below.

You can either add these filters to multiple view at once or add them separately to each view

  • Add Filters to Single View

Click on the Admin icon at the left bottom of your screen on the Navigation Menu.

Once the settings show the options, from the View Settings (rightmost column) select the view, to which the filter needs to be added. Then Click on Filters.

The Filter menu has the following options: 

Fill the name for your filter.

You can either choose the predefined or use a custom as type to create a filter.

Custom settings gives to control over creating filters on categories like Content, Traffic, Campaigns, Ad-Groups, E-Commerce, Audience, Location, Event, Applications, Device, Custom etc.

Where as in predefined lets to include or exclude traffic based on 

  1. Traffic from ISP Domain
  2. Traffic from the IP Addresses
  3. Traffic to the Subdirectories
  4. Traffic to the Hostname

 Find your current IP by searching “what is my ip” in Google search.

Add the required details based on the type you have chosen from above. Few of the types let you verify the validity of the filter instantly and others don’t.

Once you verify, click on Save.

Now the filter will be applied for the selected view.

  • Add Google Analytics Filters to Multiple Views at once.

Click on the Admin icon from the navigation menu as shown earlier.

Now choose the Account Settings ( the first column).

Click on Add Filter, and set up the filter according to your requirement. All the above mentioned options will be available here as well.

Once you enter all the details, select and Add the required views to which the filter needs to be applied.

Click on Save.

Well done!

You have learnt to create filters now. It was easy right! Great!

Things to keep in mind


IP addresses keep changing with location or the Internet type (lease line, Wi-Fi, mobile network etc.)  that you use. Hence the filters hold good only when you have a fixed IP. 

Leave a Reply