Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Simple RSS feed tracking: Open Source Feedburner #5727

anonymous-piwik-user opened this Issue · 2 comments

2 participants


Piwik could integrate an “open source feedburner” that would be a proxy between the original feed URL and the visitor. This proxy could then track data about visitors, what articles are clicked on, etc.

Building such a set of features is not easy, as the code has to deal with lots of edge cases in feed parsing (lots of rss/atom feeds are missing fields, incorrectly formatted, etc.).

We could

  • At first provide only the number of subscribers, by parsing the http fields which contain the count of subscribers for each caller
  • Later in V2, enhance the code to also parse the feeds and track clicks on links. Keywords: rss feedburner tracking "open source feedburner outofscope

News: since feedburner is dead, Piwik could step up as the Open Source Feedburner!

We could get inspiration from this code:

@anonymous-piwik-user anonymous-piwik-user added this to the Future releases milestone
@mattab mattab added this to the Long term milestone

Feed Analytics

  • Measure which links are most clicked in the feed content

    • tag links with campaign parameters:
      • add params to article title link,
      • add params to article content URLs
        • only edit URLs that point to known aliases URLs and/or the URL of the hostname generating the feed
        • (do not modify other URLs to keep links clean in feed content)
  • Measure how many times articles are viewed by a human in a feed reader

    • append to the feed article content text an image tracker tag to track in Piwik when an article is read in feed reader
    • Let user disable this post view tracking feature
  • Measure how many people are subscribed to the Feed

    • elaborate detection of subscribers count from the User Agent which major platforms eg. feedly (the big RSS readers Saas give us number of subscribers to the feed when requesting the feed,)
    • (maybe this is useful piwik/device-detector#3651 (comment))
  • How to add RSS feed tracking

    • we need to build server side code that will parse a Feed and add all necessary information.
    • this code / library will need to be used on the server side when generating the RSS feed
      • to edit article URL and add campaign parameters,
      • to add an image beacon in each article to count number of views for each post,
      • to edit links in the feed content and add campaign tracking parameters
      • send a tracking request each time the feed is viewed
    • we could ask WP-Piwik to improve the Wordpress plugin and automatically add piwik tracking code to Wordpress feeds
    • similarly other CMS plugins could be improved to add feed tracking capabilities
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.