remove unused ace javascript, add google analytics
This commit is contained in:
parent
9a1a534d19
commit
7d277b33ec
1 changed files with 10 additions and 1 deletions
|
@ -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>
|
Loading…
Reference in a new issue