Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrobocoder <anthon.pang@gmail.com>2012-05-12 18:56:11 +0400
committerrobocoder <anthon.pang@gmail.com>2012-05-12 18:56:11 +0400
commit5c56dd3cb8804ceb4d4dcaab523657d7d5b1ad8d (patch)
tree1a55a8f0ae6596e7487b64cf7c4752edb3749a8c /plugins/DoNotTrack
parentfe4218b3b6856b9c2d93ffd0888f1128a3668203 (diff)
refs #2048 - add TPE draft Tk header
git-svn-id: http://dev.piwik.org/svn/trunk@6259 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'plugins/DoNotTrack')
-rw-r--r--plugins/DoNotTrack/DoNotTrack.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/DoNotTrack/DoNotTrack.php b/plugins/DoNotTrack/DoNotTrack.php
index 2eff7d7a81..cfee09c04b 100644
--- a/plugins/DoNotTrack/DoNotTrack.php
+++ b/plugins/DoNotTrack/DoNotTrack.php
@@ -58,6 +58,11 @@ class Piwik_DoNotTrack extends Piwik_Plugin
$trackingCookie = Piwik_Tracker_IgnoreCookie::getTrackingCookie();
$trackingCookie->delete();
+
+ // this is an optional supplement to the site's tracking status resource at:
+ // /.well-known/dnt
+ // per Tracking Preference Expression (draft)
+ header('Tk: 1');
}
}
}