Statify

Description

Statify provides a straightforward and compact access to the number of site views. It is privacy-friendly as it uses neither cookies nor a third party.

An interactive chart is followed by lists of the most common reference sources and target pages. The period of statistics and length of lists can be set directly in the dashboard widget.

Data Privacy

In direct comparison to statistics services such as Google Analytics, WordPress.com Stats and Piwik Statify doesn’t process and store personal data as e.g. IP addresses – Statify counts site views, not visitors.

Absolute privacy compliance coupled with transparent procedures: A locally in WordPress created database table consists of only four fields (ID, date, source, target) and can be viewed at any time, cleaned up and cleared by the administrator.

Display of the widget

The plugin configuration can be changed directly in the Statify Widget on the dashboard by clicking the Configure link.

The amount of links shown in the Statify Widget can be set as well as the option to only count views from today. Of course, older entries are not deleted when changing this setting.

The statistics for the dashboard widget are cached for four minutes.

Period of data saving

Statify stores the data only for a limited period (default: two weeks), longer intervals can be selected as option in the widget. Data which is older than the selected period is deleted by a daily cron job.

An increase in the database volume can be expected because all statistic values are collected and managed in the local WordPress database (expecially if you increase the period of data saving).

JavaScript tracking for caching compatibility

For compatibility with caching plugins like Cachify Statify offers an optional switchable tracking via JavaScript. This function allows reliable count of cached blog pages.

For this to work correctly, the active theme has to call wp_footer(), typically in a file named footer.php.

Skip tracking for spam referrers

The comment blacklist can be enabled to skip tracking for views with a referrer URL listed in comment blacklist, i. e. which considered as spam.

Support

If you’ve problems or think you’ve found a bug (e.g. you’re experiencing unexpected behavior), please post at the support forums.

Contribute

  • Active development of this plugin is handled on GitHub.
  • Pull requests for documented bugs are highly appreciated.
  • If you want to help us translate this plugin you can do so on WordPress Translate.

Screenshots

  • Statify dashboard widget
  • Statify dashboard widget options

FAQ

What are the minimum requirements?
  • PHP 5.3 or greater
  • WordPress 3.9 or greater
Which areas are excluded from counting?

Statify does not count the following views:

  • feeds
  • trackbacks
  • searches
  • previews
  • views by logged in users
  • error pages

This behavior can be modified with the statify__skip_tracking hook.

Can further visitor data be recorded?

Some plugin users want to capture additional visitor data, e.g. name of the device and resolution.
Statify counts exclusively page views and no visitors, the desired data acquisition is not a question.

How to change who can see the Dashboard widget?

Per default only administrators can see the widget. This can be changed with the statify__user_can_see_stats hook.

Example:

add_filter(
    'statify__user_can_see_stats',
    '__return_true'
);

has to be added to the theme’s functions.php and adapted to your needs. This example would allow all users to see the widget.

Editing the configuration is still limited to users with edit_dashboard capability.

How to skip tracking for defined users or pages

The conditions for tracking views can be customized according to page type and user capabilities by using the hook statify__skip_tracking.

Example:

add_filter(
    'statify__skip_tracking',
    function() {
        if ( condition ) {
            return true;
        }

        return false;
    }
);

has to be added to the theme’s functions.php. The condition has modified such that the method returns true if and only if the view should be ignored.

How to extend this plugin?

Reviews

Fast and lightweight

Excellent minimalistic plugin. I found it after trying Slimstat, which slowed down loading the admin dashboard of my website quite a bit.

Statify works well with WP-Rocket caching plugin on Nginx. Next I’ll try with Total Cache on Apache. Well done!

Super, aber mir fehlt die Benutzerstatistik

Hallo,
erst mal vielen Dank für dieses tolle “Leichtgewicht”, das die Datenbank nicht unnötig aufbläht und die Performance nicht ausbremst.

Ich würde mir allerdings noch eine Benutzerstatistik wünschen (dann würde ich auch 5 Sterne geben)

Viele Grüße
HG

Everything you need

All those features in Google Analytics will just overwhelm you anyway. This plugin gives you all the information you need at a glance and it’s compliant with European privacy laws.

Good and lightweight plugin

Works completely as described. Perfect, very good job!

The only thing: It’s a little to minimalistic in my eyes. Only some more details would be nice, e.g. kind of used devices.

Read all 23 reviews

Contributors & Developers

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

Contributors

“Statify” has been translated into 8 locales. Thank you to the translators for their contributions.

Translate “Statify” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

You can find the full changelog in our GitHub repository.

1.5.2 (2017-08-15)

  • Switched to minimal WordPress version 4.7, removed fallback code not needed anymore

1.5.1 (2017-05-04)

  • Bugfix: Consider filter for skipping tracking correctly if JavaScript tracking is disabled.
  • Bugfix: PHP Notice for empty blacklist value.

1.5.0 (2017-03-23)

  • Switched to minimal PHP version 5.3
  • Added more flexible settings for period of data saving and the number of entries shown in top lists
  • Added validation of form data before saving settings
  • Moved all documentation to wordpress.org.
  • Added optional referrer spam protection (can be activated via the Statify settings).
  • Improved conformance to the WordPress coding guidelines
  • Bugfix for multi-site installations: Don’t track network admin url.
  • Changed hook name statify_skip_tracking to statify__skip_tracking.

For the complete changelog, check out our GitHub repository.