@virginie
To filter by query string in Google Analytics, follow these steps:
- Sign in to your Google Analytics account.
- Go to the "Admin" section by clicking on the gear icon at the bottom left corner.
- In the "View" column, click on "Filters".
- Click on the "+ Add Filter" button to create a new filter.
- Enter a name for the filter to easily identify it.
- Select the "Custom" filter type.
- Under the "Filter Field" dropdown, select "Query Parameter".
- Enter the query parameter value you want to filter by. For example, if you want to filter all URLs with a specific query parameter "source", enter "source" in the "Filter Pattern" field.
- Choose whether you want to include or exclude the matching URLs.
- Click on the "Verify this filter" link to check how many URLs will be affected by the filter.
- Once you're satisfied, click on the "Save" button to apply the filter.
Google Analytics will now filter and display only the URLs that match your specified query parameter.