Author nathaniell
2010
4
Premium
Ambassador
Rank 4
Unfollow

When you start your first website, you'll be excited to see some clicks, which means real people on your site! Maybe. Make sure it's not just you clicking around. Exclude your IP address in Google Analytics and only track non-you visitors.

In case you haven't got Analytics installed yet, there are tons of ways to do it.

I like to do it manually https://my.wealthyaffiliate.com/training/manually-adding-google-analytics-to-your-website

But you can also do it via the All in One SEO pack: https://my.wealthyaffiliate.com/training/how-to-set-up-google-authorship-verify-with-webmaster-tools-google-analytics

And, just because it's related, here are some awesome webinars on Google Analytics. They're a bit older, so Analytics might look slightly different, but definitely still worth a watch.

https://my.wealthyaffiliate.com/training/google-analytics-learning-about-your-customers

https://my.wealthyaffiliate.com/training/tracking-traffic-keywords-stats-with-free-google-tools

UPDATE

If you have a dynamic IP or change IP frequently for whatever reason, here's the solution! https://my.wealthyaffiliate.com/training/using-goo...

Join the Discussion
Write something…
Recent messages
CarmenRoark Premium
Thank You, for this!!
Reply
Alasani Premium
Thank you, Nathaniell!
Reply
ValerieJoy Premium
Thanks Nathaniell for this great video.

I had manually setup the stop tracking feature in Analytics but it wasn't working. I was still seeing my own activity.

However, what I picked up from your video, which made the difference, was getting my IP address direct from Google, rather than some other website further down the page that gave me an IP address, which I now know was incorrect.
Reply
Gerlinde Premium
Your training was the first I've found which explains the three columns after clicking on Admin! :) Once you know it's soooo easy... :)) Thanks, Gerlinde
Reply
MinervaR1 Premium
thanks so much very helpful
Reply
Andrew007 Premium
Thank you for the great video. It works!
Best wishes
Andrew
Reply
CraigB92 Premium
Hey Nathaniell,

Does the filter apply from the point I add it or will it retrospectively filter previous data?

It looks to me that it only acts from when it is set.

Thanks,

Craig
Reply
mbouteiller Premium
Great info....thank you! I just setup the filter.
Reply
ChrisTowers Premium
Excellent training buddy! Thanks :)

Chris
Reply
Mokka Premium
Hi Nathaniell, I noticed my IP address changes constantly throughout the day. Is there any other way I can exclude my clicks?
Reply
Mokka Premium
Done. Thanks!
Reply
BelieveItYes Premium
Hi thanks for this! =)
Reply
Dinh Premium
thanks for the tip!
Reply
EKautz Premium
SUPER AWESOME Nathaniell!!!!!!!

Thank you!
Reply
Gulino Premium
Thank you very helpful!
Reply
rushmore1954 Premium
You have a doppelganger. You could be twins. My brother in law
Reply
nathaniell Premium
Haha. I see the resemblance. He must be a real lady killer!
Reply
rushmore1954 Premium
He's a real geek. But loves my sister that's all I care about. Big time programmer in RI. Medical software interchange or something.
Reply
rushmore1954 Premium
Thanks for the info. I wish you could do a webinar on google analytics. Your a very good teacher.
Reply
glycogen Premium
Thanks Nathaniell - decided to use you method rather than the new one listed below as I basically always work on my websites at home. Now to look forward to the bad news! Glyn
Reply
Dgegegegwg Premium
It's going to be next to impossible for me to set this up, isn't it? Considering that I'm connecting from various different locations and using public Wi-Fi, and don't really have my own internet at home...err on the boat. I just followed the instructions and set it up, but as soon as I connect to a different Wi-Fi network my IP is going to change, right?
Reply
BobBarr Premium
Unless you're clicking on your own site a lot, your clicks shouldn't affect your statistics all the much. (While I don't believe that accessing your WP admin area shows up in your stats, I could easily be wrong on that point.)
Reply
nathaniell Premium
Here you go buddy, fresh off the press:
Reply
Dgegegegwg Premium
Thanks!
Reply
jacs Premium
British Thanks :)
Reply
MartinaWA Premium
Very short and easy to follow. Thanks for the tutorial :)
Reply
TaraWrites Premium
I manually added Google Analytics to my header page in Editor as you suggested in your video training, and then referred to my notes from Kyle's training and decided to add it to the All in One SEO plugin instead. So now I have my analytics code installed in two places. I'm guessing I should strip the code out of the header file, but I'm nervous because I'm not a coder and don't want to break my site. Would you mind highlighting exactly what I should strip out of my header file?

