Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michiels/1007731 to your computer and use it in GitHub Desktop.
Save michiels/1007731 to your computer and use it in GitHub Desktop.
Hooking into the Twitter responses for Kissmetrics
<script type="text/javascript">
twttr.events.bind('follow', function(event) {
_kmq.push(['record', 'Follow on Twitter']);
});
</script>
<script type="text/javascript">
twttr.events.bind('tweet', function(event) {
_kmq.push(['record', 'Tweeted the post']);
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment