瀏覽代碼

Googles

Add the googles tracking code.

All-bar the actual tracking number, you need to add that in
master
Mike Rawlins 9 年之前
父節點
當前提交
a99f4ba9ac
共有 1 個檔案被更改,包括 9 行新增0 行删除
  1. +9
    -0
      footer.php

+ 9
- 0
footer.php 查看文件

@@ -27,7 +27,16 @@
</footer><!-- .site-footer -->

</div><!-- .site -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-add-your-tracking-number-here', 'auto');
ga('send', 'pageview');

</script>
<?php wp_footer(); ?>

</body>


Loading…
取消
儲存