Now I've done just that!
Currently I track my RSS feed through an image taged in my feed, which allows me to see when a user views my feed (not when the feedreader checks my feed). This method is only as accurate as the number of feedreaders which support the image property in rss feeds, but I believe that covers a large number of them (and it certainly includes bloglines).
In the past I used a image from site-meter, but I wanted to track it through PathStats so this php file does just that. It also alows you to use any image =)
First: Adding the image to your feed. This is what I use in
wp-rss2.php in my outdated version of WordPress. This code goes in the
<channel> section of your feed.
<image> <url>http://jehiah.com/shortstat/feed.php</url> <width>0</width> <height>0</height> <title><?php bloginfo_rss('name') ?></title> <link><?php bloginfo_rss('url') ?></link> </image>
Next step is setting up a
feed.php file in your shortstats folder which will log the view, and redirect to the image of your choice. This
feed.php files is available in PathStats 1.2
You will neeed to edit the
pathstats.configuration.php file with two pieces of information. The "url" you want to log a view as (probably the same as your feed url), and the image you want to display (for me it's a 1x1 transparent gif)
[php] $PathStats['feed_url'] = "/feed/rss2"; // url you want logged when people read your rss feed $PathStats['feed-redirect'] = "/images/pixel.gif"; // image you want to redirect to (display in rss readers) [/php]
Thats it go check out the current stats to see for yourself ;-)
This was rolled into PathStats 1.2, and the configuration sections above have been updated to reflect that.
As I realized, seeing the path people take after reading my RSS feed wasn't quite what I was looking for. So, I added a Page Chart section to PathStats which lets you see a per-page chart of hits ranging back 160 days!
now thats cool If I do say so myself.