Skip to main content

Google Analytics - Filter to exclude query strings after question mark

The following RegEx removes the query string part of an URL.
This will be useful to find the aggregate traffic of a page.
Custom Filter -> Advanced
Extract A -> Request URI -> [.*?]\?
Output $A1

Comments