How to exclude your own visits from Google Analytics


When I first started Charlotte’s Lively Kitchen I was excited about using Google Analytics to see how many people were finding the site and what they were looking at. What I quickly realised was that the statistics were pretty much useless as they were being skewed by my own visits. I decided to find a way to exclude myself from my Google Analytics data. However, I couldn’t find a really simple tutorial online to show me step-by-step what to do. As a result, I thought it might be useful to pull together a quick guide.

How to exclude your own visits from Google Analytics

This tutorial will show you step-by-step how to exclude your own visits from Google Analytics in only a few minutes.

To make your Google Analytics even more accurate it’s also a good idea to exclude automatic visits from Bots and Spiders. Fortunately I found a brilliant tutorial for this one by Bjork at Food Blogger Pro. He also has a tutorial for excluding your own data from Google Analytics. However, his method would exclude your visits from Google Analytics on all sites, which would make everyone else’s Google Analytics inaccurate (not really a problem if only you do it, but a bit rubbish if everyone decided to). I guess it’s up to you which method you prefer. If you tend to work a lot from one or two locations, then  I think my method of excluding your own IP is preferable. However, if you travel around a lot and access your site from many locations then you may find Bjork’s method a better approach for you.

Step-by-step – How to exclude your own visits from Google Analytics

Step 1 – Find your external IP address

In order to exclude your own traffic you need to tell Google Analytics to exclude your IP address. If you don’t know your external IP you can go to whatsmyip.org and your external IP address is there in big letters at the top of the page (there are probably other sites that offer the same service but this is the first one I found).

GA tutorial - find IP

Many websites tell you to find your IP address by looking at the settings on one of your devices.

THIS WON’T WORK.

The IP address you find on your devices will be something like 192.168.0.01 which is your internal IP. I’ll admit I don’t fully understand the difference between internal and external IP – that’s not important here. What’s important is that entering your internal IP will have absolutely no impact on your Google Analytics data so it would be a waste of time.

Step 2 – Add a filter to Google Analytics to exclude your own IP

  1. Sign into Google Analytics and click on Admin

GA tutorial - admin

  1. Select Filters

GA tutorial - filters

  1. Click + New Filter

GA tutorial - add filter

  1. Give the filter a name. I’ve chosen “Me”
  2. Change the drop down box that says traffic from the ISP domain to traffic from the IP address
  3. Enter the IP address. In this example I’ve used “123.456.78.90
  4. Double check all of the other options – They should all be pre-selected to what you need, but double check they match the screen shot below just to make sure
  5. Click Save

GA tutorial - create filter

And there you have it. Nine simple steps to remove your own traffic data from Google Analytics and it only took a couple of minutes.

Note – if you view your site from multiple locations you’ll need to find the external IP for each location and add them individually.

I hope you found this useful. This is my first tutorial so I’d love to hear any feedback you have.

Thanks

 

Charlotte

 

10 Comments:

  1. Thanks for this, very helpful, I’m all set up now, just hoping I now won’t see a disappointing drop in visits!

    • Glad it was helpful. Fingers crossed that you’re visitor numbers and page view still look good. I was worried that mine would drop in September, but I’ve just been looking at my numbers and they’re both up 🙂

  2. I just used your tutorial, very helpful!! Thanks 🙂

  3. Thank you, very helpful.

  4. Hi,

    For those who can’t rely on their IP address (dynamic IP or those who access their website from more than one place), I thought of another approach using HTML5’s localStorage feature.
    I’ve written a blog article about it here:
    http://www.mendoweb.be/blog/google-analytics-exclude-your-own-visits/

    • Thanks for sharing your alternative approach. I know that my approach can be a problem for people accessing their websites from multiple locations but it works well for me as I mostly work from home. I guess the approach you want to take depends on how you use your site and how technical you want to get with coding (I know a lot of people would rather avoid getting into the HTML coding).

  5. Thank you so much for this! 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *