mirror of
https://github.com/status-im/fathom.git
synced 2025-03-01 03:20:27 +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
|
// Respect "Do Not Track" requests
|
||||||
if(navigator.DoNotTrack === "1") {
|
if('doNotTrack' in navigator && navigator.doNotTrack === "1") {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user