From e480c54f627c7cdc17b50d8b69bea8e88d86cd33 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 10 Feb 2017 17:06:48 +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 2744bda..b8260cf 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:sessionsPerUser'); + $metrics->setExpression($item['metric'].',ga:sessionsPerUser'); //$metrics->setExpression('ga:pageviewsPerSession'); ///$sessions->setAlias($item['alias']); -- libgit2 0.21.4