added google analytics

This commit is contained in:
arcan1s 2014-03-24 00:51:10 +04:00
parent 987ef4e6e9
commit 83c1346791
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,9 @@
<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-49293645-1', 'arcanis.name');
ga('send', 'pageview');
</script>

View File

@ -15,6 +15,7 @@
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
{% include google_analytics.html %}
{% if page.share == true %}
{% include header_sharethis.html %}
{% endif %}