PHP 클래스 Piwik\Tracker\VisitExcluded

파일 보기 프로젝트 열기: piwik/piwik 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Request $request )
isExcluded ( ) : boolean Test if the current visitor is excluded from the statistics.

보호된 메소드들

메소드 설명
getBotIpRanges ( )
isIgnoreCookieFound ( ) : boolean Looks for the ignore cookie that users can set in the Piwik admin screen.
isNonHumanBot ( ) : boolean Live/Bing/MSN bot and Googlebot are evolving to detect cloaked websites.
isPrefetchDetected ( )
isReferrerSpamExcluded ( ) : boolean Returns true if the Referrer is a known spammer.
isUrlExcluded ( ) : boolean Checks if request URL is excluded
isUserAgentExcluded ( ) : boolean Returns true if the specified user agent should be excluded for the current site or not.
isVisitorIpExcluded ( ) : boolean Checks if the visitor ip is in the excluded list

비공개 메소드들

메소드 설명
getGoogleBotIpRanges ( )
isChromeDataSaverUsed ( Piwik\Network\IP $ip )
isIpInRange ( )

메소드 상세

__construct() 공개 메소드

public __construct ( Request $request )
$request Request

getBotIpRanges() 보호된 메소드

protected getBotIpRanges ( )

isExcluded() 공개 메소드

Plugins can for example exclude visitors based on the - IP - If a given cookie is found
public isExcluded ( ) : boolean
리턴 boolean True if the visit must not be saved, false otherwise

isIgnoreCookieFound() 보호된 메소드

Looks for the ignore cookie that users can set in the Piwik admin screen.
protected isIgnoreCookieFound ( ) : boolean
리턴 boolean

isNonHumanBot() 보호된 메소드

As a result, these sophisticated bots exhibit characteristics of browsers (cookies enabled, executing JavaScript, etc).
또한 보기: DeviceDetector\Parser\Bot
protected isNonHumanBot ( ) : boolean
리턴 boolean

isPrefetchDetected() 보호된 메소드

protected isPrefetchDetected ( )

isReferrerSpamExcluded() 보호된 메소드

Returns true if the Referrer is a known spammer.
protected isReferrerSpamExcluded ( ) : boolean
리턴 boolean

isUrlExcluded() 보호된 메소드

Checks if request URL is excluded
protected isUrlExcluded ( ) : boolean
리턴 boolean

isUserAgentExcluded() 보호된 메소드

Visits whose user agent string contains one of the excluded_user_agents strings for the site being tracked (or one of the global strings) will be excluded.
protected isUserAgentExcluded ( ) : boolean
리턴 boolean

isVisitorIpExcluded() 보호된 메소드

Checks if the visitor ip is in the excluded list
protected isVisitorIpExcluded ( ) : boolean
리턴 boolean