Permalink
Browse files

Code snippet for mixpanel analytics.

  • Loading branch information...
gareth gareth
gareth authored and gareth committed Aug 10, 2011
1 parent dd55d3a commit c1f058806ffded5f4f0e84c8411108a2710386ff
Showing with 5 additions and 0 deletions.
  1. +5 −0 curl.html
View
@@ -8,6 +8,11 @@
<script src="http://cdn.jquerytools.org/1.2.5/jquery.tools.min.js"></script>
<script type='text/javascript' src='js/curl.js'></script>
+<script type='text/javascript'>
+<!-- start Mixpanel --><script type="text/javascript">var mpq=[];mpq.push(["init","84f36d4166c25e36d277b3740392ca4e"]);(function(){var b,a,e,d,c;b=document.createElement("script");b.type="text/javascript";b.async=true;b.src=(document.location.protocol==="https:"?"https:":"http:")+"//api.mixpanel.com/site_media/js/api/mixpanel.js";a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(b,a);e=function(f){return function(){mpq.push([f].concat(Array.prototype.slice.call(arguments,0)))}};d=["track","track_links","track_forms","register","register_once","identify","name_tag","set_config"];for(c=0;c<d.length;c++){mpq[d[c]]=e(d[c])}})();
+</script><!-- end Mixpanel -->
+</script>
+
</head>
<body>

0 comments on commit c1f0588

Please sign in to comment.