Fixed syntax error in analytics.html

This commit is contained in:
Tom Price
2015-03-13 15:28:34 +00:00
parent 2ae6e305e2
commit 64d6d134b6
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
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');
{% if user.is_authenticated %}
ga('create', 'UA-43285686-12', {'userId': '{% user.pk %}'});
ga('create', 'UA-43285686-12', {'userId': '{{ user.pk }}'});
{% else %}
ga('create', 'UA-43285686-12');
{% endif %}