public function getUrlTrackPageView($documentTitle = '')
    {
        $url = $this->getRequest($this->idSite);
        if (strlen($documentTitle) > 0) {
            $url .= '&action_name=' . urlencode($documentTitle);
        }

        return $url;
    }
public function getUrlTrackPageView($documentTitle = '')
    {
        $url = $this->getRequest($this->idSite);
        if (strlen($documentTitle) > 0) {
            $url .= '&action_name=' . urlencode($documentTitle);
        }

        return $url;
    }
public function getUrlTrackPageView ( $ documentTitle = '' ) { $ url = $ this -> getRequest ( $ this -> idSite ) ; if ( strlen ( $ documentTitle ) > 0 ) { $ url .= '&action_name=' . urlencode ( $ documentTitle ) ; } return $ url ; }
Builds URL to track a page view.

@see doTrackPageView()
@param string $documentTitle Page view name as it will appear in Piwik reports
@return string URL to piwik.php with all parameters set to track the pageview
Builds URL to track a page view .