Add extra analytics code to certain pages

This commit is contained in:
Trever Fischer
2012-04-17 13:15:57 -04:00
parent d1c93cd675
commit 46a6c47127

View File

@@ -43,6 +43,8 @@ s.parentNode.insertBefore(po, s);
{% endif %}
1]);
{% block extraAnalytics %}{% endblock %}
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';