summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-05-08 14:54:20 +0200
committerDimitri Sokolyuk <demon@dim13.org>2016-05-08 14:54:20 +0200
commit1a0a86c1641d5598e8a27f3e9482da5c9a93a5c4 (patch)
tree30f035a2b58ae1f8215c53f2cbd3cc44c242cd31
parentd2d285d98275467869e18b8d4df69c38141577ae (diff)
Async GA
-rw-r--r--template/root.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/root.tmpl b/template/root.tmpl
index 3afc1c5..5ada9e4 100644
--- a/template/root.tmpl
+++ b/template/root.tmpl
@@ -1,7 +1,7 @@
{{/* This template is combined with other templates to render blog pages. */}}
{{define "ga"}}
-<script>
+<script async>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)