diff --git a/app/library/App/Controllers/GaController.php b/app/library/App/Controllers/GaController.php index 28e62d0..f267b8e 100644 --- a/app/library/App/Controllers/GaController.php +++ b/app/library/App/Controllers/GaController.php @@ -46,8 +46,9 @@ class GaController extends CrudResourceController { // Создание объекта Metrics. $metrics = new Google_Service_AnalyticsReporting_Metric(); - $metrics->setExpression($item['metric'].',ga:pageviewsPerSession'); - //$sessions->setAlias($item['alias']); + $metrics->setExpression($item['metric'].'/ga:pageviewsPerSession'); + //$metrics->setExpression('ga:pageviewsPerSession'); + ///$sessions->setAlias($item['alias']); // Создание объекта ReportRequest. -- libgit2 0.21.4