Tip of the week: Exclude internal traffic from your data
Posted by +Daniel Waisberg 

When you analyze your data, you are probably trying to understand how your customers behave and how to provide them with a better experience. However, your employees often visit your website too, for many reasons, and that might be affecting the accuracy of your data.

In order to remove internal traffic from your data, we recommend adding a filter excluding internal traffic based on your IP Address. Here is how to do it: goo.gl/VRWCW2

However, your company might not have static IP addresses, or employees work from home, or you also want to remove the traffic from 3rd party agencies working for you. If that is the case, you will have to use your creativity... here is one (advanced) technique described by +Simo Ahava explaining how to do it using Google Tag Manager: goo.gl/h7M1lo
325
91
Vishal Bhardwaj's profile photoDoug Buchan's profile photoLasse Itkonen's profile photoDan Sullivan's profile photo
27 comments
 
Analytics forces me to exclude my ISP I have tried the IP address to no avail.  The problem is I get a lot of visitors from that same ISP..What should I do? 
 
+Harold Pastian, take a look at the 2nd article I shared and the resources that +Simo Ahava mentioned in there. There are quite a few creative solutions for people with the same issue...
 
I believe this is critical for websites with low traffic (less than 5,000 visits per month), where you own visits can distort some of the metrics, like time on site. 
 
I use Dropbox ip log information to exclude employees. 
 
Great tip, thank you !!!
 
I use the google opt out cookie extension in Chrome. It seems to work as we had spikes in traffic every time we made iterations to our website. 
 
Question about this… if everyone within the company is on the same network… they all generate “hits” from the same IP and therefore the only thing this does is remove that one (1) “hit”. Or am I interpreting this wrong?
 
You can say you have an issue, if you have more than 10 IP's. +Francisco Mingote.

In order to exclude more than 1 IP address, you have to set a Custom Filter, Exclude, and in the Filter Field choose IP Address and on Filter Pattern you should input your IP, like the example below.
You should have Case Sensitive set to NO
Save and that's it.

Example:
IP1: 151.255.113.202
IP2: 32.255.100.198
IP3: 169.255.200.6
________________________________
The Filter Pattern you should enter is:
^151\.255\.113\.202$|^32\.255\.100\198$|^169\.255\.200\.6$
 
+Madelene Glomsten if you can create an IP filter for your company Google Analytics will ignore all behavior coming from inside the company.
 
+Francisco Mingote , please have in mind, that Filters, change your data's in a way you can't invert it. Filters start to apply from the moment you implemented, and not to old data that was collected in Google Analytics.

You should also, try to Block the IP's from Home also, if you use your home to work from time to time.

I think the correct way to apply Filters, is to have in Google Analytics at least 3 Views for 1 Property, At Least:
1. No Filter View
2. Test View
3. Filtered View

This way, if you need all the data, without filters, you can have it.
The Test view I find it good, when I was testing different things in GA. 

If you didn't create this views, from the start, you should consider, that you will have data from the moment you create the view. 

I'm glad I could help you.
 
I don't know how it is there, but here de IP is dinamicly assigned. So this kind of filter isn't usefull. Are there another way? By cookies, another way.
 
Beware: This will not work if you use "anonymizeIP" - which is mandatory in Germany.
 
+Óscar Adolfo Villa Rodríguez , +Jan Kurschewitz you can use:

ISP Domain or ISP Organization since you can't relay on IP Addresses. 

This is from Help:
"Exclude/Include only traffic from the domains: use this filter to exclude/include only traffic from a specific domain, such as an ISP or company network."
 
+Georges-Emanuel Hurubaru: We use to implement a PHP routine which checks if the IP is our own IP and then omits the line "anonymize IP" in the tracking code. Thus we can filter our own accesses via the solution described in this post.

Of course it would also be possible to drop the complete tracking code via PHP if access comes from defined IPs (ours and our customer's).
 
If You have a page with login feature (like Wordpress) simply disable GA for certain users (in the code). On a blog page disable it when a certain user is logged in. From now on the important thing is be logged in all the time (simply select the "remember me" option at login).
Add a comment...