mirror of
https://github.com/status-im/fathom.git
synced 2025-02-28 19:10:36 +00:00
Merge pull request #15 from da2x/patch-1
Correct doNotTrack property name
This commit is contained in:
commit
7d47cd899f
@ -34,7 +34,7 @@ function trackPageview() {
|
||||
}
|
||||
|
||||
// Respect "Do Not Track" requests
|
||||
if(navigator.DoNotTrack === "1") {
|
||||
if('doNotTrack' in navigator && navigator.doNotTrack === "1") {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user