Thanks!
Tara

<?php
/**
* The Header for our theme.
*
* Displays all of the <head> section and everything up till <div id="content">
*
* @package Sugar & Spice
*/
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
[removed]
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m[removed].insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-58254225-1', 'auto');
ga('send', 'pageview');

[removed]
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?php wp_title( '|', true, 'right' ); ?></title>
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<?php if ( of_get_option( 'favicon' ) ) echo '<link rel="shortcut icon" href="'.esc_url( of_get_option( 'favicon' ) ).'" />'; ?>
<?php wp_head(); ?>
</head>
Reply
nathaniell Premium
Your comment shows [removed] [removed]. I'm not sure if you did that manually or WA comment system did it.

The code you need to remove will be between

SCRIPT and /SCRIPT

But it will have angle brackets around them > < (those things)
Reply
TaraWrites Premium
Okay, not to be dense here, but do I only remove the code between SCRIPT and /SCRIPT or those words (with the angle brackets around them) as well. I know if I screw this up I'm in big trouble, so thanks for bearing with me.
Reply
nathaniell Premium
No worries, I know that code is scary. And if you do mess up the head it can break your site (no pressure!). Remove the code INCLUDING the script bits and the angle brackets.

If you do mess it up and your site goes blank, just submit a ticket to hosting support and they can fix it for you https://my.wealthyaffiliate.com/websites/support

Or you could do this Fix Wordpress Sites With Broken Themes & Plugins and fix it yourself. But I believe that you can do this correctly :) Let me know how it goes.
Reply
TaraWrites Premium
Nathaniell, thanks. You do a great job of removing the mystery and just serving this up in a friendly way without making us feel like dummies. So easy with your step-by-step instructions.
Reply
SimonBorg Premium
Before you change any code, copy all of the code from your themes editor to a text file and save the text file to a folder on your PC, that way, if you do break your site, you can replace the code on the file via FTP and return your site to normal.
Reply
ShannonLJ Premium
awesome - thanks Nat!
Reply
MarineMom Premium
Thanks!
Reply
lauracb Premium
My IP is not static. It's dynamic. Everytime I log in I get a different IP from my internet provider.
What shall I do?

Update: I saw Nathaniel answer down here, so I get there is no solution for this.
Yet, I thought All In One SEO should do that. There is a check box next to "Google Analytics ID:" , with "Exclude Users From Tracking": and I have checked Administrator Author Contributor Editor.
It should do the job.

What's wrong with the plugin??
Reply
ThomasPaul Premium
Google makes a plugin that you can install in your browser that will exclude you from their tracking:

https://tools.google.com/dlpage/gaoptout

This is probably the easiest method if you have a bunch of different IP addresses from your ISP.
Reply
lauracb Premium
Thank you, Thomas. I was wondering why was All In One SEO working well so far, and suddenly (without any update of some kind) it doesn't. I got the notification a few days ago. And it was fine for the last 6 months. :(
Laura
Reply
TinaB Premium
Right after I set up the filter in GA, I encountered the same problem with non-static IP address when Google reported that there was internal errors. So thankfully there is a workaround by going into All In One SEO. Thanks for posting the solution.
Reply
mightypaul1 Premium
perfect solution to my problem
Reply
rufat Premium
Thank you
Reply
Friday949 Premium
I've been wondering how to do this! Perfect video! Thanks!
Reply
chrswkrt Premium
Thanks. Very informative.
Reply
gmegs Premium
Hi Nathaniell!
... what if you don't have a static ip address? My sometimes is different
Reply
nathaniell Premium
That's tricky. Unfortunately, you can't guess what your IP will be, so this training won't do much for you.

UNLESS, you have a range of IPs you cycle through. If that's the case, you can slowly knock them off and not track any of them.

