diff --git a/templates/analytics.html b/templates/analytics.html
new file mode 100644
index 0000000..50c5b05
--- /dev/null
+++ b/templates/analytics.html
@@ -0,0 +1,45 @@
+{% if GOOGLE_ANALYTICS %}
+
+{% endif %}
+{% if GAUGES %}
+
+{% endif %}
+{% if PIWIK_URL and PIWIK_SITE_ID %}
+
diff --git a/templates/base.html b/templates/base.html
index 2cee666..e5af0ba 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -164,6 +164,8 @@
+ {% include 'analytics.html' %}
+ {% include 'disqus_script.html' %}