How to Track Facebook Activity Feed

Thursday, 14. October 2010

Many sites now have the Facebook Activity Feed integrated with their pages but how much activity is happening with it? We were recently challenged with this question and the solution to track clicks in the Activity Feed turned out to be quite straight forward. For instructions on how to track it, you can read the full documentation here: http://developers.facebook.com/docs/reference/plugins/activity

The key here is to include a parameter ref=”page_location” in the iframe source code that calls for the Activity Feed plugin. This parameter would then be appended to each link in the plugin in the form of fb_ref=”page_location” and would show up in the referrer URL. The page location value can be different (e.g. ref=”homepage” or ref=”sports homepage”according to the page the plugin is on. This way you can not only get total click activity on the plugin but also be able to break it down by page location in order to determine which page generate the most click activity.