private function recognizeVisitorParams() { if ($this->visitorIdParamExists() && !$this->accountIdParamExists()) { $this->setVisitorParams($this->visitParams->getVisitorId(), '', true); $this->allowDisplayJsNewVisitorId = false; return; } if ($this->visitorIdParamExists() && $this->accountIdParamExists()) { $this->setVisitorParams($this->visitParams->getVisitorId(), $this->visitParams->getAccountid(), true); $this->allowDisplayJsNewVisitorId = false; return; } if (!$this->visitorIdParamExists() && $this->accountIdParamExists()) { $this->setVisitorParams($this->getVisitorId(), $this->visitParams->getAccountId()); $this->allowDisplayJsNewVisitorId = true; return; } $this->setVisitorParams($this->getVisitorId()); $this->allowDisplayJsNewVisitorId = true; }