Piwik\Plugins\PrivacyManager\API::activateDoNotTrack PHP Method

activateDoNotTrack() public method

public activateDoNotTrack ( )
    public function activateDoNotTrack()
    {
        Piwik::checkUserHasSuperUserAccess();
        $dntChecker = new DoNotTrackHeaderChecker();
        $dntChecker->activate();
        return true;
    }