Products
Webtrends Analytics 9.x
Webtrends Analytics 8.x
Issue
What is the Boolean logic for Webtrends’ hit and visit filters?
Resolution
When applying multiple filters or having multiple filter criteria, the basic logic structure is as follows:
Multiple filters = OR
Multiple values on one filter criteria = OR
Multiple filter criteria on one filter = AND
Example: Multiple filters
You have a single profile and you add an include filter based on URL and an include filter based on Domain. This configuration works as an “OR”. When analyzing, Webtrends will include anything that matches the correct URL or has the correct domain.
Example: Multiple values on one filter criteria
You set up an exclude filter based on the IP address ranges 192.168.0.* and 10.0.0.*, and then apply it to a profile. This configuration is an “OR.” When the client IP is at 192.168.0.* OR 10.0.0.* they are excluded from this profile during an analysis.
Example: Multiple filter criteria on one filter
You make an include filter based on IP address and URL, and then apply it to a profile. This is an “AND” condition. When profile is analyzed, hits are included if the IP address is from one of the specified IPs, and matches the URL expression.
Some of the above examples can be combined. Using the final example from above, you could have an include filter based on IP address and URL, with multiple addresses in the IP address definition and multiple URL expressions in the URL definition.
This would make the addresses an OR, but the whole of the filter would be an AND. For example, if address 1, or address 2 goes to the proper URL 1 or URL 2, then it meets the criteria for the filter.