Commit e480c54f627c7cdc17b50d8b69bea8e88d86cd33
1 parent
e2dd35a7
dynamic metrics
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/library/App/Controllers/GaController.php
@@ -46,7 +46,7 @@ class GaController extends CrudResourceController { | @@ -46,7 +46,7 @@ class GaController extends CrudResourceController { | ||
46 | 46 | ||
47 | // Создание объекта Metrics. | 47 | // Создание объекта Metrics. |
48 | $metrics = new Google_Service_AnalyticsReporting_Metric(); | 48 | $metrics = new Google_Service_AnalyticsReporting_Metric(); |
49 | - $metrics->setExpression($item['metric'].'&ga:sessionsPerUser'); | 49 | + $metrics->setExpression($item['metric'].',ga:sessionsPerUser'); |
50 | //$metrics->setExpression('ga:pageviewsPerSession'); | 50 | //$metrics->setExpression('ga:pageviewsPerSession'); |
51 | ///$sessions->setAlias($item['alias']); | 51 | ///$sessions->setAlias($item['alias']); |
52 | 52 |