Skip to content

Commit

Permalink
Add Google Analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
viveksjain committed Dec 17, 2012
1 parent ce5b591 commit 4633e7c
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion index.html
Expand Up @@ -11,6 +11,20 @@
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->

<script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-36631040-4']);
_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);
})();

</script>
</head>
<body>
<div class="wrapper">
Expand All @@ -22,7 +36,7 @@ <h1>Heracles</h1>


<ul>
<a href="http://viveksjain.github.com/heracles/downloads/Heracles-v1.1.zip">
<a href="http://viveksjain.github.com/heracles/downloads/Heracles-v1.1.zip" target="_blank" onclick="_gaq.push(['_trackEvent', 'Downloads', 'Downloaded', 'v1.1'])">
<li id="down-arrow"></li>
<li>Download <strong>v 1.1</strong></li>
</a>
Expand Down

0 comments on commit 4633e7c

Please sign in to comment.