Fix GA anonymizeIp order

This commit is contained in:
Bjørn Erik Pedersen
2018-05-25 16:05:45 +02:00
parent a51945ea4b
commit 4ed1228d55
3 changed files with 4 additions and 4 deletions

View File

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