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);