X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/a9eef437702d5df7a2f97010e6798c689371808c..07ab188d70f8e090ad79090fb467b7f1c1d72ef9:/forum/skins/default/templates/footer.html?ds=inline
diff --git a/forum/skins/default/templates/footer.html b/forum/skins/default/templates/footer.html
index 89d4801..e8af78f 100644
--- a/forum/skins/default/templates/footer.html
+++ b/forum/skins/default/templates/footer.html
@@ -1,28 +1,30 @@
-
{% load extra_tags %}
{% load i18n %}
-
+
-
{% if settings.GOOGLE_ANALYTICS_KEY %}
-
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', '{{ settings.GOOGLE_ANALYTICS_KEY }}']);
+ _gaq.push(['_trackPageview']);
+
+ (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';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();
+
{% endif %}
-
+