diff options
author | Sheogorath | 2019-07-20 12:50:13 +0200 |
---|---|---|
committer | GitHub | 2019-07-20 12:50:13 +0200 |
commit | 1bfed17f8ca4c0e060e204cb0764972b18df29cc (patch) | |
tree | de6a8280f69b1e9b109f321c7e120baf84e029e4 /public/views/shared | |
parent | 2f6e81e4db79dd24199c18470006722a0d191dea (diff) | |
parent | da4665c7590616dd3d17baf4488006dac98eeee4 (diff) |
Merge pull request #104 from SISheogorath/feature/dnt
Respect DNT header
Diffstat (limited to '')
-rw-r--r-- | public/views/shared/ga.ejs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/views/shared/ga.ejs b/public/views/shared/ga.ejs index 27abb742..f6b807fb 100644 --- a/public/views/shared/ga.ejs +++ b/public/views/shared/ga.ejs @@ -1,4 +1,4 @@ -<% if(typeof GA !== 'undefined' && GA) { %> +<% if(typeof GA !== 'undefined' && GA && !dnt) { %> <script nonce="<%= cspNonce %>"> (function (i, s, o, g, r, a, m) { i['GoogleAnalyticsObject'] = r; |