[UA] Test your regular expressions [Legacy]

You are viewing a legacy article about Universal Analytics. Learn more about Google Analytics 4 replacing Universal Analytics.

An easy way to test a regular expression on your own data is to navigate directly to a report in your view and use the advanced table-filter feature.

For example, to try out a regular expression that filters pages:

  1. Sign in to Google Analytics.
  2. Navigate to your view.
  3. Open Reports.
  4. Select Behavior > Site Content > All Pages.
  5. Above the table, click advanced.
  6. Create a condition:
    [select: Include or Exclude] Page [select: Matching RegExp] [enter regular expression]
  7. Click Apply.

Was this helpful?

How can we improve it?
Search
Clear search
Close search
Main menu
9361876153452312816
true
Search Help Center
false
true
true
true
true
true
69256
true
false
false
false