Apr
3rd

FeedBurner: Display your stats using the API

Happy New Year! Marketing Technology finds and reports on the latest technology that will enable your business to effectively market to your audience, for acquisition or retention strategies. Subscribe now the Marketing Technology Blog RSS feed or to the Marketing Technology Email to have new content sent directly to your inbox. You'll also find my other business blog helpful, Social Media Domination.

Recently, I’ve been on a bender to clean up my site and remove all the odds and ends that take away from the theming, and most of all - don’t add to the visitor’s experience.

One of the items I removed was the Feedburner stat widget. I wanted to put my statistics up by my actual RSS button (see this article on how to implement my RSS badge), but make it look natural.

The first step was a little lazy, I didn’t want to recreate the wheel. I searched for a Feedburner stats plugin out there and found a great Feedburner API Wordpress Plugin by Eric Davis.

One minor edit to the plugin was that I wanted to add a thousands separator (”,”). Within the function FB_GetCirculation, I updated the echo statement to add the number formatting I needed:

echo number_format($circ);

Activate the plugin and the next step is to put the stats in your sidebar of your template:

Circulation: <?php FB_GetCirculation($dates = 'last_month'); ?> Subscribers

Next, I’d like to recreate this plugin with Clicky Web Analytics so I can also tout the visitors to my web site, not just the feed subscribers. As well, I think the Feedburner plugin should cache the result - no need in hitting the API all day like it is.

You might also find these posts interesting:

RSS feed | Trackback URI

4 Comments »

Comment by Mike Schinkel
2008-04-04 11:50:08

Can I assume you’d recommend Clicky?
Comment by Douglas Karr
2008-04-04 12:10:11

I’m an analytics junky, Mike. But I really do like the simplicity of Clicky. It’s such a user-friendly interface. I still use Google Analytics, but only for complex analysis.

As for the stats above, I was able to easier embed Wordpress stats using the Wordpress Stats Helper Plugin.

 
 
Comment by Jonathon
2008-04-05 10:12:36

Doug,
I think your customization on the stats looks great! Thanks for sharing how you did it!
-Jon
 
Comment by Mark
2008-10-06 18:43:44

Doug,
Would like to see your feedburner stats on a Gauge as shown on dashboardzone.com ? we are working on a plugin that can do this. The benefit of this would be, you can set your goals and see how it progress daily by the moving pointer
 
Name (required)
E-mail (required - never shown publicly)
URI
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.

My Comment Policy: I moderate comments. Please be patient:

  • Spam will happily be destroyed.
  • Use your real name, not some keywords. Otherwise it will be destroyed.
  • Mean comments aren't necessary. If I don't post them I will reply personally to let you know why.
  • Lewd comments will be edited, I don't want my readers leaving because of offensive content.
Great debate, criticism and colorful commentary is always appreciated and approved!