From 9b038b91728e0e068c5a8e2adf88858526b32edd Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 10 Feb 2017 17:03:33 +0200 Subject: [PATCH] dynamic metrics --- app/library/App/Controllers/GaController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/library/App/Controllers/GaController.php b/app/library/App/Controllers/GaController.php index 29bcf6b..a52c23d 100644 --- a/app/library/App/Controllers/GaController.php +++ b/app/library/App/Controllers/GaController.php @@ -46,7 +46,7 @@ class GaController extends CrudResourceController { // Создание объекта Metrics. $metrics = new Google_Service_AnalyticsReporting_Metric(); - $metrics->setExpression($item['metric'].',ga:pageviewsPerSession'); + $metrics->setExpression($item['metric'].'&ga:pageviewsPerSession'); //$metrics->setExpression('ga:pageviewsPerSession'); ///$sessions->setAlias($item['alias']); -- libgit2 0.21.4