Feed Statistics Plugin for WordPress

Feed Statistics is a plugin for WordPress blogs that tracks statistics for your RSS/Atom feeds, including the number of subscribers, which feed readers they’re using, which posts they’re viewing and which links they’re clicking on.

To install, unzip feed-statistics.php from the zip file below and upload it to the wp-content/plugins/ directory of your blog, and activate the plugin from your Administration panel. Then, you have two ways to display your subscriber count. You can either add the following code to your theme (in your sidebar, for example):

	<?php feed_subscribers(); ?>

This will display a simple “123 feed subscribers” line of text that you can markup however you want. If your theme is widget-compatible, you can instead use the Feed Statistics widget, which will display the same text, but inside of an easy-to-manage widget. (If you want to style the widget text, it is inside a <span class="subscriber_count"> tag.)

The plugin also adds a “Feed” section to your WordPress administration panel. This section has four subsections: Feed (Options), Feed Readers, Post Views, and Clickthroughs.


Settings for which readers to count as subscribers and toggles for turning view and click tracking on and off.

Top Feeds

Displays a list of the feeds most often requested by your subscribers. Note: a subscriber that follows multiple feeds will only be counted once in the total subscriber count, but all of the feeds that they subscribe to will appear on this page.

Most popular feeds

Feed Readers

Displays which feed readers your subscribers are using.

Feed Reader Chart

Post Views

If you have post view tracking turned on (it’s enabled by default), this page will show the posts in your RSS feed that are most popular.

Chart of your most popular posts


If you have clickthrough tracking turned on (it’s disabled by default), this page will show the links in your posts that your feed subscribers are clicking on.

Track clickthroughs on links in your feed

It will take a few days for the subscriber count to become accurate, so you may want to wait a day or two between installing/activating the plugin and publicly displaying your subscriber count.

Note: watch the Feed Statistics section of my blog for information on updates to this plugin.

