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