public function widgetGoalReport()
{
$idGoal = Common::getRequestVar('idGoal', '', 'string');
if ($idGoal === Piwik::LABEL_ID_GOAL_IS_ECOMMERCE_ORDER) {
$_GET['containerId'] = 'EcommerceOverview';
} elseif (!empty($idGoal)) {
$_GET['containerId'] = 'Goal_' . (int) $idGoal;
} else {
return '';
}
return FrontController::getInstance()->fetchDispatch('CoreHome', 'renderWidgetContainer');
}