add google analytics
This commit is contained in:
parent
02e6ce6040
commit
ceb554831e
11
_includes/google_analytics.html
Normal file
11
_includes/google_analytics.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<script type="text/javascript">
|
||||||
|
var _gaq = _gaq || [];
|
||||||
|
_gaq.push(['_setAccount', 'UA-808595-1']);
|
||||||
|
_gaq.push(['_trackPageview']);
|
||||||
|
|
||||||
|
(function() {
|
||||||
|
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
||||||
|
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
||||||
|
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
||||||
|
})();
|
||||||
|
</script>
|
@ -32,5 +32,6 @@
|
|||||||
<footer>
|
<footer>
|
||||||
© 2002-{{ site.time | date:"%Y" }} {{ site.author }}
|
© 2002-{{ site.time | date:"%Y" }} {{ site.author }}
|
||||||
</footer>
|
</footer>
|
||||||
|
{% include google_analytics.html %}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user