Blog Metrics in WordPress

Avinash Kaushik has done an excellent post about blog metrics today, most of the stats he showed off, like unique visitors, pageviews, subscribers, etc. are ones I've been using for quite a while. There were two new "metrics" that I hadn't used as much up till now, raw author contribution and conversation rate.

Of course I had calculated the average number of comments per post, but I hadn't thought of removing my own comments from that. Calculating your average number of posts per month also wasn't new to me, but because of Avinash's post, I decided to make it a bit easier to do that.

Avinash mentions in the post that he uses the General stats plugin, and has to do some math himself to get the stats he wants, namely:

  • Raw Author Contribution:
    • average number of posts per month
    • average number of words per post
  • Conversation Rate:
    • average number of comments per post without your own comments
    • average number of words used in comments to posts

As you might know I don't like doing calculations, even simple ones, more than once. So, using one function from the general stats WordPress plugin and some coding of my own, I hereby present you the blog metrics plugin!

Related posts

  1. Blog Metrics 0.3: who's the best linkbaiter?
  2. Blog Metrics 0.2: compare all time stats to last month's stats
  3. Blog Metrics 1.0
  4. Crawl Rate Tracker
  5. Move your WordPress blog to a new domain in 10 steps!

Want more WordPress tips?

You should subscribe to my WordPress Newsletter, as you'll get a whole lot more WordPress tips and tricks there! Also, subscribe to this blog right now with RSS, or daily or weekly emails!

11 Responses to “Blog Metrics in WordPress”

  • John says:

    How about keeping track of conversational contributors? People who post comments and come back after other people have replied to their comments, to respond to the response (now I'm in a loop :-)). It would also be neat to track everything over time (say plot conversation rate vs post frequency). Did you say you have lots of time on your hands?

  • SEOidiot says:

    I think tracking how lazy a poster i am would be a very bad move for me....

  • Thanks for building this tool. I will install it this weekend, and see how it works. I have become more and more interested in our blog, lately. We have been running it for years, but until recently, I didn't realize what an asset it could be. Thanks for helping me better understand this, by putting numbers into the equation.

    Take care. mjl

  • Another fine build Joost and good to meet you, well on here anyway ;)

  • Hi Dan, good to see you here :) and thx for the compliment :)

  • Jake says:

    Hmm, love the plugin, but its not reading my months blogging time right, i'm getting the following:

    Months blogging:455 (Since 0000-00-00 00:00:00)

  • Neerav says:

    On one blog running 2.1.3 it works fine :-)

    On another blog running 2.0.3 it says shows stats that are clearly wrong, any idea why? (see below)

    Raw Author Contribution
    An average of 0 posts per month
    An average of 0 words per post

    Conversation Rate
    An average of 0 comments per post
    An average of 0 words were used in comments to each post

    Full Stats
    Users: 1
    Posts: 0
    Words in posts: 0
    Comments: 1807
    Words in comments: 149418
    Months blogging: 43 (Since 2004-03-29 15:32:03)

  • Neerav: hmm the database has probably changed since that version, I don't have a 2.0 running anywhere so I can't test it...

  • Neerav says:

    Hi Joost

    I removed the following line from the bm_get_stats() function and the stats now work in 2.0.3 :-) :

    AND post_type = 'post'

  • Ah Neerav, thx for that!

  • says:

    Is there a call/function to show these stats in my sidebar or on a page?

Hosting by:
Hosted by MediaTemple Grid Services