Skip to content

Commit

Permalink
Track downloads of foundation
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt committed Oct 21, 2011
1 parent 0a4a65f commit 8fb1e59
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions marketing/includes/_footer.php
Expand Up @@ -59,6 +59,10 @@
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);
})();
$('.src-download').live('click', function (event) {
_gaq.push(['_trackEvent', 'Foundation', 'Downloaded']);
});
</script>
</body>
</html>

0 comments on commit 8fb1e59

Please sign in to comment.