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

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 www.domain.com/exampleofblogtitle.

 

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

/about/|/news-views/|/resources/|/working-paycorp/|/atm-solutions/|/eftpos/|/card-programmes/|/kazang/

 

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.