コード例 #1
0
ファイル: tracking.php プロジェクト: AmineCherrai/rostanvo
 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;
 }