projects
/
pgzypp-website.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
580b871
)
Fallback to DNT == 0 if not set.
author
Dave Page
<dpage@pgadmin.org>
Thu, 2 Jul 2020 13:51:29 +0000
(14:51 +0100)
committer
Dave Page
<dpage@pgadmin.org>
Thu, 2 Jul 2020 13:51:29 +0000
(14:51 +0100)
templates/base.html
patch
|
blob
|
blame
|
history
diff --git
a/templates/base.html
b/templates/base.html
index bf4ab3ce4c97806895bbf3b138d70c3434fe96f9..9e380056be5485a10928fd78786c73a843837e2e 100644
(file)
--- a/
templates/base.html
+++ b/
templates/base.html
@@
-3,7
+3,7
@@
<head>
<!-- Google Tag Manager -->
<script>
- var DNT = navigator.doNotTrack || window.doNotTrack || navigator.msDoNotTrack || window.msDoNotTrack;
+ var DNT = navigator.doNotTrack || window.doNotTrack || navigator.msDoNotTrack || window.msDoNotTrack
|| "0"
;
if ((DNT == "1") || (DNT == "yes")) {
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],