remove unused ace javascript, add google analytics

This commit is contained in:
Joshua Simmons 2017-08-13 17:43:23 -07:00
parent 9a1a534d19
commit 7d277b33ec

View file

@ -2,9 +2,18 @@
{% load staticfiles %} {% load staticfiles %}
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/ace/1.2.0/ace.js"></script>
{% compress js %} {% compress js %}
<script src='{% static "bootstrap/javascripts/bootstrap.min.js" %}'></script> <script src='{% static "bootstrap/javascripts/bootstrap.min.js" %}'></script>
<script src='{% static "js/site.js" %}'></script> <script src='{% static "js/site.js" %}'></script>
{% endcompress %} {% endcompress %}
<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','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-104537423-1', 'auto');
ga('send', 'pageview');
</script>