How to Exclude your Own Visits from Google Analytics

How to Exclude your Own Visits from Google Analytics

One of our users asked for a way to exclude the visits that his employees make to his website from Google Analytics.

In this tutorial, I'm going to show you how to add a filter to exclude visits from Google Analytics based on your IP address.

Step #1. Log in

How to Exclude your Own Visits from Google Analytics

Step #2. Add a filter

Select your site. In my example I'm choosing my personal website:

How to Exclude your Own Visits from Google Analytics
  1. Admin
  2. All filters
  3. Add filter
How to Exclude your Own Visits from Google Analytics
  1. Set a Filter name
  2. In Filter type choose "Predefined"
  3. Select "Exclude"
  4. In Select source or destination choose "traffic from the IP addresses"
  5. Select expression: "that are equal to"
  6. Type your ip address. An easy way to know your IP is by going to the "What is my IP" site.
How to Exclude your Own Visits from Google Analytics
  • In Apply Filter to Views, select "All web site data"
  • Add to move to "Selected views" area:
How to Exclude your Own Visits from Google Analytics
  • Click Save when you're done.
  • Repeat the process to create a new filter for other IP addresses.

One thing to note is that this solution is better for large offices with a static IP address. If you are working from home, your IP address may change regularly. In that case, try getting a WordPress plugin, Drupal module or Joomla extension that will exclude your administrator visits.


About the author

Valentín creates beautiful designs from amongst the tequila plants of Jalisco, Mexico. You can see Valentín's design work all over this site and you can often find him helping members in support.