Analytics for Beginners - Discussions
5.4K members online now
5.4K members online now
Guide Me

Excluding more than one IPs

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭



In the demo I saw how they exclude one IP, but what if I want to exclude more than one, that is possible? and how can I do that?

1 Expert replyverified_user
Marked as Best Answer.
Accepted by topic author Erika Alejandra V

Excluding more than one IPs

[ Edited ]
Top Contributor
# 2
Top Contributor

Hi :-)

This can be done a few ways
1) More than one exclude filter can be added to a view.


2) A custom exclude filter can use a regular expression and different IPs can be seperated with a | character which means "or" eg regular expression ^123\.456\.78$|^098\.765\.432*$ would exclude IPs 123.456.78 or 098.765.432


3) If its a range of IPs then a tool to create a regex from the IP range can be used and this can then be added to a custom exclude filter

Bronwyn Vourtis, Google Analytics Top Contributor
Was my response helpful? If yes, please mark it as the ‘Best Answer.’ Learn how here