Simple Feed Stats is a free WordPress plugin that makes it easy to track your feeds, add custom content, and display your feed statistics on your site. Simple Feed Stats (SFS) tracks your feeds automatically, and provides a wealth of tools and options for further configuration and management. To see Simple Feed Stats in action, check out my code-snippets site, WP-Mix.com (you can find the SFS count badge in the sidebar of any page).
Installation & Usage
/simple-feed-stats/ directory to your
/plugins/ folder and activate from the Plugins page in the WP Admin. Then visit the Simple Feed Stats Settings page to view your stats, customize options, grab shortcodes, and more. Everything works automatically out of the box, with plenty of tools and options to customize and manage your feed stats.
How it works..
Simple Feed Stats tracks your feeds using a variety of tracking methods. The default tracking method is recommended for default WordPress feeds, such as:
- Content RDF –
- Content RSS –
- Content RSS2 –
- Content Atom –
- Comments RDF –
- Comments RSS2 –
- Comments Atom –
Basically it tracks all feeds by default and displays your feed statistics on the SFS settings page, like so:
SFS color-codes stats by feed type and displays data in clear, concise format
Simple Feed Stats provides three four different ways to track your feeds:
- Default tracking – tracks directly via feed request
- Custom tracking – tracks via embedded post image
- Alternate tracking – tracks via embedded feed image
- Open tracking – open tracking via embedded image
As discussed, default tracking is best for default (non-redirected) WP feeds. For feeds that are redirected to a 3rd-party service such as FeedBurner, any of the other three tracking methods may be used, depending on your feed configuration. Custom tracking is recommended when delivering Full-text feeds, while Open tracking is recommended for Summary (or partial) feeds. Alternate tracking is an experimental method that may be used for other scenarios.
Simple Feed Stats tracks the following data for each feed request:
- Feed type
- IP address
- Requested URL
- Date and more
Once data is collected, it will be displayed in the SFS Settings page. Visit the Template Tags & Shortcodes panel for info on displaying the stats publicly on your site. Here is a screenshot of the luxe SFS Settings Page:
SFS brings the luxe interface with toggling panels for a fluid, focused experience
Displaying your feed stats
To display your feed stats on the front-end of your site, visit the Template Tags & Shortcodes panel on the SFS Settings page. There you will find multiple options:
Simple feed count (number/text only)
To display your current subscriber count as simple text, add the following template tag anywhere in your theme (e.g., sidebar, footer, etc.):
<?php if(function_exists('sfs_display_subscriber_count')) sfs_display_subscriber_count(); ?>
This is ideal for marking up and styling your own stats button or whatever you want. Alternately, to display your current subscriber count in a post or page, add the following shortcode:
Feed count badge (like Feedburner)
To display your stats with a badge that looks like the Feedburner chicklet, add the following template tag anywhere in your theme:
<?php if(function_exists('sfs_display_count_badge')) sfs_display_count_badge(); ?>
Alternately, to display a Feedburner-style badge in a post or page, add the following shortcode:
When included in a post or page, either of these techniques will display your feed stats to look similar to the FeedBurner chicklet. To customize its appearance, visit the Tools & Options panel and edit the “Custom CSS” field with any styles you wish. This makes it easy to customize your stats from the comfort of the WP Admin.
Add custom content to your feed
Simple Feed Stats also makes it easy to add custom content content to your feeds. Just visit Tools & Options and add text/markup to the feed header and/or footer (see following screenshot):
SFS lets you add custom content to your WordPress feeds
This option is intended to consolidate plugin functionality while providing your readers additional/bonus content. It may also be useful during FeedBurner-migration campaigns (see about the different tracking methods for more info).
More features and tools
In addition to tracking, viewing, and displaying your feed stats, SFS provides the following awesome features:
- Dashboard widget – provides quick overview of your feed stats
- Custom feed content – embellish your feed with custom graphics, markup, and text content
- Custom feed count – display any number or text for your feed count
- Custom CSS – use your own styles to customize your feed stats
- Clear, reset, restore, delete – options to clear the cache, reset your stats, restore default settings, and delete the SFS database table
SFS makes it easy to manage the plugin, its data and options
Plus much more! I’ve put a lot of time and care into making this a robust, flexible, and full-featured plugin, with special attention given to the SFS Settings page. No such thing as too much love.
About the different tracking methods
What’s the best tracking method? For default WordPress feeds, the Default tracking method provides the most accurate results. By hooking directly into the feed-generation process, SFS is able to record data every time someone or something accesses your feed. If possible, use the Default tracking method.
If you’re using FeedBurner you’ll want to continue using their statistics for as long as FeedBurner continues the service. As many of you know, FeedBurner shut down their API on October 20th, 2012. The FeedBurner feed-delivery service will continue until Google decides otherwise, and I think most users will continue to rely on the service until that time.
What if I want to transition away from FeedBurner? Initially, this is why I began working on this plugin. I wanted a solid, open-source alternative to FeedBurner. Honestly, the only reason I use FeedBurner is to track the number of subscribers, which FeedBurner does remarkably well using its own algorithms and a wide variety of data. Unfortunately Google doesn’t make its algorithms and data available to the public, making it virtually impossible to achieve the same “subscriber count” without making some serious assumptions. The SFS plugin tracks organically and does not make any assumptions, meaning that its daily “subscriber count” is a much lower number than the one that FeedBurner provides.
SFS provides multiple tracking options for better flexibility and accuracy
How does Alternate tracking work? Alternate tracking works by injecting a tracking image into the XML of WP-generated feeds. It uses a technique I wrote about back in 2007. For further details, check out Customizing WordPress Feeds (jump to the
How does Open Tracking work? Open tracking works by using a tracking URL as the
src of any image. Once the tracking image is included in a page or feed, the SFS plugin uses it to track the page, and returns a user-specified image that’s displayed in place of the tracking URL in the
src attribute. Confusing? Check out SFS Open Tracking for more information.
How does Custom tracking work? Custom tracking works by including a tracking image in the first post of your feed. The SFS plugin then tracks every time your entire feed is accessed. Current plans are to add yet another tracking method whereby the tracking image is included in every feed post. This may produce daily stats that are closer to the ones that FeedBurner delivers. Please share any thoughts you may have on this.
Download Simple Feed Stats from the WordPress.org Plugin Directory: