feat: add PP default

This commit is contained in:
George Cushen committed 2024-01-16 22:36:03 +00:00
1 parent d9af47ca37
commit 51d09b0b6a
1 file changed
+1 -1
@@ -2,7 +2,7 @@
{{ if hugo.IsProduction | and $ga }}
{{ $gtag_config := cond site.Params.features.privacy_pack.enable "{ 'anonymize_ip': true }" "{}" }}
{{ $gtag_config := cond (site.Params.features.privacy_pack.enable | default false) "{ 'anonymize_ip': true }" "{}" }}
<script async src="https://www.googletagmanager.com/gtag/js?id={{$ga}}"></script>
<script>
window.dataLayer = window.dataLayer || [];