Capturing Category pages using Regex in Google Analytics
I want to filter by category page only. I am struggling to exclude a second directory, is this possible in Google Analytics?
Want to grab:
Want to ignore:
The first-directory doesn't have a trailing slash or an extension so I need the pattern to ignore the uri when it reaches a second forward slash /
Re: Capturing Category pages using Regex in Google Analytics
Use include filter and "matches Regex" with pattern (without quotation marks): "^first-directory$". This way you will only see exact match. Using "$" at the end of expression assures that there can be nothing after that character or there will be no match.
Hope that helped.