From 5c56dd3cb8804ceb4d4dcaab523657d7d5b1ad8d Mon Sep 17 00:00:00 2001 From: robocoder Date: Sat, 12 May 2012 14:56:11 +0000 Subject: refs #2048 - add TPE draft Tk header git-svn-id: http://dev.piwik.org/svn/trunk@6259 59fd770c-687e-43c8-a1e3-f5a4ff64c105 --- plugins/DoNotTrack/DoNotTrack.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'plugins/DoNotTrack') 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'); } } } -- cgit v1.2.3