I also believe there's a way to ignore a wider range of IPs, but that will exclude a larger area, and also skew your results a bit. I haven't done it personally, but the option should be there.
Reply
gmegs Premium
Thanks Nathaniell
Reply
stevejf Premium
Thanks. You definitely have a knack for explaining things in a clear and logical fashion :-)
Reply
CoachEd Premium
thanks---man
Reply
sue5173 Premium
Thank you, great video!
Reply
bika06 Premium
Thanks...video was very helpful.
Reply
Starrlett Premium
Yay, thanks. This should now determine any new visitors who stumble upon my site.
Reply
TravelHacker Premium
This was super helpful!
I haven't been working on my website in a while and now that I'm back, I was wondering why I was tracking myself - I was sure I had set up an IP Filter. It wasn't until the 2.16 when I realized I had moved 2 weeks ago :)
Reply
Gary Sanders Premium
Thank you! This was very helpful!
Reply
skyhigh4 Premium
An easy to follow video. Thank you
Reply
HappyDots Premium
Thanks for this quick and useful video! I've created my IP filter now.
Reply
SeahorseOne Premium
Nice, short and quick tutorial, thx :)
Reply
jeremyngyw Premium
I've been reading a bit about IP addresses. I've found that when I go to http://whatismyipaddress.com/ip-address for my IP, it's different from the one I got from google search, the same way the video shows. I'm a little confused on the difference! Can someone enlighten me please?
Reply
gilesensor Premium
Hi Jeremy
If your computer is behind a router, you will have 2 ip addresses. 1 will be the public address, which is the one you want GA to ignore, the other is an ip address that your router assigns your computer. This is because if you have more than one device in your home, they can't all have the same ip address or you'd get lots of conflicts and nothing would work. This is also true if you have wifi at home and have more than one device connected.
Hope this helps
Reply
jeremyngyw Premium
I noticed that this public address is the same for all the other computers at home when I checked using the above mentioned method. I guess if I use this IP for GA filtering, nothing to worry about?
Reply
gilesensor Premium
Exactly. Good luck for the future

