aboutsummaryrefslogtreecommitdiffstats
path: root/tuxlite_tbs/templates/analytics.html
diff options
context:
space:
mode:
Diffstat (limited to 'tuxlite_tbs/templates/analytics.html')
-rw-r--r--tuxlite_tbs/templates/analytics.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/tuxlite_tbs/templates/analytics.html b/tuxlite_tbs/templates/analytics.html
new file mode 100644
index 0000000..62f8511
--- /dev/null
+++ b/tuxlite_tbs/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