mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-27 22:09:53 +02:00
Fix GA anonymizeIp order
This commit is contained in:
@@ -22,8 +22,8 @@ if (!doNotTrack) {
|
||||
{{ else }}
|
||||
ga('create', '{{ . }}', 'auto');
|
||||
{{ end -}}
|
||||
{{ if $pc.AnonymizeIP }}ga('set', 'anonymizeIp', true);{{ end }}
|
||||
ga('send', 'pageview');
|
||||
{{ if $pc.AnonymizeIP }}ga('set', 'anonymizeIp', true);{{ end -}}
|
||||
}
|
||||
</script>
|
||||
{{ end }}
|
||||
|
Reference in New Issue
Block a user