Giles
Reply
jeremyngyw Premium
Thanks!
Reply
bothewebguy Premium
Thanks Nathaniell - The first time you show this to a client that has never heard of it before locks them in to your services. Good Stuff!
Reply
ChrisDB Premium
Very useful, thanks so much. & the music makes it fun! Nice training. :O
Reply
Kjell Premium
Great! I learnt something new again :) Very useful video. Thanks for sharing this useful stuff!
Reply
Hudson Premium
Hi Nat, as usual this was very useful. I hope you will have seen that I enjoy your videos and get a lot out of them, well done. Can I just add one small comment which is intended to be constructive please. I noticed a bit in this one and more in the recent Google Plus video you did that you now tend to rush things. I know in the G+ you were trying to cram things in. I liked it but got not only lost but to the stage where the info was just too fast and too much, so I stopped and didn't go back to it yet.
I guess if no one mentions this you will never know; that's the spirit in which it is offered,
Best regards
Hudson.
Reply
nathaniell Premium
No worries Hudson - I know that it was a lot of info, so sorry that it was a bit overwhelming. Maybe I will go back and do a beginners training version. This one wasn't too fast was it? Thanks for giving me a heads up, I"m always looking to improve my training.
Reply
jimisbell Premium
Thanks Nathaniel. I'm not quite to this point yet but I'll keep this in my arsenal of success enhancing tools. Great help for all!
Reply
nathaniell Premium
Awesome! Let me know if you need any help!
Reply
tommydillard Premium
thanks dude this will help out a lot of people
Reply
nathaniell Premium
I'm surprised that so many people haven't done this. I thought for sure everyone's reaction would be, "Been there, done that".
Reply
tommydillard Premium
I kept seeing everyone asking how to stop tracking your own clicks great job dude
Reply
Shawn Martin Premium
Thanks!
Reply
Panamaguy Premium
Hey Nathan, my google analysis does not have boxes for the isp address. It is just one box and when I put the address from good search it tells me that it is invalid or blank. and says that it needs "ie: domain.com" I put that in and it took it ok, but it doesn't seem right.
Reply
nathaniell Premium
Make sure you click the dropdown menu that says "traffic from ISP domain". From the menu, select "traffic from the IP addresses". Let me know if that fixes it.
Reply
AdamsOnLine Premium
Do you need to set up a filter for each of your websites, or does this take care of all of them if you are using the same computer?
Reply
nathaniell Premium
You need a different one for each website. Each site will be a different "property", listed under the "Account".
Reply
AdamsOnLine Premium
Thanks for the answer.
Reply
lauradews Premium
Thanks for the great information Nathaniell
Reply
Caden Premium
This is great! Thanks nathaniell.
Reply
Yeti08 Premium
Thanks for this information. :-)
Reply
Lesmyb Premium
Thank you. I needed that.
Now I just need to keep an eye on my IP address and see if it changes... this is out of my control, so best I put it on a list to check regularly.
Not many visits on my site yet, most from myself and WA members.
Reply
nathaniell Premium
You can also filter out a browser, an ISP, or other things that will distinguish you from others. I haven't done these yet, but it's worth looking into if your IP changes frequently. Read the comment below (@Blair P) for the 'browser' one.
Reply
Lesmyb Premium
Thanks, I will try the browser opt-out thingy. My router also has to be reset from time to time.
It is so good to be part of a community that shares such helpful info.
Reply
MarianMartin Premium
Great! Just yesterday I got all excited about my 6 visitors UNTILL I realiced it was ME....so, thanks for the information!
Reply
nathaniell Premium
Sorry to bring you down buddy :)
Reply
mwatkins Premium
Thank you Nate, Between you and many fine other folks, I got my google plus, gmail, andweb analytics all set up. Awesome
Reply
nathaniell Premium
Good to hear! Eventually we'll get you profitable :)
Reply
JJCarter1 Premium
Thanks for the info Nate, much appreciated!
Reply
jespinola Premium
Hey Nate I will try that. If that doesn't work it will be ALL your Fault :P
Reply
nathaniell Premium
Everything is all my fault! :)
Reply
jespinola Premium
Aw NO. You share credits with @RICH.

75% @RICH.'s Fault and 25% your fault :)

Seriously I will try that. Thank you Bro :)
Reply
Kewl Web Premium
Thanks Nathaniell! This information is great!
Reply
Miz Premium
Nice video nathaniell! I've been able to exclude my IP address with ease. Thanks :-)
Reply
fireyphnx Premium
nice one ...
Reply
christopherM Premium
I've been trying to figure out how to do this. Thanks!
Reply
Angelsway Premium
Thanks for the up date.
Reply
Jewelz Premium
This is great because just the morning I was fiddling with that I know I clicked it 2'ce...lol
Thank you!!
~jewelz
Reply
dembler Premium
Great timing! I have been struggling with, thank you
Reply
Deky Furlong Premium
Hey Nathaniell, Thanks alot for the Tip :)
Reply
Blair P Premium
Hey nathaniell, great video as always. However I need to switch off my router occasionally and it changes my IP address when I do meaning I would need to re-enter my IP into Analytics every time. Searched around a bit online to see if there was a way round this and came across an Add-on by Google that seems to work with all common browsers. It's called Google Analytics Opt-out Browser Add-on - don't know if you've come across this before? https://tools.google.com/dlpage/gaoptout
Seems to work for me....
Reply
nathaniell Premium
Awesome. Thanks for the tip. I didn't think that switching off your router would change your IP in such a way that Analytics would need to be reset, but if you have seen an IP change from this affect your Analytics stats, this the browser work around is a good option.
Reply
bullet Premium
Hi nathaniell, thanks for the video it will make it easier to track the real clicks now. When you first build a website you are in and out all the time and it does screw up the real click rate.
Reply
nathaniell Premium
I always feel bad for a newbie when they say, "I'm so excited, I'm getting clicks!", but realize that it's their own. Doing this from the start can prevent that initial disappointment :)
Reply
dittdogg Premium
Hey nathaniell, thanks for that. My account wasn't updated..
Reply
nathaniell Premium
No problem. I didn't do it for the longest time, but now it's standard procedure for me.
Reply