1
0
mirror of https://github.com/thangisme/notes.git synced 2024-12-21 11:06:27 -05:00

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

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 %}