About view filters

The features described in this article are available only if you have the Edit permission.

Filters allow you to limit and modify the traffic data that is included in a view. For example, you can use filters to exclude traffic from particular IP addresses, focus on a specific subdomain or directory, or convert dynamic page URLs into readable text strings.

Predefined filters

  • Exclude/Include only traffic from the domains: use this filter to exclude/include only traffic from a specific domain, such as an ISP or company network.
  • Exclude/Include only traffic from the IP addresses: use this filter to exclude/include only clicks from certain sources. You can enter a single IP address, or a range of addresses.
  • Exclude/Include onlytraffic to the subdirectories: use this filter to exclude/include only traffic to a particular subdirectory (such as www.example.com/motorcycles).

Custom filters:

  • Exclude Pattern: 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 Netscape also excludes all other information in that log line, such as visitor, path, referral, and domain information.
  • Include Pattern: 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. Read Advanced Filters for more information.

Here are some of the ways you can use filters:

  • Exclude internal traffic from your reports
    If you'd like to exclude internal traffic from your reports (such as traffic from your home or company intranet), you can set up a filter that includes all of the IP addresses you'd like to exclude.
  • Track activity in a specific directory
    If you'd like to report solely on activity in a specific directory, you can set up an Include filter. Likewise, if you'd like to see data for all but one or several pages or directories, an Exclude filter will take care of it for you.
  • Track subdomains in separate views
    Do you want to track www.example.com as well as help.example.com and info.example.com, but view separate reports for each one? You can easily accomplish this by creating a unique view for each one, and using an Include filter to return data on only the specified subdirectory.

 

For an overview of predefined filters, watch this video (available in English):

For an overview of custom filters, watch this video (available in English):