1
0
mirror of https://github.com/ascribe/wp-theme synced 2024-12-22 17:23:55 +01:00

Add google analytics

This commit is contained in:
vrde 2015-11-09 21:09:04 +01:00
parent 0a49cf263d
commit f2c9d64ac5

View File

@ -72,6 +72,16 @@ if (is_home()) {
<script src="https://use.typekit.net/gma2yhj.js"></script> <script src="https://use.typekit.net/gma2yhj.js"></script>
<script>try{Typekit.load({ async: true });}catch(e){}</script> <script>try{Typekit.load({ async: true });}catch(e){}</script>
<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-60614729-2', 'auto');
ga('send', 'pageview');
</script>
<?php wp_head(); ?> <?php wp_head(); ?>
</head> </head>