Correct display of analytics id
This commit is contained in:
parent
aa982cd6f8
commit
0f3895c9f0
1 changed files with 2 additions and 2 deletions
|
@ -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 %}
|
||||
|
|
Reference in a new issue