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
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
star_border
Reply

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 "www.epa.gov/....../..." 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 "www.epa.gov/asbestos/..." compare with all "www.epa.gov/lead/..." pages and with "www.epa.gov/pesticides/..." 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

Hi EPA C,

 

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.

 

https://support.google.com/analytics/answer/2853423?hl=en

 

 

Best,

 

Theo Bennett

Analytics Evangelist at MoreVisibility | Contact Me
Connect on LinkedIn