1
0
Fork 0

Correct display of analytics id

This commit is contained in:
Brice Favre 2015-04-08 13:56:36 +02:00
parent aa982cd6f8
commit 0f3895c9f0

View file

@ -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 %}
{% endif %}