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