浏览代码

Added Google Analytics tracking code

pull/3/head
Adrian Short 14 年前
父节点
当前提交
4b1a86496b
共有 1 个文件被更改,包括 11 次插入0 次删除
  1. +11
    -0
      views/layout.haml

+ 11
- 0
views/layout.haml 查看文件

@@ -7,6 +7,17 @@
%link{ :rel => 'stylesheet', :type => 'text/css', :href => '/breadcrumb/breadcrumb.css' }
%link{ :rel => 'stylesheet', :type => 'text/css', :href => '/print.css', :media => 'print' }
%link{ :rel => 'stylesheet', :type => 'text/css', :href => '/grid.css' }
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-3042981-18']);
_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
.container_12


正在加载...
取消
保存