add in basic analytics
This commit is contained in:
parent
c1f806e436
commit
3882979af0
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
rm -R /app/staticfiles/*
|
||||
python /app/manage.py collectstatic --noinput
|
||||
python /app/manage.py compilescss
|
||||
|
||||
|
|
|
@ -169,7 +169,12 @@
|
|||
{% compress js %}
|
||||
<script src="{% static 'js/project.js' %}"></script>
|
||||
{% 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 %}
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue