Свойство | Type | Description | |
---|---|---|---|
$dimensions |
Свойство | Type | Description | |
---|---|---|---|
$goalManager | |||
$request | |||
$requestProcessors | Piwik\Tracker\RequestProcessor[] | ||
$userSettings | Piwik\Tracker\Settings | ||
$visitProperties | Piwik\Tracker\Visit\VisitProperties |
Méthode | Description | |
---|---|---|
__construct ( ) | ||
generateUniqueVisitorId ( ) : string | ||
handle ( ) | Main algorithm to handle the visit. | |
isHostKnownAliasHost ( $urlHost, $idSite ) | is the host any of the registered URLs for this website? | |
setRequest ( |
Méthode | Description | |
---|---|---|
getAllVisitDimensions ( ) | ||
getSettingsObject ( ) : Piwik\Tracker\Settings | Gets the UserSettings object | |
getTimeSpentReferrerAction ( ) : integer | ||
getVisitorIdcookie ( ) : string | Returns visitor cookie | |
getVisitorIp ( ) : string | Returns the visitor's IP address | |
handleExistingVisit ( $visitIsConverted ) | In the case of a known visit, we have to do the following actions: | |
handleNewVisit ( boolean $visitIsConverted ) | In the case of a new visit, we have to do the following actions: | |
insertNewVisit ( $visit ) | ||
updateExistingVisit ( $valuesToUpdate ) |
Méthode | Description | |
---|---|---|
getExistingVisitFieldsToUpdate ( $visitIsConverted ) : array | Gather fields=>values that needs to be updated for the existing visit in log_visit | |
getModel ( ) | ||
getTimezoneForSite ( $idSite ) | ||
getVisitStandardLength ( ) | ||
makeVisitorFacade ( ) | ||
markArchivedReportsAsInvalidIfArchiveAlreadyFinished ( ) | ||
printVisitorInformation ( ) | ||
setIdVisitorForExistingVisit ( $valuesToUpdate ) : mixed | ||
setNewVisitorInformation ( ) | ||
toCanonicalHost ( $host ) | ||
triggerHookOnDimensions ( Piwik\Plugin\Dimension\VisitDimension[] $dimensions, string $hook, array | null $valuesToUpdate = null ) : array | null | ||
triggerPredicateHookOnDimensions ( $dimensions, $hook ) |
public static generateUniqueVisitorId ( ) : string | ||
Résultat | string | returns random 16 chars hex string |
protected getSettingsObject ( ) : Piwik\Tracker\Settings | ||
Résultat | Piwik\Tracker\Settings |
protected getTimeSpentReferrerAction ( ) : integer | ||
Résultat | integer | Time in seconds |
protected getVisitorIdcookie ( ) : string | ||
Résultat | string | binary |
protected getVisitorIp ( ) : string | ||
Résultat | string |
public handle ( ) |
protected handleExistingVisit ( $visitIsConverted ) | ||
$visitIsConverted |
protected handleNewVisit ( boolean $visitIsConverted ) | ||
$visitIsConverted | boolean |
public static isHostKnownAliasHost ( $urlHost, $idSite ) |
protected updateExistingVisit ( $valuesToUpdate ) | ||
$valuesToUpdate |
protected GoalManager,Piwik\Tracker $goalManager | ||
Résultat |
protected RequestProcessor[],Piwik\Tracker $requestProcessors | ||
Résultat | Piwik\Tracker\RequestProcessor[] |
protected Settings,Piwik\Tracker $userSettings | ||
Résultat | Piwik\Tracker\Settings |