192 thoughts on “Feed Statistics Plugin for WordPress

  1. Carlos says:

    Hi there,

    great Plug-in, but the post view and Clickthrough-Options don’t track anything at my blog… am i doinng something wrong?

  2. I installed the plugin but I got a BUNCH or errors. The site I installed it on was pretty old though and I have a pretty ancient version of wordpress on that particular site.

    So, I installed the plugin on a fairly new version of wordpress (Version 3.2.1) and it seemed to work on that site.

    Thanks so much for the plugin but do you know if there are any capatibility issues with certain version of wordpress?



  3. Hi. Is there any way to see the trend in RSS feeds? We just added this plugin a month ago to a blog that has existed for 18 months. I’m hoping to be able to track the growth in RSS feeds.

  4. I just installed your plugin and although I’m showing rapidly changing data for top feeds and feed readers, as you stated above I’m not getting stats for posts views and click throughs so I will check again in a couple days as you recommended above.

    My question to you is, I have had my sites redirected to feedburner.com. Will this affect the stats in your plugin and how can I ensure all data goes to your plugin?


  5. Would it be possible to limit the width of the Outgoing Link column in the click-through stats? It turns out I had a really long link somewhere that’s making the column so wide I need to scroll to see the stats on it. Alternately, moving the Outgoing Link column to after the stats would solve the problem too.


  6. Hi. We had to rebuild our site about two months ago when we got hit by a virus, and I need your help. The feed stats before the rebuild showed we had about 2,600 RSS feeds. After the rebuild, it showed 0 feeds. Now, two months later, we are at 2,400. How are these feeds counted and why wouldn’t they automatically update?

  7. I had problems with post view stats also, and found there is this:

    $plugin_url = WP_CONTENT_URL . '/plugins/wordpress-feed-statistics/feed-statistics.php';

    It is assuming the plugin file is in a wordpress-feed-statistics file. I moved my file into a dir of that name, and suspect it will work now, although I just made the change and haven’t verified yet.

  8. I would like to center the output on the sidebar of my WordPress blog. Can’t seem to be able to do this with CSS:

    .subscriber_count {
      text-align: center;
  9. Very nice plugin!

    Can you tell me, what the “Unknown (Pending)” Feed Reeder is, which shows up on top of my most popular feeds page?

    Do you think it might be possible to include/exclude/define specific Feed-URLs for the plugin in the future? This would be a very handy feature i.e. for Podcasters or people who don´t want to include all feeds to their statistics.

    Thanks and keep up the great work!

  10. Any chance to get the number of followers displayed in the main wp dashboard? At the moment I just got a section within a menue of the dashboard. But it is not shown in/wp-admin/index.php within the options

  11. Awesome plugin – thank you! Add my vote to a small widget to add to the main Dashboard. Would love to see quick stats along with all my other overview information, and click through to the detailed stats pages you already support.

  12. Hmm, it’s been about 3 weeks and I’m not seeing any data in “Top Feeds” or “Top Feed Reader”, but I am seeing data in post view counts (note: I didn’t turn on click-through tracking). Any idea on what is going wrong? I even unsubscribed from my own feed and resubscribed after installing Feed Statistics in case it only tracked feed readers upon initial subscription, but still nothing. The website is “http://ideasbythedozen.com”.

      • Hi Chris,

        I sent you an email a few days ago, but not sure if it got through SPAM. Basically, the “feed_subscribers” table is missing. I looked through your code and pulled the CREATE TABLE statement and tried running it manually, and I get the following error:

        #1071 – Specified key was too long; max key length is 1000 bytes

        I suspect your primary key of subscriber + identifier is the culprit (even though the columns are “varchar”, adding up the chars resulted in 1200 bytes or so). Suggestions?

        • Replied to your email, but for anyone else with this problem, try running this command manually:

          CREATE TABLE `[prefix]feed_subscribers` (
            `subscribers` int(11) NOT NULL DEFAULT '0',
            `identifier` varchar(255) NOT NULL DEFAULT '',
            `feed` varchar(120) NOT NULL,
            `date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
            `user_agent` varchar(255) DEFAULT NULL,
            PRIMARY KEY (`identifier`,`feed`)
  13. Meredith says:

    I like this, I think, but I’m not sure what it’s counting — does it have some way to figure out how many people are subscribed even if they don’t read an article, does it count people as they subscribe, or does it count subscribers when they read an article?

    • does it have some way to figure out how many people are subscribed even if they don’t read an article

      Most feed readers report the total number of subscribers each time the feed reader gets a new version of the feed. This helps count all subscribers, even if they don’t all read each article.

      does it count people as they subscribe

      Depending on how they subscribe, it will also count each new subscriber as soon as they subscribe.

  14. Hi Chris,

    I recently installed Feed Statistics to my website and am so pleased with how it works… But, strangely, I’m getting lots of subscribers to a really random feed (/tag/boarding-school-story/feed/). I have more than two times as many subscribers to this feed than my standard feed… Is there any chance that there is something amiss here, or have I just found lots of people who are interested in that feed? It just seems a little odd, since it is not a feed that regularly updates – it only has one post at present, and the post that is on there is not present on my page view list at all!

    Thanks for creating such a useful plugin! :)

  15. Great plugin!

    Is there a way I can incorporate the subscriber count into a widget which accepts HTML? I’ve tried the PHP code but that doesn’t work. Is there a shortcode or something similar?


  16. Fantastic plugin!

    I’ve just switched over from Feedburner to just the regular WordPress feed and this is so handy to have!

    One question – I can see that the “views” and “clickthrough” are not tracking. On the support forum I saw that you recommend having “Full” RSS enabled instead of “summary”. However, will the “clickthrough” still show correctly if people click through to the post, even though only the summary is displayed for it?

    In any case, this is excellent work. Thank you!

  17. Thanks, it’s the only subscriber counter that actually works ! I would recommend you to implement a) a donation button (Love your plugin!) and b) a “showing the TOTAL subscriber count in the dashboard” function.

  18. Thanks for a great blog article! Just so I’m clear, when you use this plugin you can just simply display the number of RSS subscribers on your webpage in the same way you can display number of twitter/facebook/google+ followers etc.? This is what I’m looking for because at the bottom of my website, I’m trying to display all my social media stats but can’t yet figure out how to display all my RSS followers.

    Thanks again!

  19. When I originally left a comment I seem to have clicked the -Notify me when new
    comments are added- checkbox and now every time a comment is added I receive four emails with the exact same comment.
    Is there a way you can remove me from that service?
    Thank you!

Leave a Reply

Your email address will not be published.