Skip to content

Instantly share code, notes, and snippets.

@Suhail
Created October 31, 2009 05:18
Show Gist options
  • Save Suhail/222926 to your computer and use it in GitHub Desktop.
Save Suhail/222926 to your computer and use it in GitHub Desktop.
<script type="text/javascript" src="http://mixpanel.com/site_media/js/api/mpmetrics.js"></script>
<script type="text/javascript">
try {
mpmetrics.init("YOUR_TOKEN");
mpmetrics.register({"user type": "noob", "gender": "male"});
} catch(err) {}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment