I wanted to track in our anaylitics suite the clicks of a specific Facebook Like button on our website.
To implement this, you need to use the XFBML form of the Facebook like button. Place this code where you want the like button to show up on your website.
Then the following listener code needs to be put in place; preferably in the footer or near the bottom of the page.
This code will listen for the clicks on your button and execute whatever code you put in it. The first portion of the script, “edge.create” is for when a user Likes your page. The section portion, “edge.remove” is for if they unlike your page.
With this you could create an overlay to ask them why they unliked your page, etc.