1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00
haml--haml/yard/default/layout/html/footer.erb
2009-11-23 15:03:48 -08:00

12 lines
493 B
Text

<%= superb :footer %>
<% if ENV["ANALYTICS"] %>
<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"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("<%= ENV["ANALYTICS"] %>");
pageTracker._trackPageview();
} catch(err) {}</script>
<% end %>