aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/templates/analytics.html
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/templates/analytics.html')
-rw-r--r--bootstrap/templates/analytics.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/bootstrap/templates/analytics.html b/bootstrap/templates/analytics.html
new file mode 100644
index 0000000..62f8511
--- /dev/null
+++ b/bootstrap/templates/analytics.html
@@ -0,0 +1,3 @@
+{% if GOOGLE_ANALYTICS %}
+<script>var _gaq=[['_setAccount','{{GOOGLE_ANALYTICS}}'],['_trackPageview']];(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'))</script>
+{% endif %} \ No newline at end of file