Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added chartbeat

  • Loading branch information...
commit f6bee7332bce11c69ae37e4a9d25ae2f5be92d15 1 parent c0f420a
@sukhchander authored
Showing with 25 additions and 5 deletions.
  1. +25 −5 index.html
View
30 index.html
@@ -21,6 +21,8 @@
<meta name="viewport" content="width=device-width; initial-scale=1; maximum-scale=1;"/>
<!-- "maximum-scale=1" to fix weird iOS auto-zoom on orientation changes. -->
+<script type="text/javascript">var _sf_startpt=(new Date()).getTime()</script>
+
<script type="text/javascript" src="http://use.typekit.com/nds2jvi.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
</head>
@@ -59,13 +61,31 @@
</body>
<!-- Start Google -->
<script type="text/javascript">
-var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
-document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+ var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+ document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+ try {
+ var pageTracker = _gat._getTracker("UA-89596-1");
+ pageTracker._trackPageview();} catch(err) {}
</script>
<script type="text/javascript">
-try {
-var pageTracker = _gat._getTracker("UA-89596-1");
-pageTracker._trackPageview();} catch(err) {}
+var _sf_async_config={uid:15998,domain:"sukhchander.github.com"};
+(function(){
+ function loadChartbeat() {
+ window._sf_endpt=(new Date()).getTime();
+ var e = document.createElement('script');
+ e.setAttribute('language', 'javascript');
+ e.setAttribute('type', 'text/javascript');
+ e.setAttribute('src',
+ (("https:" == document.location.protocol) ? "https://a248.e.akamai.net/chartbeat.download.akamai.com/102508/" : "http://static.chartbeat.com/") +
+ "js/chartbeat.js");
+ document.body.appendChild(e);
+ }
+ var oldonload = window.onload;
+ window.onload = (typeof window.onload != 'function') ?
+ loadChartbeat : function() { oldonload(); loadChartbeat(); };
+})();
</script>
<!-- End Google -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
Please sign in to comment.
Something went wrong with that request. Please try again.