From 17cf72bd3327fcdf6e17193c24f506b5b5e9cae2 Mon Sep 17 00:00:00 2001
From: "R.Brown" <ready.brown@hotmail.de>
Date: Fri, 24 Apr 2020 19:44:25 +0200
Subject: [PATCH] Update _includes/head.html

Co-Authored-By: Patrick Marsceill <pmarsceill@users.noreply.github.com>
---
 _includes/head.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/_includes/head.html b/_includes/head.html
index 67e7b056..a56304c6 100644
--- a/_includes/head.html
+++ b/_includes/head.html
@@ -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 %}
-- 
GitLab