We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61a67c5 commit 195fcbaCopy full SHA for 195fcba
src/vector/index.js
@@ -280,10 +280,7 @@ async function loadApp() {
280
} else if (validBrowser) {
281
UpdateChecker.start();
282
283
- let doNotTrack = navigator.doNotTrack;
284
- if (typeof navigator.doNotTrack === 'string') {
285
- doNotTrack = navigator.doNotTrack === 'yes';
286
- }
+ const doNotTrack = navigator.doNotTrack === 'yes' || navigator.doNotTrack === '1' || navigator.doNotTrack === 1;
287
if (!doNotTrack && configJson.piwik && configJson.piwik.url && configJson.piwik.siteId) {
288
(function() {
289
const g = document.createElement('script');
0 commit comments