How to Exclude Your IP Address From Tracking Events in Google Analytics

If you are seeing inaccurate results in Google Analytics due to your own visits to your website you can ignore Events triggered from your IP address.

In this article, you’ll learn how to exclude your own IP address from results in your Google Analytics account.

Before You Start

Here are some things to know before you begin:

Exclude IP Address

To exclude your IP Address from Google Analytics Events, follow these steps:

  1. Log into your Google Analytics account and navigate to the Admin.
  2. Under the Account column select the All Filters option.
  3. Next, select the + ADD FILTER button.
  4. On the next screen, configure your filter as follows:
    • Enter a name for the filter. I named my filter “Filter Out My IP Address”
    • Leave the Filter Type as Predefined
    • Click the Select filter type drop-down menu and select Exclude
    • Click the Select source or destination drop-down menu and select traffic from the IP addresses.
    • Click the Select expression drop-down menu and select that are equal to.
    • Enter your IP address in the text field.

  5. When you’re finished, click Save.
  6. Follow Google’s Guide here where it says “Make sure the filter works” to confirm your filter is working as expected.

Troubleshooting

How can I find my IP Address?

You can find the public IP address you are currently using by searching “what is my ip address ipv4” on google.com. You can find out what IP addresses and subnets your company uses by asking your network administrator.

In this article we are using the IPv4 address (or Internet Protocol Version 4) which is the shorter, more common form of IP address. The longer IPv6 address can also be used with Google Analytics.
Can I exclude multiple IP addresses?

If you have multiple IP addresses or subnets to exclude, you can either specify multiple addresses in a single filter or else make more than one filter. As with all filters, make sure the conditions you specify don’t interfere with or contradict each other.