Commit 4a33359dd9af0ee25f62b4eaa43e90f494e8278c

Authored by Alex Savenko
1 parent b95c791a

ga response

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