Skip to content

Commit

Permalink
Adding GA tracking, removing old-style app script
Browse files Browse the repository at this point in the history
  • Loading branch information
bigpresh committed Aug 16, 2011
1 parent 2052b5d commit a011cf6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
4 changes: 0 additions & 4 deletions perldancer.pl

This file was deleted.

12 changes: 12 additions & 0 deletions views/layouts/main.tt
Expand Up @@ -107,6 +107,18 @@ $.getJSON("http://twitter.com/statuses/user_timeline.json?screen_name=perldancer
});
});
</script>
<script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-25174467-1']);
_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>
</body>
</html>

0 comments on commit a011cf6

Please sign in to comment.