Property | Type | Description | |
---|---|---|---|
$dimensions |
Property | Type | Description | |
---|---|---|---|
$goalManager | |||
$request | |||
$requestProcessors | Piwik\Tracker\RequestProcessor[] | ||
$userSettings | Piwik\Tracker\Settings | ||
$visitProperties | Piwik\Tracker\Visit\VisitProperties |
Method | 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 ( |
Method | 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 ) |
Method | 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 | ||
return | string | returns random 16 chars hex string |
protected getSettingsObject ( ) : Piwik\Tracker\Settings | ||
return | Piwik\Tracker\Settings |
protected getTimeSpentReferrerAction ( ) : integer | ||
return | integer | Time in seconds |
protected getVisitorIdcookie ( ) : string | ||
return | string | binary |
protected getVisitorIp ( ) : string | ||
return | 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 | ||
return |
protected RequestProcessor[],Piwik\Tracker $requestProcessors | ||
return | Piwik\Tracker\RequestProcessor[] |
protected Settings,Piwik\Tracker $userSettings | ||
return | Piwik\Tracker\Settings |