How to not track yourself in Google Analytics

Computer on desk with Google Analytics on the screen.
Last updated:
Originally published:
Topics covered: .

Google Analytics is an incredibly useful tool for any website owner. You have the ability to measure where your site users have come from and what pages they’ve looked at. All for free. And that’s only the beginning of what Google Analytics is capable of.

That’s all pretty fabulous, but there isn’t much point in all of that amazing data if it’s wrong.

Why block yourself from Google Analytics?

As one of the most common sayings in business goes, “If you can’t measure it, you can’t improve it.”

Analytics is the cornerstone for any online marketing career and is well worth understanding if you’re needing to measure your SEO strategy or want the ability to refine your marketing message.

Having analytics installed on your site can also help you measure your Technical SEO efforts, and see how long people are really prepared to hang around waiting for your page to load.

The problem with measuring anything is ensuring the data is correct.

One quandary with website analytics is making sure you don’t measure yourself. There’s not much point in trying to measure who’s visiting your site and where they’re going if you’re polluting your stats every time you visit your site. I don’t know about you, but I’m on our website multiple times a day to send people links, update articles and add events. If Google Analytics were measuring my visits, as well as legitimate visitors, our numbers would be way off.

How to block yourself from Google Analytics

Within Google Analytics there is the option of setting filters. The best way to block yourself from your own data is to set a filter to exclude yourself.

Create a new filter to exclude your IP address from being tracked

The first thing you need to do is create a new filter. This is pretty straightforward.

You must have edit permissions at the account level to be able to add filters.

  1. Log in to Google Analytics and navigate to the account you wish to edit
  2. Click on Admin at the bottom of the left sidebar (assuming you’re on a desktop or laptop)
  3. In the view column, click Filters
    Screenshot of Google Analytics.

  4. Click the + Add Filter button. If you can’t see the button at this point, it means you do not have the permissions to create new filters.
  5. In the Add filter to view screen:
    1. Select Create new Filter
    2. Call the filter whatever you want, but something like Exclude office traffic is a pretty good idea
    3. Set Filter Type to be Predefined
    4. Set Select filter type to Exclude
    5. Set Select source or destination to be traffic from the IP addresses
    6. Set Select expression to be that are equal to
    7. Quickly Google What’s my IP? to find your public IP address
    8. Copy and paste that IP address into the IP address text box
    9. Hit Save

Screenshot of adding a filter in Google Analytics

If you work from multiple locations, then do this step for each location, and call the filter something slightly different each time, such as Exclude Brisbane office traffic and Exclude Melbourne office traffic.

Having set up your analytics to not count internal traffic, you can be assured that your data is correct and that all your visitors are real!

Pay what you like for our "SEO for Australian Small Business" eBook

Thanks for reading How to not track yourself in Google Analytics.

In recognition of the small businesses who have been doing it tough in recent times, you can now pay what you like for our SEO for Australian Small Business eBook.

Minimum price is $5

Check out SEO for Australian Small Business
Avatar for Sam HemphillNow a digital veteran, Sam Hemphill initially trained as a drummer and high school teacher and spent 10 years as a touring musician and tour manager. During that time, he...

Read more about Sam Hemphill