Anomify AI – Anomaly Detection and Alerting


The Anomify plugin sends selected performance metrics about your WordPress site to the service for anomaly detection and alerting.

After ingesting data we learn normal patterns, detect any unusual behaviour, alert on anomalies in real time, and constantly feed back to improve the model.

You will need to obtain an API key and data URL from Anomify AI before the plugin can be enabled. Anomify has a free Developer account which allows up to 1000 metrics.


Anomify AI is a UK based anomaly detection company for real time time-series data. Using machine learning and multi-stage analysis we enable organisations to react quickly to the changing health of their data at scale.

We provide a cost effective anomaly detection solution, which can be deployed flexibly via the cloud or on-premise.

Anomify employs a semi-supervised system model that allows domain experts to directly train the system and continually improve its performance and usefulness.

Integration with the WP Statistics plugin

If you have the WP Statistics plugin installed, the Anomify plugin can send WP Statistics metrics to Anomify automatically to detect anomalies on those.

  • – number of new visitors today
  • visitor.returning – number of return visitors today
  •$country_code – number of visitors from country with ISO code $country_code e.g. “ca”
  • visitor.agent.$agent – number of visitors using user agent $agent e.g. “chrome”
  • visitor.device.$device – number of visitors using device type $device e.g. “desktop”
  • visitor.platform.$platform – number of visitors using platform $platform e.g. “windows”
  • exclusion.$exclusion_reason – number of requests which are excluded from visit counts due to $exclusion_reason e.g. “robot”

All metrics from this plugin are prefixed with “plugin.wp-statistics”, e.g. “”

For plugin developers

If you want to send metrics from your own plugin, install the Anomify plugin, and use the following syntax in your own code:

do_action('anomify_increment_plugin_metric', '');

Or to increment the metric by a value other than 1, e.g. 5, add an optional third parameter:

do_action('anomify_increment_plugin_metric', '', 5);

The name of your plugin will be automatically prepended to the metric name so you don’t need to include it in the name that you pass.


  • Always on
  • Analysing your data 24/7
  • Real-time alerts
  • Custom algorithms
  • Root cause analysis
  • API access
  • Patented tech


You will need to obtain an API key and data URL from Anomify AI before the plugin can be enabled. Anomify has a free Developer account which allows up to 1000 metrics.


July 26, 2022
The plugin sends page views counts to my Anomify in real time. I set up an alert to tell me when I get an abnormal number of visits to the site. Also it gives me a real time graph.
Read all 1 review

Contributors & Developers

“Anomify AI – Anomaly Detection and Alerting” is open source software. The following people have contributed to this plugin.




  • Addition of ‘platform’ from WP Statistics


  • Integration with WP Statistics plugin


  • Bug fix for updating config
  • Delete config from DB when plugin is deleted


  • Sanitize text inputs


  • Use WordPress HTTP_API for all requests


  • Add ability for other plugins to send metrics


  • Add exception handler to send metric for unhandled exceptions


  • Remove debug info from config page
  • Fix to params passed into _addHookAction()


  • Add form validation and user feedback
  • Add API key and URL live validation
  • Catch exceptions on HTTP POST errors


  • Always use file_get_contents() for POST, even when cURL is available
  • Add User-agent HTTP header


  • Store config JSON in the database rather than filesystem


  • Initial release