Skip to content

Instantly share code, notes, and snippets.

@kinlane
Created July 6, 2011 02:43
Show Gist options
  • Save kinlane/1066428 to your computer and use it in GitHub Desktop.
Save kinlane/1066428 to your computer and use it in GitHub Desktop.
Facebook Shares with Google Analytics
FB.Event.subscribe('message.send', function(targetUrl) {
_gaq.push(['_trackSocial', 'facebook', 'send', targetUrl]);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment