Google

Page 79

would naturally exclude all results from the filter pattern of the second filter (e.g., California). To combine the functionality of these two filters, use a single filter like the one shown in Figure 6-4.

Figure 6-4. A filter to include visitors from either New York or California

This filter uses a regular expression to indicate that the Visitor Region must be New York or California.

Search and Replace Filters The search and replace filter is a simple tool for replacing one piece of data with a different piece of data. This is most often used to replace long, unreadable URLs with more human-readable information. Search and replace filters are slightly different than other filters, because they do not have a filter pattern. Instead, they have a search string, which is the same as a filter pattern. When you apply a search and replace filter to a profile, the filter searches the filter field for the search string. If the search string is found in the filter field, the filter replaces the first occurrence of the search string with the replace string. Figure 6-5 illustrates a basic search and replace filter.

Filter Type | 63


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.