[UA] Include and exclude filters [Legacy]

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

Use Include and Exclude Filters to eliminate unwanted hits.

If you apply an Exclude Filter and the pattern matches, the hit is thrown away and Analytics continues with the next hit. If the pattern does not match, the next filter is applied to that hit. You can create either a single Exclude Filter with multiple patterns separated by '|' or you can create multiple Exclude Filters with a single pattern each.

Include Filters are applied with the reverse logic. When you apply an Include Filter, the hit is thrown away if the pattern does not match the data. If you apply multiple Include Filters, the hit must match every applied Include Filter in order to save the hit. To include multiple patterns for a specific field, create a single include filter that contains all of the individual expressions separated by '|'.

Use the Case Sensitive option to specify whether the filter is applied with or without case sensitivity.

For an overview of filters, read About view filters.

Was this helpful?

How can we improve it?
true
Choose your own learning path

Check out google.com/analytics/learn, a new resource to help you get the most out of Google Analytics 4. The new website includes videos, articles, and guided flows, and provides links to the Google Analytics Discord, Blog, YouTube channel, and GitHub repository.

Start learning today!

Search
Clear search
Close search
Main menu
2765686405977922514
true
Search Help Center
true
true
true
true
true
69256
true
false