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

How do I exclude traffic from multiple subdirectories

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi there,


I need to track blog views for a client but the url does not include /blog/


URL displays as


All other sections of the site have a subdirectory so I am trying to create a view that excludes traffic to those subdirectories instead:


exclude traffic to the subdirectories that begin with



but the filter is not working

1 Expert replyverified_user

Re: How do I exclude traffic from multiple subdirectories

Top Contributor
# 2
Top Contributor
Don't use a Predefined filter -- they only use simple expressions.

Use a Custom filter, Exclude > Request URI > and your regex filter expression.
Mike Sullivan, Google Analytics Top Contributor
Was my response helpful? If yes, please mark it as the ‘Best Answer.’ Learn how here.