Title: Statify Filter
Author: Stefan Kalscheuer
Published: <strong>August 16, 2016</strong>
Last modified: May 24, 2026

---

Search plugins

![](https://ps.w.org/statify-blacklist/assets/banner-772x250.png?rev=2538977)

![](https://ps.w.org/statify-blacklist/assets/icon-256x256.png?rev=2538977)

# Statify Filter

 By [Stefan Kalscheuer](https://profiles.wordpress.org/stklcode/)

[Download](https://downloads.wordpress.org/plugin/statify-blacklist.1.8.0.zip)

[Live Preview](https://wordpress.org/plugins/statify-blacklist/?preview=1)

 * [Details](https://wordpress.org/plugins/statify-blacklist/#description)
 * [Reviews](https://wordpress.org/plugins/statify-blacklist/#reviews)
 *  [Installation](https://wordpress.org/plugins/statify-blacklist/#installation)
 * [Development](https://wordpress.org/plugins/statify-blacklist/#developers)

 [Support](https://wordpress.org/support/plugin/statify-blacklist/)

## Description

A filter extension for the famous [Statify](https://wordpress.org/plugins/statify/)
WordPress plugin.

This plugin adds customizable filters to Statify to allow blocking of referer spam
or internal interactions.

### Features

#### Referer Filter

Add a list of domains (for simplicity only second-level, e.g. _example.com_ which
blocks _everything.example.com_).

#### Target Filter

Add a list of target pages (e.g. _/test/page/_, _/?page\_id=123_) that will be excluded
from tracking.

#### IP Filter

Add a list of IP addresses or subnets (e.g. _192.0.2.123_, _198.51.100.0/24_, _2001:
db8:a0b:12f0::/64_).

#### User Agent Filter

Add a list of (partial) user agent strings to exclude (e.g. _curl_, _my/bot_, _Firefox_).

#### CleanUp Database

Filters can be applied to data stored in database after modifying filter rules or
for one-time clean-up.

#### Compatibility

This plugin requires Statify to be installed. The extension has been tested with
Statify up to version 1.8
 The plugin is capable of handling multisite installations.

### Support & Contributions

 * If you experience any issues, use the [support forums](https://wordpress.org/support/plugin/statify-blacklist).
 * Latest sources and development are handled on [GitHub](https://github.com/stklcode/statify-blacklist).
   You might contribute there or file an issue for code related bugs.
 * If you want to translate this plugin you can do this on [WordPress Translate](https://translate.wordpress.org/projects/wp-plugins/statify-blacklist).

### Credits

 * Author: Stefan Kalscheuer
 * Special Thanks to [pluginkollektiv](https://pluginkollektiv.org/) for maintaining
   _Statify_

## Screenshots

 * [[
 * Statify Filter settings page
 * [[
 * Statify Filter settings page (continued)

## Installation

 * If you don’t know how to install a plugin for WordPress, [here’s how](https://wordpress.org/support/article/managing-plugins/#installing-plugins).
 * Make sure _Statify_ plugin is installed and active
 * Goto _Settings_ -> _Statify Filter_ to configure the plugin

### Requirements

 * PHP 7.4 or above
 * WordPress 5.1 or above
 * _Statify_ plugin installed and activated (1.5 or above)

## FAQ

### What is blocked by default?

Nothing. By default, all filters are empty and disabled. They can and have to be
filled by the blog administrator.

A default filter is not provided, as the plugin itself is totally neutral. If you
want to filter out referer spam,
 visitors from search engines, just “false” referrers
from 301 redirects or you own IP address used for testing only depends on you.

### Does the filter effect user experience?

No. It only prevents _Statify_ from tracking, nothing more or less.

### Does live filtering impact performance?

Yes, but probably not noticeable. Checking a single referer string against a (usually
small) list should be negligible compared to the total loading procedure.
 If this
still is an issue for you, consider deactivating the filter and only run the one-
time-cleanup or activate the cron job.

### Is any personal data collected?

No. The privacy policy of _Statify_ is untouched. Data is only processed, not stored
or exposed to anyone.

### Are regular expression filters possible?

Yes, it is. Just select regular expressions (case-sensitive or insensitive) as matching
method instead of exact or keyword match.

### Why is IP and User Agent filtering only available as live filter?

As you might know, _Statify_ does not store any personal information, including 
IP addresses in the database.
 Because of this, these filters can only be applied
while processing the request and not afterwards.

### Can whole IP subnet be blocked?

Yes. The plugin features subnet filters using CIDR notation.
 For example _198.51.100.0/
24_ filters all sources from _198.51.100.1_ to _198.51.100.254_. Same for IPv6 prefixes
like _2001:db8:a0b:12f0::/64_.

## Reviews

![](https://secure.gravatar.com/avatar/29e8d5012d57009e400996231b54fadd2530dcbf2c99a857f6efc79b7e572af5?
s=60&d=retro&r=g)

### 󠀁[Great + feature request](https://wordpress.org/support/topic/great-feature-request/)󠁿

 [initsolutions](https://profiles.wordpress.org/initsolutions/) January 8, 2020 
2 replies

Thank you so much for this great plugin! Feature request: only allow IPs from certain
countries, for example Germany, Switzerland and Austria.

 [ Read all 1 review ](https://wordpress.org/support/plugin/statify-blacklist/reviews/)

## Contributors & Developers

“Statify Filter” is open source software. The following people have contributed 
to this plugin.

Contributors

 *   [ Stefan Kalscheuer ](https://profiles.wordpress.org/stklcode/)

“Statify Filter” has been translated into 3 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/statify-blacklist/contributors)
for their contributions.

[Translate “Statify Filter” into your language.](https://translate.wordpress.org/projects/wp-plugins/statify-blacklist)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/statify-blacklist/),
check out the [SVN repository](https://plugins.svn.wordpress.org/statify-blacklist/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/statify-blacklist/)
by [RSS](https://plugins.trac.wordpress.org/log/statify-blacklist/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

### 1.8.0 / 24.05.2026

 * Minimum required WordPress version is 5.1
 * Minimum required PHP version is 7.4
 * Declared compatibility with WordPress 7.0
 * Various internal code improvements

### 1.7.2 / 06.06.2024

 * Restore manual database cleanup functionality

### 1.7.1 / 24.03.2024

 * Fix HTML syntax for checkboxes on settings page
 * Simplify some internal control structures
 * Add plugin dependency to Statify
 * Declared compatibility with WordPress 6.5

### 1.7.0 / 11.03.2024

 * Internal rework of plugin settings
 * Make the IP filter list unique
 * Fix options upgrade routine
 * Declared compatibility with WordPress 6.4

### 1.6.3 / 14.08.2023

 * Minor internal code cleanup
 * Declared compatibility with WordPress 6.3

### 1.6.2 / 25.02.2023

 * Always process IPv6 addresses lowercase
 * Optimize internally used regular expression
 * Minor adjustments to prevent warnings during user agent filtering with PHP 8.2

### 1.6.1 / 28.05.2021

 * Fix storage of user agent filter list (#28, props @BananaSquishee)

### 1.6.0 / 09.12.2020

Plugin renamed to _Statify Filter_.

 * Minor accessibility fixes on settings page
 * Introduced new user agent filter (#20)
 * Declared compatibility with WordPress 5.6

### 1.5.2 / 03.09.2020

 * Minor translation updates
 * Declared compatibility with WordPress 5.5

### 1.5.1 / 20.05.2020

 * Fix initialization on AJAX calls for _Statify_ 1.7 compatibility (#22)

### 1.5.0 / 13.05.2020

 * Minimum required WordPress version is 4.7
 * Removed `load_plugin_textdomain()` and `Domain Path` header
 * Added automatic compatibility check for WP and PHP version (#17)
 * Added keyword filter mode for referer blacklist (#15)
 * Layout adjustments on settings page
 * Regular expression filters are validated before saving (#13)

### 1.4.4 / 19.05.2018

 * Fix live filter chain when regular expressions are active (#12)

### 1.4.3 / 09.01.2018

 * Fix issues with multisite installation (#11)

### 1.4.2 / 12.11.2017

 * Minor code fixes

### 1.4.1 / 16.07.2017

 * Relicensed to GPLv2 or later
 * Fix filter hook if referer is disabled (#9)
 * Fix problem with faulty IPv6 netmask in IP blacklist
 * Minor changes for WP Coding Standard
 * Minimum required WordPress version is 4.4 (#10)

### 1.4.0 / 10.06.2017

 * IP blacklist implemented (#7)
 * Target page blacklist implemented (#8)
 * Internal configuration restructured (upgrade on plugin activation)
 * Statify hook name changed to `statify__skip_tracking` (as of Statify 1.5.0)

### 1.3.1 / 09.12.2016

 * Continue filtering if no filter applies (#6)

### 1.3.0 / 17.10.2016

 * Regular expressions filtering implemented

### 1.2.1 / 10.10.2016

 * Fix live filter configuration check

### 1.2.0 / 29.08.2016

 * Switched from `in_array()` to faster `isset()` for referer checking
 * Optional cron execution implemented

### 1.1.2 / 17.08.2016

 * Prepared for localization

### 1.1.1 / 16.08.2016

 * Some security fixes

### 1.1.0 / 15.08.2016

 * One-time execution on database

### 1.0.0 / 14.08.2016

 * First release

## Meta

 *  Version **1.8.0**
 *  Last updated **4 days ago**
 *  Active installations **2,000+**
 *  WordPress version ** 5.1 or higher **
 *  Tested up to **7.0**
 *  PHP version ** 7.4 or higher **
 *  Languages
 * [Catalan](https://ca.wordpress.org/plugins/statify-blacklist/), [Chinese (Taiwan)](https://tw.wordpress.org/plugins/statify-blacklist/),
   [English (US)](https://wordpress.org/plugins/statify-blacklist/), and [German](https://de.wordpress.org/plugins/statify-blacklist/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/statify-blacklist)
 *  [Advanced View](https://wordpress.org/plugins/statify-blacklist/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/statify-blacklist/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/statify-blacklist/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/statify-blacklist/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/statify-blacklist/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/statify-blacklist/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/statify-blacklist/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/statify-blacklist/reviews/)

## Contributors

 *   [ Stefan Kalscheuer ](https://profiles.wordpress.org/stklcode/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/statify-blacklist/)