diff --git a/assets/src/js/script.js b/assets/src/js/script.js index 968c37a..ddb5373 100644 --- a/assets/src/js/script.js +++ b/assets/src/js/script.js @@ -29,12 +29,9 @@ function request(url, cb) { } function trackPageview (postId) { - let {dnt, use_cookie, cookie_path} = win[ka] + let {use_cookie, cookie_path} = win[ka] if ( - // do not track if "Do Not Track" is enabled - (nav.doNotTrack == 1 && dnt) || - // do not track if this is a prerender request (doc.visibilityState == 'prerender') || diff --git a/code-snippets/ignore-do-not-track-browser-setting.php b/code-snippets/ignore-do-not-track-browser-setting.php deleted file mode 100644 index 0506e6f..0000000 --- a/code-snippets/ignore-do-not-track-browser-setting.php +++ /dev/null @@ -1,3 +0,0 @@ - $this->get_cookie_path(), - - // whether to honor DoNotTrack - 'dnt' => apply_filters('koko_analytics_honor_dnt', true), ); echo ''; }