Exemplo n.º 1
0
 /**
  * @param CM_Action_Abstract $action
  */
 public function trackAction(CM_Action_Abstract $action)
 {
     if (0 === count($this->_getIdentityList()) && ($actor = $action->getActor())) {
         $this->setUserId($actor->getId());
     }
     $trackEventJob = new CMService_KissMetrics_TrackEventJob();
     $trackEventJob->queue(array('code' => $this->_getCode(), 'identityList' => $this->_getIdentityList(), 'eventName' => $action->getLabel(), 'propertyList' => $action->getTrackingPropertyList()));
 }
Exemplo n.º 2
0
 public function getLabel()
 {
     return parent::getLabel() . ' ' . $this->_nameEmail;
 }