Release 1.3 - ...
<hits> element
Note: This element is introduced in Smi 1.3b3.
This element allows you to specify the include and exclude filter used to filter hits for this site. You may specify an include element, exclude element or both.
The example shows the configuration where only hits on the channels DEF and MOB are stored but hits on the item with code SMI_ROOT, hits of the content type JS or hits on http://localhost are excluded, even when they take place on the channels DEF or MOB.
Example
XML |
Copy Code
|
<hits>
<include>
<channel code="DEF" />
<channel code="MOB" />
</include>
<exclude>
<parent number="SMI_ROOT" />
<contenttype code="JS" />
<url pattern="http://localhost" />
</exclude>
</hits>
|
Attributes
None.
Parent element
Element name |
Description |
<filter> |
Describes how to use the filter element |
Child elements
Element name |
Description |
<include> |
Describes the include element used to filter hits in Smi. |
<exclude> |
Defines the exclude filter element used to filter hits or custom events in Smi. |