Skip to content

Instantly share code, notes, and snippets.

@ttrefren
Created January 31, 2010 20:45
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 ttrefren/291232 to your computer and use it in GitHub Desktop.
Save ttrefren/291232 to your computer and use it in GitHub Desktop.
<script type="text/javascript" src="http://api.mixpanel.com/site_media/js/api/mixpanel_fb.js"></script>
<script type="text/javascript">
try {
var mpmetrics = new MixpanelLib("YOUR TOKEN");
} catch(err) {
null_fn = function () {};
var mpmetrics = { track: null_fn, track_funnel: null_fn };
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment