From 0f3895c9f0f527ae78999492fd58c13ebad585fb Mon Sep 17 00:00:00 2001 From: Brice Favre <brice.favre@gmail.com> Date: Wed, 8 Apr 2015 13:56:36 +0200 Subject: [PATCH] Correct display of analytics id --- _includes/footer_scripts.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_includes/footer_scripts.html b/_includes/footer_scripts.html index d3141ac..ace1b49 100755 --- a/_includes/footer_scripts.html +++ b/_includes/footer_scripts.html @@ -16,9 +16,9 @@ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); - ga('create', '{{ if site.google_analytics_tracking_id }}', 'auto'); + ga('create', '{{ site.google_analytics_tracking_id }}', 'auto'); ga('set', 'anonymizeIp', true); ga('send', 'pageview'); </script> -{% endif %} \ No newline at end of file +{% endif %}