mirror of
https://github.com/arcan1s/arcanis.me.git
synced 2025-04-24 15:27:17 +00:00
added google analytics
This commit is contained in:
parent
987ef4e6e9
commit
83c1346791
9
_includes/google_analytics.html
Normal file
9
_includes/google_analytics.html
Normal 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>
|
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user