There’s little doubt that Google Analytics is the most comprehensive software for analyzing your website traffic. Since you likely visit your own website regularly, it’s important to exclude yourself from this data so you don’t wind up with a bunch of skewed data.
Here we are going to cover two common ways to exclude yourself from your own data: Block the Analytics tracking code with a browser extension, or create an IP address filter.
Method 1: Using a Browser Extension
Block Yourself from Analytics
If you don’t mind being included in Analytics data, and only want to exclude yourself from your own website data (this is what we use and recommend), Block Yourself from Analytics is likely the best option for you.
This extension lets you choose which websites you want to exclude yourself from. For instance, you can set it to block yourself only from your website to avoid false statistics, while allowing other websites to include you in theirs.
Google Analytics Opt-Out Add-On (by Google)
But, if for some reason, you don’t want to be included in anyone’s Analytics data, the official Google Analytics Opt-Out Add-On is probably the best choice. This extension will disable Google Analytics for ALL websites, not just the ones you choose.
Method 2: Using an IP Address Filter
Before we get started with creating our filter we have a little housekeeping to do.
This method is only reliable if you have a static IP address. And unless you’ve contacted your ISP and requested a static IP address, your IP address is almost certainly dynamic. This means it periodically changes.
Any time your IP address changes, the filter no longer works. So if you have a dynamic IP address, we recommend using the browser extension method covered below.
The filter method also won’t work if you access your site from a different internet connection unless you create a filter for that IP address as well.
Now that we’ve got that out of the way, let’s get started.
Creating the IP Address Filter in Google Analytics
Follow these simple steps and you’ll be well on your way to more accurate Analytics data.
- Begin by creating a new filter for your view or account.
- Enter a name for your filter in the Filter Name field.
Predefinedselected as the Filter Type.
Excludefrom the Select filter type drop-down menu.
traffic from the IP addressesfrom the Select source or destination drop-down menu.
that are equal tofrom the Select expression drop-down menu.
- Enter your IP address (
22.214.171.124) in the field provided.
- Save the filter.
For more in depth filters, including how to exclude a subnet of IP addresses or how to use regular expressions for more complex filters, refer to the Google Analytics Help article entitled Exclude internal traffic.