How to Filter IPs in Google Analytics

Table of Contents

You and your team will be visiting your website constantly. Whether it’s for updates, to check content changes, or just to admire the design, your team’s IP addresses are being counted as page hits to Google Analytics. Learning how to filter IPs in Google Analytics properly is a great way to reveal the actual metrics of your site’s views.

1. Create a New View

It’s important that any filters you add to Google Analytics be kept in it’s own View. This allows you to see the original raw data, organize different filters to view subsets, and test new filters to see if they break everything while leaving your data in tact.

Creating a new View is simple. Login to Google Analytics, navigate to the Admin screen, and click the ‘All Website Data’ dropdown in the right-most column (the View column). Click ‘Create new view’ to get started.

how to filter ips google analytics

On the View page simply name your View in a way that describes the filters and click ‘Create View’.

how to filter ips google analytics

You can now select the new View from the View column dropdown on the Admin screen below All Website Data.

2. Add New Filter to the New View

From the Admin screen, select your new View and click the Filters menu item below it.

how to filter ips google analytics

On the Filters page, click ‘+ New Filter’ and you can begin to add your first IP filter.

filter ips google analytics

In the above example, notice I’ve chosen a specific set of options.

  1. Create New Filter (you can reuse old filters if you have them)
  2. Filter Name (a filter should be conveniently named)
  3. Filter Type: Predefined (Google has IP address exclusions as a predefined option)
  4. Filter Type: Exclude (you want to exclude any views from this filter)
  5. Filter Type: traffic from the IP addresses (you want the view to filter IP’s)
  6. Filter Type: that are equal to (you know the IP addresses)
  7. IP address (fill in the IP addresses separated by commas)

Protip: Include a set of IP’s only specific to one location (or person) so you can add and remove filters without scrolling through tons of IP’s in that tiny box. Ex: James’ Home IP.

Save the Filter and the IP filter will begin.

filter ips google analytics

Naturally there are other advanced options to filter bulk IP’s, but this the basic way to filter known IP addresses.

3. Changing the View

You can now switch between All Web Site Data and your new View by clicking the dropdown in the top right of your site.

filter ips google analytics

Any Views you create in the future will be accessible here as well.

filter ips google analytics

The Drawback

Now that you know how to filter IPs in Google Analytics, you should be aware of a technicality. IP filters only work on new data. The new filter will only apply to data starting on the day you created it, which can be annoying because there is no way to filter the old data once it’s saved. Better late then never!

Interested in Google Analytics? Check out our Beginners Guide to Google Analytics series to get a glimpse into the best visitor tracking system on the market.


Share with your Friends!
Keep up with Us!
Be the first to read our next post
This field is for validation purposes and should be left unchanged.


Popular Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

You give us just an email. We'll give you the latest Nuts & Bolts on online marketing, PPC advertising, SEO, & web development.

This field is for validation purposes and should be left unchanged.

Discover how we can help your business grow

We’ll get back to you within a day to schedule a quick strategy call. We can also communicate over email if that’s easier for you.

"*" indicates required fields

This field is for validation purposes and should be left unchanged.