WordPress.org

Plugin Directory

Simple Feed Stats

Tracks your feeds and displays your feed count via shortcode.

Installation

  1. Upload the plugin to your blog and activate
  2. Visit the settings page to configure your options

More info on installing WP plugins

Usage

Everything is configured to work out of the box. Once the plugin is activated on your site, it will begin tracking how many times your feed is accessed each day. You can visit the SFS settings to customize tracking method, custom count, shortcodes and more.

To display your daily feed count or total feed count, you can use the various shortcodes and template tags. More information about the shortcodes and template tags can be found in the SFS settings and also further down on this page.

Testing

To verify that the plugin is working properly, do the following:

  1. Visit the "Your Feed Information" panel in the plugin's settings
  2. Click on each of "Your feed URLs" a few times to collect some data
  3. In the "Tools and Options" panel, click "clear cache"

After performing these steps, your "Current Feed Stats" and "Total Feed Stats" will display some numbers, based on the feed links that you clicked in step 2. This shows that the plugin is working normally using its default settings. Similar testing may be done for other feed-tracking methods and options.

Note that not all tracking methods (or browsers/devices) work for all types of feeds; for example, the "Alt Tracking" method is required to record hits for RDF feeds. If in doubt, roll with the default options — they are tuned for robust, everyday feed tracking.

Shortcodes

Display daily count for all feeds in plain-text:

[sfs_subscriber_count]

Display daily count for all feeds with a FeedBurner-style badge:

[sfs_count_badge]

Display daily count for RSS2 feeds in plain-text:

[sfs_rss2_count]

Display daily count for comment feeds in plain-text:

[sfs_comments_count]

See the plugin settings page for more options and infos.

Template Tags

Display daily count for all feeds in plain-text:

<?php if (function_exists('sfs_display_subscriber_count')) sfs_display_subscriber_count(); ?>

Display daily count for all feeds with a FeedBurner-style badge:

<?php if (function_exists('sfs_display_count_badge')) sfs_display_count_badge(); ?>

Display total count for all feeds as plain-text:

<?php if (function_exists('sfs_display_total_count')) sfs_display_total_count(); ?>

See the plugin settings page for more options and infos.

Notes

To update your feed stats at any time (without waiting for the automatic 12-hour interval), click the "clear cache" link in the "Tools and Options" settings panel.

Also, this plugin uses WP Cron functionality to store feed data. Unfortunately, not all hosts/servers support WP Cron (e.g., Media Temple dv servers). If this is the case with your server, the total number of subscribers will not change from day to day. Fortunately there are a few possible solutions:

  • Click the "Clear cache" button (located in the plugin settings) once or twice per day
  • Add define('ALTERNATE_WP_CRON', true); to your WordPress configuration file, wp-config.php
  • Use a free cron service to request manually http://example.com/wp-cron.php?setcronjob once or twice per day (change the domain portion of the URL to match your own).

Any of these methods are suitable workarounds if WP Cron does not run automatically.

Upgrades

To upgrade SFS, remove the old version and replace with the new version. Or just click "Update" from the Plugins screen and let WordPress do it for you automatically.

Note: uninstalling the plugin from the WP Plugins screen results in the removal of all settings and feed stats from the WP database.

Restore Default Options

To restore default plugin options, either uninstall/reinstall the plugin, or visit the plugin settings > "Restore default settings".

Uninstalling

Simple Feed Stats cleans up after itself. All plugin options, transients, feed stats, and cron jobs will be removed from your database when the plugin is uninstalled via the Plugins screen. To delete the feed-stats table without uninstalling the plugin, visit the plugin settings > "Delete database table". Likewise, to reset your feed stats without deleting the table, visit the plugin settings > "Reset feed stats".

Requires: 4.1 or higher
Compatible up to: 4.6
Last Updated: 1 week ago
Active Installs: 3,000+

Ratings

4.7 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
0 people say it's broken.

100,1,1
100,1,1
0,2,0
100,1,1 100,1,1
0,1,0
100,1,1 100,1,1
100,1,1 100,1,1
100,1,1 100,3,3
100,1,1 100,1,1
100,1,1
100,1,1
100,1,1 100,1,1
100,2,2 100,1,1
100,1,1 100,1,1
100,1,1