Commit a1153728af36026687a62b55514befa37c51a4d4
1 parent
130dffde
ga
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
backend/views/report/index.php
@@ -44,8 +44,8 @@ if (isset($_SESSION['access_token']) && $_SESSION['access_token']) { | @@ -44,8 +44,8 @@ if (isset($_SESSION['access_token']) && $_SESSION['access_token']) { | ||
44 | $metric_2 = 'ga:users'; | 44 | $metric_2 = 'ga:users'; |
45 | $metric_3 = 'ga:CTR'; | 45 | $metric_3 = 'ga:CTR'; |
46 | $response_1 = getReport($analytics, $metric_1); | 46 | $response_1 = getReport($analytics, $metric_1); |
47 | - $response_1 = getReport($analytics, $metric_2); | ||
48 | - $response_1 = getReport($analytics, $metric_3); | 47 | + $response_2 = getReport($analytics, $metric_2); |
48 | + $response_3 = getReport($analytics, $metric_3); | ||
49 | 49 | ||
50 | // Вывод ответа. | 50 | // Вывод ответа. |
51 | printResults($response_1); | 51 | printResults($response_1); |