diff --git a/backend/views/report/index.php b/backend/views/report/index.php index ddaa354..8d8796a 100644 --- a/backend/views/report/index.php +++ b/backend/views/report/index.php @@ -65,11 +65,10 @@ function getReport($analytics) { $sessions = new Google_Service_AnalyticsReporting_Metric(); $sessions->setExpression("ga:sessions"); $sessions->setAlias("sessions"); - - // Создание объекта Sort. - $sessions = new Google_Service_AnalyticsReporting_Sort(); - $sessions->setExpression("ga:country,ga:browser"); - $sessions->setAlias("country,browser"); + $sessions->setExpression("ga:country"); + $sessions->setAlias("country"); + $sessions->setExpression("ga:browser"); + $sessions->setAlias("browser"); // Создание объекта ReportRequest. -- libgit2 0.21.4