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

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

group pageviews by directory

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Is it possible to group pageviews (or any other metric) by directory within our website? Meaning, could we have a filter that would recognize URLs that match between the first two backslashes "" without having to separately type in every single directory? For example, I would want to see how total pageviews for all URLs that begin with "" compare with all "" pages and with "" and so on, but with the filter recognizing them as URL patterns rather than having to specify the actual text. Does that make sense?

1 Expert replyverified_user

Re: group pageviews by directory

Rising Star
# 2
Rising Star



This is actually done for you in the Behavior>>Site Content>>Content Drilldown


That said it only goes down three levels.  You can also use content grouping to create your own content groups moving forward.





Theo Bennett

Analytics Evangelist at MoreVisibility | Contact Me
Connect on LinkedIn