When A Filter Is Applied To A View, What Data Is Affected?
-
Data from before the filter was created
-
Data from after the filter was created
-
All the data available in a view
-
None of the data available in a view
About view filters
Use filters to limit or modify the data in a view. For example, you can use filters to exclude traffic from particular IP addresses, include only data from specific subdomains or directories, or convert dynamic page URLs to readable text strings.
- Predefined filters
- Custom filters
- Common uses for filters
- Limitations of filters
- Related resources
Predefined filters
- Exclude/Include only traffic from the ISP domain: use this filter to exclude/include only traffic from a specific domain, such as an ISP or company network.
When you specify the domain name, do not include the host server label (e.g., specify example.com, not www.example.com).
- Exclude/Include only traffic from the IP addresses: use this filter to exclude/include only clicks from a certain source IP address.
You can filter a simple range of addresses by using the that begin with or that end with options.
If you want to filter a more complex range of addresses, use a Custom Filter to Exclude/Include using the IP Address and specify a regular expression as the Filter Pattern.
- Exclude/Include only traffic to the subdirectories: use this filter to exclude/include only traffic to a particular subdirectory (such as /motorcycles or /help/content/faq).
- Exclude/Include only traffic to the hostname: use this filter to exclude/include only traffic to a particular hostname (such as sales.example.com or support.example.com).
Custom filters:
- Exclude: This type of filter excludes log file lines (hits) that match the Filter Pattern. Matching lines are ignored in their entirety: for example, a filter that excludes Chrome also excludes all other information in that log line, such as visitor, path, referral, and domain information.
- Include: This type of filter includes log file lines (hits) that match the Filter Pattern. All non-matching hits are ignored and any data in non-matching hits is unavailable in the reports.
- Lowercase / Uppercase: Converts the contents of the field into all uppercase or all lowercase characters. These filters only affect letters, and do not affect special characters or numbers.
- Search & Replace: This is a simple filter that you can use to search for a pattern within a field and replace the found pattern with an alternate form.
- Advanced: This type of filter allows you to build a field from one or two other fields. The filtering engine applies the expressions in the two Extract fields to the specified fields and then constructs a third field using the Constructor expression…………………..For More Details: https://support.google.com/analytics/answer/1033162?hl=en