Title: Anomify AI &#8211; Anomaly Detection and Alerting
Author: simon.holliday
Published: <strong>July 15, 2022</strong>
Last modified: March 19, 2024

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/anomify.svg)

# Anomify AI – Anomaly Detection and Alerting

 By [simon.holliday](https://profiles.wordpress.org/simonholliday/)

[Download](https://downloads.wordpress.org/plugin/anomify.0.3.6.zip)

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

 [Support](https://wordpress.org/support/plugin/anomify/)

## Description

The Anomify plugin sends selected performance metrics about your WordPress site 
to the Anomify.ai 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](https://anomify.ai/)
before the plugin can be enabled. Anomify has a free Developer account which allows
up to 100 metrics.

### Intro

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.

### Native Metrics

 * content.comment.added.{approved|not-approved|spam}
 * content.{post_id}.deleted
 * content.{post_id}.updated
 * content.{post_type}.status.transition.{new_status}
 * login.fail
 * login.success
 * php.exception

### Integration with other WordPress plugins

Anomify can integrate with certain other plugins to send metrics describing their
performance to Anomify which wll automatically detect anomalies.

The Anomify WordPress plugin can detect anomalies on metrics generated from certain
other plugins.

To enable a third-party plugin integration, first install and activate the plugin,
then enable it from the Anomify plugin settings page. All plugin integrations are
disabled by default.

Metrics generated from plugins are automatically prefixed with “plugin.{plugin_name}.”
e.g. “plugin.woocommerce.”.

These integrations are works in progress. If you find them useful, [please let us know](https://wordpress.org/support/plugin/anomify/)
as it will help us to prioritise further development.

### WP Statistics

[Plugin page](https://wordpress.org/plugins/wp-statistics/)

Metrics that Anomify will collect:

 * visitor.new – number of new visitors today
 * visitor.returning – number of return visitors today
 * visitor.country.$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”

Metrics from this plugin are prefixed with “plugin.wp-statistics”, e.g. “plugin.
wp-statistics.visitor.new”

### WooCommerce

[Plugin page](https://wordpress.org/plugins/woocommerce/)

Metrics that Anomify will collect:

 * cart.added
 * cart.emptied
 * cart.updated
 * customer.created
 * customer.deleted
 * customer.password.reset
 * order.cancelled
 * order.created
 * payment.complete

Metrics from this plugin are prefixed with “plugin.woocommerce”, e.g. “plugin.woocommerce.
payment.complete”

### 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', 'my.metric.name');
    ```

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', 'my.metric.name', 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.

#### Features

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

## Installation

You will need to obtain an API key and data URL from [Anomify AI](https://anomify.ai/)
before the plugin can be enabled. Anomify has a free Developer account which allows
up to 100 metrics.

## Reviews

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

### 󠀁[Detected an anomaly with page views](https://wordpress.org/support/topic/detected-an-anomaly-with-page-views/)󠁿

 [wfloutier](https://profiles.wordpress.org/wfloutier/) 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 ](https://wordpress.org/support/plugin/anomify/reviews/)

## Contributors & Developers

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

Contributors

 *   [ simon.holliday ](https://profiles.wordpress.org/simonholliday/)

[Translate “Anomify AI – Anomaly Detection and Alerting” into your language.](https://translate.wordpress.org/projects/wp-plugins/anomify)

### Interested in development?

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

## Changelog

#### 0.3.6

 * Tested with WordPress 6.5.0

#### 0.3.5

 * Increased HTTP timeout to handle slower server connections

#### 0.3.4

 * Tested with WordPress 6.4.3

#### 0.3.3

 * Tested with WordPress 6.2.3
 * Update to documentation

#### 0.3.2

 * Added metrics for successful and failed logins

#### 0.3.1

 * Integration with WooCommerce plugin
 * Fix for WP Statistics integration

#### 0.3.0

 * Addition of ‘platform’ from WP Statistics

#### 0.2.9

 * Integration with WP Statistics plugin

#### 0.2.8

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

#### 0.2.7

 * Sanitize text inputs

#### 0.2.6

 * Use WordPress HTTP_API for all requests

#### 0.2.5

 * Add ability for other plugins to send metrics

#### 0.2.4

 * Add exception handler to send metric for unhandled exceptions

#### 0.2.3

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

#### 0.2.2

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

#### 0.2.1

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

#### 0.2.0

 * Store config JSON in the database rather than filesystem

#### 0.1.1

 * Initial release

## Meta

 *  Version **0.3.6**
 *  Last updated **2 years ago**
 *  Active installations **10+**
 *  WordPress version ** 5.0 or higher **
 *  Tested up to **6.5.8**
 *  PHP version ** 7.0 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/anomify/)
 * Tags
 * [analysis](https://pcd.wordpress.org/plugins/tags/analysis/)[detection](https://pcd.wordpress.org/plugins/tags/detection/)
   [metrics](https://pcd.wordpress.org/plugins/tags/metrics/)
 *  [Advanced View](https://pcd.wordpress.org/plugins/anomify/advanced/)

## Ratings

 5 out of 5 stars.

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

[Add my review](https://wordpress.org/support/plugin/anomify/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/anomify/reviews/)

## Contributors

 *   [ simon.holliday ](https://profiles.wordpress.org/simonholliday/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/anomify/)