summaryrefslogtreecommitdiff
path: root/_includes
diff options
context:
space:
mode:
Diffstat (limited to '_includes')
-rw-r--r--_includes/extensions/google-analytics.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/_includes/extensions/google-analytics.html b/_includes/extensions/google-analytics.html
index a73c860..a3b6d85 100644
--- a/_includes/extensions/google-analytics.html
+++ b/_includes/extensions/google-analytics.html
@@ -14,6 +14,6 @@
ga('send', 'pageview');
}
}
- initGoogleAnalytics();
+ window.addEventListener("load", initGoogleAnalytics);
</script>