Commit 8c7d284047f3271ad29f1fe3f11dffd3f0c67885
1 parent
4a33359d
ga response
Showing
1 changed file
with
3 additions
and
2 deletions
Show diff stats
app/library/App/Controllers/GaController.php
@@ -46,8 +46,9 @@ class GaController extends CrudResourceController { | @@ -46,8 +46,9 @@ 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:pageviewsPerSession'); | ||
50 | - //$sessions->setAlias($item['alias']); | 49 | + $metrics->setExpression($item['metric'].'/ga:pageviewsPerSession'); |
50 | + //$metrics->setExpression('ga:pageviewsPerSession'); | ||
51 | + ///$sessions->setAlias($item['alias']); | ||
51 | 52 | ||
52 | 53 | ||
53 | // Создание объекта ReportRequest. | 54 | // Создание объекта ReportRequest. |