add in basic analytics
This commit is contained in:
parent
c1f806e436
commit
3882979af0
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
rm -R /app/staticfiles/*
|
||||||
python /app/manage.py collectstatic --noinput
|
python /app/manage.py collectstatic --noinput
|
||||||
python /app/manage.py compilescss
|
python /app/manage.py compilescss
|
||||||
|
|
||||||
|
|
|
@ -169,7 +169,12 @@
|
||||||
{% compress js %}
|
{% compress js %}
|
||||||
<script src="{% static 'js/project.js' %}"></script>
|
<script src="{% static 'js/project.js' %}"></script>
|
||||||
{% endcompress %}
|
{% endcompress %}
|
||||||
|
<script>
|
||||||
|
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};
|
||||||
|
ga('create', 'UA-63373181-1', 'auto');
|
||||||
|
ga('set', 'transport', 'beacon');
|
||||||
|
ga('send', 'pageview');
|
||||||
|
</script>
|
||||||
{% endblock javascript %}
|
{% endblock javascript %}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue