Permalink
Browse files

tracking is uncool, remove goog analytics, mixpanel

  • Loading branch information...
1 parent 8f710d1 commit 5a187d3997c3194dd0d54f045397e0d05033e655 @rhtyd committed Nov 30, 2012
Showing with 0 additions and 33 deletions.
  1. +0 −33 _layouts/default.html
View
@@ -17,15 +17,6 @@
<link href="/assets/js/google-code-prettify/sunburst.css" rel="stylesheet">
<link href="/assets/css/app.css" rel="stylesheet">
<link href="/assets/css/bootstrap-responsive.min.css" rel="stylesheet">
-
- <!-- start Mixpanel -->
- <script type="text/javascript">
- (function(d,c){var a,b,g,e;a=d.createElement("script");a.type="text/javascript";a.async=!0;a.src=("https:"===d.location.protocol?"https:":"http:")+'//api.mixpanel.com/site_media/js/api/mixpanel.2.js';b=d.getElementsByTagName("script")[0];b.parentNode.insertBefore(a,b);c._i=[];c.init=function(a,d,f){var b=c;"undefined"!==typeof f?b=c[f]=[]:f="mixpanel";g="disable track track_pageview track_links track_forms register register_once unregister identify name_tag set_config".split(" ");
- for(e=0;e<g.length;e++)(function(a){b[a]=function(){b.push([a].concat(Array.prototype.slice.call(arguments,0)))}})(g[e]);c._i.push([a,d,f])};window.mixpanel=c})(document,[]);
- mixpanel.init("5159866abd924e9b1609b17697ebf0d0");
- mixpanel.track_links("a", "Link Click", {'referrer': document.referrer });
- </script>
- <!-- end Mixpanel -->
</head>
<body>
@@ -89,7 +80,6 @@
<br>
<a href="https://www.ohloh.net/accounts/58276?ref=Tiny"><img width="80" height="15" alt="Ohloh profile for Rohit Yadav" src="/assets/img/ohloh.gif"/></a>
<a href="http://groups.google.com/group/foss-itbhu"><img height="15" src="/assets/img/foss-itbhu.png" alt="FOSS ITBHU"></a>
- <a href="https://mixpanel.com/f/partner"><img height="15" src="https://mixpanel.com/site_media/images/partner/badge_light.png" alt="Mobile and Web Analytics" /></a>
<a href='http://www.catb.org/hacker-emblem/'><img src='/assets/img/hacker.png' alt='hacker emblem' /></a>
<a href="http://endsoftpatents.org/innovating-without-patents"><img style="border-width:0" src="/assets/img/patent-free.png"></a>
<br>
@@ -107,28 +97,5 @@
<script src="/assets/js/modernizr.js" type="text/javascript"></script>
<script src="/assets/js/app.js" type="text/javascript"></script>
- <script type="text/javascript">
- var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-4103494-16']);
- _gaq.push(['_trackPageview']);
- (function() {
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
- })();
- $("#github_link").on("click", "mouseup", function(event) {
- event.preventDefault();
- mixpanel.track("Github Link");
- });
- $("#linkedin_link").on("click", "mouseup", function(event) {
- event.preventDefault();
- mixpanel.track("Linkedin Link");
- });
- $("#twitter_link").on("click", "mouseup", function(event) {
- event.preventDefault();
- mixpanel.track("Twitter Link");
- });
- </script>
-
</body>
</html>

0 comments on commit 5a187d3

Please sign in to comment.