diff options
-rwxr-xr-x | static/website/templates/base.html | 10 | ||||
-rwxr-xr-x | static/website/templates/home.html | 10 |
2 files changed, 19 insertions, 1 deletions
diff --git a/static/website/templates/base.html b/static/website/templates/base.html index 051b9e6..13f41d8 100755 --- a/static/website/templates/base.html +++ b/static/website/templates/base.html @@ -95,7 +95,15 @@ <script src="{% static 'dajax/jquery.dajax.core.js' %}"></script> <script src="{% static 'website/js/holder.js' %}"></script> <script src="{% static 'website/js/main.js' %}"></script> -<script type="text/javascript" charset="utf-8"> +<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-55018143-1', 'auto'); + ga('send', 'pageview'); + </script> </body> </html> diff --git a/static/website/templates/home.html b/static/website/templates/home.html index 3fda3ae..1fd108b 100755 --- a/static/website/templates/home.html +++ b/static/website/templates/home.html @@ -227,5 +227,15 @@ <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script> <script src="{% static 'website/js/holder.js' %}"></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-55018143-1', 'auto'); + ga('send', 'pageview'); + +</script> </body> </html> |