public function getUrlTrackAction($actionUrl, $actionType)
    {
        $url = $this->getRequest($this->idSite);
        $url .= '&' . $actionType . '=' . urlencode($actionUrl);

        return $url;
    }
public function getUrlTrackAction($actionUrl, $actionType)
    {
        $url = $this->getRequest($this->idSite);
        $url .= '&' . $actionType . '=' . urlencode($actionUrl);

        return $url;
    }
public function getUrlTrackAction ( $ actionUrl , $ actionType ) { $ url = $ this -> getRequest ( $ this -> idSite ) ; $ url .= '&' . $ actionType . '=' . urlencode ( $ actionUrl ) ; return $ url ; }
Builds URL to track a new action.

@see doTrackAction()
@param string $actionUrl URL of the download or outlink
@param string $actionType Type of the action: 'download' or 'link'
@return string URL to piwik.php with all parameters set to track an action
Builds URL to track a new action .