From 01cedd15521983a44b9a0d98deae37fea873236e Mon Sep 17 00:00:00 2001 From: Azgaar Date: Fri, 8 Oct 2021 00:18:10 +0300 Subject: [PATCH] umami - noTrack from filesystem --- libs/umami.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/umami.js b/libs/umami.js index 5ef2dfb3..26bf180d 100644 --- a/libs/umami.js +++ b/libs/umami.js @@ -1,5 +1,5 @@ (window => { - const noTrack = window.localStorage.getItem("noTrack"); + const noTrack = !location.hostname || window.localStorage.getItem("noTrack"); const { screen: {width, height},