added favicon and google analytics

This commit is contained in:
Connor Turland 2012-10-30 18:32:48 -04:00
parent 283ddf25c5
commit c7dfd836f1
3 changed files with 14 additions and 0 deletions

View file

@ -0,0 +1,13 @@
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-35984510-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>

View file

@ -106,4 +106,5 @@
</div>
<% end %>
<%= render :partial => 'layouts/ga' if Rails.env.production? %>
</body>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 0 B

After

Width:  |  Height:  |  Size: 894 B