Returns the ID of a visitor that is adjacent to another visitor (by time of last action)
in the log_visit table.
public queryAdjacentVisitorId ( integer $idSite, string $visitorId, string $visitLastActionTime, string $segment, boolean $getNext ) : string | ||
$idSite | integer | The ID of the site whose visits should be looked at. |
$visitorId | string | The ID of the visitor to get an adjacent visitor for. |
$visitLastActionTime | string | The last action time of the latest visit for $visitorId. |
$segment | string | |
$getNext | boolean | Whether to retrieve the next visitor or the previous visitor. The next visitor will be the visitor that appears chronologically later in the log_visit table. The previous visitor will be the visitor that appears earlier. |
return | string | The hex visitor ID. |