Traffic filtering can be used to avoid crawlers, specific user agents, and specific IP addresses or CIDR ranges to be included in Search tracking. The filtering is applied by Bizzkit Event Tracking, which collects the tracked search events.
Using Traffic Filtering
The search API uses the following headers to find the user agent and IP when a search request is received.
Crawlers and user agents: X-Forwarded-User-Agent
IP addresses: X-Forwarded-For
When using the Search SDK the following can be used to forward headers from an incoming request to the search method
Crawlers are automatically filtered out of search tracking based on a list maintained here: monperrus/crawler-user-agents
IP filtering
IP addresses will be filtered if they matches a configured IP or CIDR
IP addresses and CIDR traffic filters can be configured using the Admin Api
User agent filtering
A request is filtered if its user agent contains a configured value. The comparison ignores letter case. Wildcards and regular expressions are not supported, so use a distinctive token such as the name of the product or tool, for example UptimeMonitor.
User agent traffic filters can be configured using the Admin API with the type UserAgent.