I have been doing several analytics and tracking audits lately for some large sites, and one method that I use to track traffic is to filter out all external traffic, and only include my own traffic. This lets me:

  1. Have clean data to work with
  2. Have agile testing environment
  3. Not interfere with other Google Analytics profile goals

Here are the steps for creating a view that only shows your traffic in Google Analytics:

1) Find your IP address

This is as simple as typing “my ip” into Google.

Find Your IP Address

Find Your IP Address

Keep in mind that you may have a range of IP addresses that are assigned to you, but for this tutorial we will assume that it is the same (static).

2) Filter yourself from the other Views in Google Analytics

Take the IP address and add a new filter to any view that is used for ongoing tracking. This will prevent skewing of data, and will not record goals against those profiles. To create a basic self filter, click “New Filter” under the “Filters” section in the View of choice:

new analytics filter

Then  add a filter name (it helps to add the location that the audit is taking place at). Select “Custom” under Filter Type. Choose “IP Address” under the Filter Field. For the Filter Pattern, add your IP address. Keep in mind that RegEx is used for characters, so you need to backslash out the periods of your IP address. So if Google told you you IP address is:

You would enter:


Here is an example of what it would look like:

Filter Self From Analytics

3) Create Testing View

The next step is to create a new View under the main Analytics Property strictly for testing. Once this is created, you will want to do the opposite of the other filter that you created, and make a new filter under the testing View that only shows your IP address traffic. This filter will include your IP address:

IP Address in Analytics


In this example I used the star instead of the last 2 digits. This can be used if your IP address is not static, and has a very limited range (common in shared spaces)

4) Use Google Analytics Real Time Overview

Google Analytic’s Real Time feature gives a live view of your traffic, and if everything was configured correctly, you will see your traffic pop u pon the graphs! (This feels good, trust me).

Google Analytics Real Time

Have you set up a custom filter for your own testing purposes? How did it work?