Skip to main content

Filter Google Analytics 4 widgets by page

Apply our advanced filters to your Google Analytics 4 widgets to only show data from the exact page (or pages) you'd like.

Written by Tatum Savage

GA4 widgets can be filtered by page, allowing you to show specific, granular data to your clients. Use our filters to show exact matches, or search for pages containing a specific word or string.

Using the basic pages filter

In edit mode, add a GA4 widget to your dashboard or report, then click on the widget to expand the Edit Widget menu on the right.

Next, click the Data tab of the Edit Widget menu, then scroll until you find the Page filter. Click on the page filter, and our filter options will be listed.

Click the filter to open the dropdown list, then either scroll or use the search field to find the pages you're looking for. Next, click the boxes beside the pages you'd like to include for this widget.

Once selected the widget will update to display data relative to just the selected pages.

Using the advanced pages filter

The advanced page filter is a contains filter; this means it will search for pages containing what you enter into the filter field.

After adding a widget to your dashboard or report, click the Data tab of the Edit Widget menu, then scroll until you find the Page filter.

Choose one of the advanced filters options (contains, does not contain, matches regex and does not match regex) Once selected, click the field then enter the word or path of your choosing to activate the filter.



In the below example, the widget on the left has updated to display data relevant to pages with a URL containing /cosmetics.

How you enter the word or path will change the data displayed in the widget. In the example below we use only the word cosmetics. This results in a different set of pages returned, as more pages than just the above two contain the word cosmetics when the forward slash is removed.


Did this answer your question?