Release 1.3 - ...

<filter> element

Note: This element is introduced in Smi 1.3b3.

This element allows you to filter incoming hits and custom events for each site using an include and exclude list. The exclude filter has precedence over the include filter which means that if a hit or custom event matches both the include filter and the exclude filter, the hit or custom event is excluded.

Each element listed in the include and exclude elements can be negated to obtain the opposite of the filter and multiple filter element in the include and exclude lists can be grouped in a group element. Each group element can be defined as a "Match all" group or as a "Match any" group, allowing you to build boolean And and Or clauses. By default each group (including the include and exclude element themselves) are "Match any" groups. In the example below, hits ares excluded if the hit

  • the channel code is AIM or
  • the item number is 138 or
  • the content type is JS or
  • the url matches the pattern http://localhost.

 

Expand image Example

Expand image Attributes

Expand image Parent element

Expand image Child elements

Install & Config