Superfast IT Blog | IT Support & Cyber Security

How to exclude your own views (IP address) from Google Analytics

Written by Alex Newton | 14-Nov-2017 10:56:30

Have you ever looked at your Google Analytics and thought the stats aren’t quite right?

Google Analytics is a fantastic way to track your website views and stats. You can see a wealth of different statistics and gain a real insight into the people that visit your website. It’s free and easy to set up, but unless you tell it otherwise, it will count your page views and visits to your site statistics.

 

The problem with counting your own website views

We all want more traffic to our websites. But we also need Google Analytics (GA) stats to be legitimate, with an accurate reflection of how your website is really performing. If you have a single visitor stay on your website for four hours, could it be your Marketing Assistant? Internal traffic can heavily disrupt mean and average data.

By counting website internal traffic, website statistics will be inaccurate. To avoid this, you must block your IP address from being included in your Google Analytics.

 

What is an IP address and how does it affect Google Analytics?

IP is an abbreviation for 'Internet protocol'. Your IP address is an identifier for your computer or laptop, network and location. Think of it as a unique address that helps us communicate with the rest of the internet. Just like your home postal address, the websites you visit need to know where to send their data/information so you can view their website. 

We can tell Google Analytics to ignore the data from certain IP addresses. Your office will have an IP address.

💡 TOP TIP: If your team is regularly visiting your website while remote working - based at home, then it is worth adding their IP address to the 'blocked list' too.

 

How do you block your IP address from Google Analytics?

There are two ways to exclude your IP address from Google Analytics. It can be done inside Google Analytics when you are logged in or via a Chrome extension. Both have pros and cons.

 

Remove/block/exclude your own views (IP address) inside Google Analytics

1. Find the IP address you want to block

Before your start, you must find the IP address you want to block. To find your IP address simply Google search 'What is my IP address?'

Your public IP address will appear at the top of the page and consists of a series of numbers and dots. Copy this number.

 

2. Find admin panel in Google Analytics

Log into Google Analytic. Open the Admin tab, found on the bottom left-hand-side of the screen.

💡TOP TIP: Make sure you have the correct account selected.

3. Select 'Add filter'

If you have more than one account, click on ‘All Filters’ option and then select ‘Add Filter'


4. Name your filter

Give your filter a name. We recommend something such as ‘my IP address.’

 

5. Select 'exclude' in filter type

Under filter type, pick custom then select ‘exclude’ and open the drop-down menu. If you type ‘IP’ you will have the option to choose IP address:

 

6. Enter IP address in Filter pattern

Under ‘Filter Pattern’ type in your IP address that you found earlier. We have used an example IP address:

 

7. Select what you want to filter

You then need to choose what view you want the filter to apply to. In most cases, you will want the ‘Master’ view in the ‘Selected Views’ column. This will apply to all your Google Analytics tracking;

 

8. Save

Click save and hey presto! Google Analytics will now exclude your IP address from the stats! Well, kind of. Take a look at the pros and cons as to why it may not be 100% perfect.

 

Pros

  • As the filter gets created inside Google Analytics, you don’t have to rely on an external application/extension working.
  • Extensions can stop working and need updating regularly. Your Google Analytics will update automatically and keep your filters upon each update.

Cons

  • Your IP address will change upon location, i.e., work and home. So, if you’re always on the move, you will need to create multiple filters. Multiple filters won’t work if you’re using public Wi-Fi or mobile data.
  • You have to test the process works by opening a random page of your website and Google Analytics in separate tabs. As you click from page to page on your site, it shouldn’t appear in your real-time analytics.
  • It can be quite technical to set up.

 

Remove/block/exclude your own views (IP address) from Google Analytics using an extension

If the first way seemed a little complicated or you want to hide your visits across multiple IP addresses, the other option is to use a Chrome extension.

1. Download 'Block Yourself' chrome extension

Go to the Chrome web store and search for ‘Block Yourself’, then add the extension 'Block yourself from analytics' to your Chrome browser. Make sure you are signed into Chrome;

 

2. Select 'Options' in your Chrome tool bar

You should see the extension appear in your toolbar (found at the top right-hand-side of browser, next to the url address bar). Click the 'Options' icon. The following options should appear:

 

3. Enter the website addresses you want to block

From here you just enter the website(s) you want to exclude yourself from tracking. Just type the website URL and click add.

💡TOP TIP: If you want to block all the sub-domains from that website (additional pages etc.), then add a ‘*’ before the URL. Here's an example of both below:

 

4. Save changes

Click save to make the changes.

It’s as simple as that, but like creating the filter inside Google Analytics, there are pros and cons to using an extension:

 

Pros

  • Unlike creating your own filter, this runs across all your IP addresses if you are signed into your Google Chrome.
  • Extremely easy to set up and add additional sites if needed.
  • You have the ability to block other websites as well as your own.

Cons

  • It will only work using Google Chrome and not other browsers, although other browsers have similar extensions.
  • There is always the risk that the extension will stop working or stop getting updated creating a security risk.
  • The extension only works on desktops, not mobiles or tablets.

We hope this guide has helped with your Google Analytics? Are you having any other problems with Analytics? Let us know down in the comments below, and we’ll try our best to help!

For more great content around IT, visit or learning centre or subscribe to our newsletter.