diff --git a/app/library/App/Bootstrap/RouteBootstrap.php b/app/library/App/Bootstrap/RouteBootstrap.php index c791c6e..7c49fb0 100755 --- a/app/library/App/Bootstrap/RouteBootstrap.php +++ b/app/library/App/Bootstrap/RouteBootstrap.php @@ -60,8 +60,8 @@ class RouteBootstrap implements BootstrapInterface $client = new Google_Client(); $client->useApplicationDefaultCredentials(); $client->setScopes(['https://www.googleapis.com/auth/analytics.readonly']); - //$api_key = 'AIzaSyCgyPQhOmGEwyAdZ0uS6fJLLvnNxgncfy0'; - //$client->setDeveloperKey($api_key); + $api_key = 'AIzaSyBNYr7n7bcHbO-sJ9xuWwS9xQ2OY5aFAiE'; + $client->setDeveloperKey($api_key); $analytics = new Google_Service_AnalyticsReporting($client); $param[] = ['metric' => 'ga:sessions', 'alias' => 'Сессии']; -- libgit2 0.21.4