1
0
mirror of synced 2024-11-25 22:36:03 +03:00

Added Google Analytics

This commit is contained in:
Kevin Brown 2015-01-05 19:27:25 -05:00
parent 562669064b
commit dcfaa5f628
2 changed files with 20 additions and 0 deletions

View File

@ -9,5 +9,15 @@
{{ content }}
{% include footer.html %}
<script type="text/javascript">
(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-57144786-2', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>

View File

@ -16,5 +16,15 @@
{{ content }}
{% include footer.html %}
<script type="text/javascript">
(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-57144786-2', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>