diff options
Diffstat (limited to 'tpl/tplimpl/embedded/templates/google_analytics.html')
-rwxr-xr-x | tpl/tplimpl/embedded/templates/google_analytics.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/tplimpl/embedded/templates/google_analytics.html b/tpl/tplimpl/embedded/templates/google_analytics.html index 429672a7e..08b60f45f 100755 --- a/tpl/tplimpl/embedded/templates/google_analytics.html +++ b/tpl/tplimpl/embedded/templates/google_analytics.html @@ -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 }} |