Метод | Описание | |
---|---|---|
__construct ( Piwik\Plugins\PrivacyManager\Config $config = null ) | ||
activate ( ) | Activates DoNotTrack header checking. This function will not be called by the Tracker. | |
checkHeaderInTracker ( &$exclude ) | Checks for DoNotTrack headers and if found, sets $exclude to true. | |
deactivate ( ) | Deactivates DoNotTrack header checking. This function will not be called by the Tracker. | |
isActive ( ) : boolean | Returns true if server side DoNotTrack support is enabled, false if otherwise. | |
isDoNotTrackFound ( ) : boolean |
Метод | Описание | |
---|---|---|
getBrowsersWithDNTAlwaysEnabled ( ) : array | Some browsers have DNT enabled by default. For those we will ignore DNT and always track those users. | |
isHeaderDntFound ( ) : boolean | ||
isUserAgentWithDoNotTrackAlwaysEnabled ( $userAgent ) : boolean |
public __construct ( Piwik\Plugins\PrivacyManager\Config $config = null ) | ||
$config | Piwik\Plugins\PrivacyManager\Config |
public activate ( ) |
public checkHeaderInTracker ( &$exclude ) |
public deactivate ( ) |
protected getBrowsersWithDNTAlwaysEnabled ( ) : array | ||
Результат | array |
protected isUserAgentWithDoNotTrackAlwaysEnabled ( $userAgent ) : boolean | ||
$userAgent | ||
Результат | boolean |