diff options
author | Zhiming Wang <zmwangx@gmail.com> | 2015-05-05 22:20:08 -0700 |
---|---|---|
committer | Zhiming Wang <zmwangx@gmail.com> | 2015-05-05 22:20:08 -0700 |
commit | 4db8316cecddb87228e66b42595d89b31824ea1a (patch) | |
tree | 74134177c106cce8b1e05401d2b0c732e67f7c68 /templates | |
parent | 11f732c9f2644302136ee90176ad7816bd596895 (diff) | |
download | my_new_personal_website-4db8316cecddb87228e66b42595d89b31824ea1a.tar.xz my_new_personal_website-4db8316cecddb87228e66b42595d89b31824ea1a.zip |
install Google Analytics tracking code
Diffstat (limited to 'templates')
-rw-r--r-- | templates/template.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/template.html b/templates/template.html index aa45adc6..93a3329a 100644 --- a/templates/template.html +++ b/templates/template.html @@ -32,6 +32,15 @@ $endfor$ <link href='/css/normalize.css' media="all" rel="stylesheet" type="text/css"> <link href='/css/theme.css' media="all" rel="stylesheet" type="text/css"> <link href="http://fonts.googleapis.com/css?family=PT+Serif:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css"> +<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-53908325-1', 'auto'); +ga('require', 'displayfeatures'); +ga('send', 'pageview'); +</script> </head> <body> <nav> |