加回Google分析代码

This commit is contained in:
Zhicheng Wang 2016-07-07 09:40:38 +08:00
parent 6975026f0c
commit 1cb52fe7a0
1 changed files with 9 additions and 0 deletions

View File

@ -38,3 +38,12 @@ script(src="/resources/js/directives/if-docs.js")
script(src="/resources/js/directives/live-example.js")
script(src="/resources/js/directives/ngio-ex-path.js")
script(src="/resources/js/directives/scroll-y-offset-element.js")
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','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-80444808-1', 'auto');
ga('send', 'pageview');