Update _includes/head.html

Co-Authored-By: Patrick Marsceill <pmarsceill@users.noreply.github.com>
This commit is contained in:
R.Brown 2020-04-24 19:44:25 +02:00 committed by GitHub
parent 25331a5ffa
commit 17cf72bd33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '{{ site.ga_tracking }}'{% if site.ga_tracking_anonymize_ip %}, { 'anonymize_ip': true }{% endif %});
gtag('config', '{{ site.ga_tracking }}'{% unless site.ga_tracking_anonymize_ip == nil %}, { 'anonymize_ip': true }{% endunless %});
</script>
{% endif %}