public function getGoal($idSite, $idGoal)
    {
        Piwik::checkUserHasViewAccess($idSite);
        
        $goal = $this->getModel()->getActiveGoal($idSite, $idGoal);

        if (!empty($goal)) {
            return $this->formatGoal($goal);
        }
    }