The Filtering & Exceptions settings allow you to refine which user data is included or excluded from the statistical reports generated by WP Statistics. This customization helps ensure that your analytics reflect the traffic and behavior that are most relevant to your business needs.
User Role Exclusions
To exclude certain user roles from being tracked in your statistics.
- Options:
- Checkboxes are available for each role, such as Administrator, Editor, Subscriber, etc.
- If a role is selected (checked), users with that role will not have their activities included in the statistical data.
- Example: Excluding ‘Administrator’ means any visits or interactions from site administrators won’t be recorded.
IP Exclusions
To exclude specific IP addresses from being tracked.
- Options:
- Enter IP addresses you wish to exclude in the provided text box.
- Use formats like
123.45.67.89
- Example: Excluding your office IP ensures internal traffic doesn’t skew your statistics.
Robot Exclusions
To prevent known bots and crawlers from being included in statistics.
- Options:
- A predefined list of robot user agents is shown (e.g., Googlebot, Bingbot).
- You can customize this list by adding or removing bot names.
- The “Reset to Default” button restores the list to its original state.
- Example: Excluding ‘Googlebot’ will prevent Google’s search engine bot activities from being tracked.
Robot View Threshold
To set a daily limit on the number of views from bots.
- Options:
- A numerical value can be entered to specify the limit.
- Example: Setting a limit of 100 will ignore any bot views exceeding this number daily.
GeoIP Exclusions
To exclude or include visits from specific countries.
- Options:
- Enter country codes to either exclude or include those countries.
- Exclusion and inclusion settings are independent.
- Example: Excluding ‘US’ will ignore all visits originating from the United States.
URL Exclusions
To exclude specific types of URLs from being tracked.
- Options:
- Checkboxes for login page, RSS feeds, and 404 error pages.
- A text box is provided to specify any custom URLs you wish to exclude.
- Example: Excluding the login page ensures visits to the login page are not counted.
URL Query Parameters
To define which query parameters in URLs should be considered when filtering statistics.
- Options:
- A list of allowed query parameters is provided, which can be customized.
- Example: Allowing the ‘utm_source’ parameter helps track marketing campaign performance.
Matomo Referrer Spam Blacklist
To block known spam referrers from skewing your data.
- Options:
- Enable the blacklist to filter out unwanted referrer spam automatically.
- Options to manually update the blacklist data or schedule automatic updates.
- Example: Enabling the blacklist helps maintain data accuracy by excluding spam referrals.
Host Exclusions
To exclude visits from specific hosts or domains.
- Options:
- Enter hostnames you wish to exclude in the provided text box.
- Example: Excluding a partner site ensures visits from that domain aren’t tracked in your statistics.
General Exclusions
- Log Record Exclusions:
- Enable this to exclude specific logs from being stored based on the exclusions set above.