Add no-cookie variants of the Google Analytics templates
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Fri, 25 May 2018 12:52:06 +0000 (14:52 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Fri, 25 May 2018 13:56:10 +0000 (15:56 +0200)
commita51945ea4b99d17501d73cf3367926683e4a4dfd
tree730552e112274a2cdc3c3e0f1b1ff2f365107d81
parent7b9dbef41acfc619754d5a2a342a00e37f6f96e0
Add no-cookie variants of the Google Analytics templates

The current full set of options for GA is now:

```toml
[privacy]
[privacy.googleAnalytics]
disable = false
respectDoNotTrack = true
anonymizeIP = true
useSessionStorage = true
```

Fixes #4775
config/privacy/privacyConfig.go
config/privacy/privacyConfig_test.go
tpl/tplimpl/embedded/templates.autogen.go
tpl/tplimpl/embedded/templates/google_analytics.html
tpl/tplimpl/embedded/templates/google_analytics_async.html