AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

Analytics
1.7K members online now
1.7K members online now
Ask questions about filter set-up and issues with using filters in Google Analytics reports
 
Guide Me
star_border
Reply

Filtering Internal Traffic via IP address

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi,

 

I am trying to exclude internal traffic to our website through Analytics. Our IP Range is 188.111.20.25-30.

 

As we are in Germany we are obliged to use IP anonymization. We have tried the following filters with no luck.

 

Excluding - IP-Adress - ^188\.111\.20\.*$

Excluding - IP-Adress - ^188\.111\.20\.([0-9]|[1-9][0-9]|1([0-9][0-9])|2([0-4][0-9]|5[0-5]))$

 

Any ideas what I am doing wrong?

 

P.S. Community, I am still beginning with Analytics and appreciate very much any advise.

 

Rgds, Andreas

1 ACCEPTED SOLUTION

Accepted Solutions
Marked as Best Answer.
Solution
Accepted by topic author SR T
February 2016

Re: Filtering Internal Traffic via IP address

Visitor ✭ ✭ ✭
# 7
Visitor ✭ ✭ ✭
The problem was that Google Tag Manager uses both IPv4 & IPv6, so by applying both filters internal traffic could be excluded. ^2a00:0:6503.* & ^188\.111\.20\.*$

View solution in original post

Re: Filtering Internal Traffic via IP address

A T
Participant ✭ ✭ ✭
# 2
A T
Participant ✭ ✭ ✭

Re: Filtering Internal Traffic via IP address

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭
Hi A T,

thank you for your prompt reply. l have read the articles. Why would I need to exclude an internal subnet of IP addresses?
For what reason is the excluding filter Excluding - IP-Adress - ^188\.111\.20\.*$ not working?
Thank you for your comments. Rgds, Andreas

Re: Filtering Internal Traffic via IP address

A T
Participant ✭ ✭ ✭
# 4
A T
Participant ✭ ✭ ✭
Allow GA min. 4hrs for configurations to take effect.

Also it will only work on incoming data moving forward not on old data.

Re: Filtering Internal Traffic via IP address

Visitor ✭ ✭ ✭
# 5
Visitor ✭ ✭ ✭

Once again thank you. However I haven't made any changes and the above filter has been affective for a few days now; unfortunately incoming internal traffic is not being filtered.

Re: Filtering Internal Traffic via IP address

Visitor ✭ ✭ ✭
# 6
Visitor ✭ ✭ ✭
One more question : Do I need to setup a filter for IPv6 too? How would the filter look like for 2a00:0:6503:6c:80bb:ce1e:a4db:9b10? Thanks again for your comments.
Marked as Best Answer.
Solution
Accepted by topic author SR T
February 2016

Re: Filtering Internal Traffic via IP address

Visitor ✭ ✭ ✭
# 7
Visitor ✭ ✭ ✭
The problem was that Google Tag Manager uses both IPv4 & IPv6, so by applying both filters internal traffic could be excluded. ^2a00:0:6503.* & ^188\.111\.20\.*$