We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2902827 commit 8fea375Copy full SHA for 8fea375
packages/common/utils/analytics.js
@@ -3,9 +3,9 @@ import VERSION from 'common/version';
3
export const DNT =
4
typeof window !== 'undefined' &&
5
!!(
6
- window.doNotTrack ||
7
- window.navigator.doNotTrack ||
8
- window.navigator.msDoNotTrack
+ window.doNotTrack === '1' ||
+ window.navigator.doNotTrack === '1' ||
+ window.navigator.msDoNotTrack === '1'
9
);
10
11
export function identify(key, value) {
0 commit comments