/** * @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())); }
public function getLabel() { return parent::getLabel() . ' ' . $this->_nameEmail; }