for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Yandex PHP Library
*
* @copyright NIX Solutions Ltd.
* @link https://github.com/nixsolutions/yandex-php-library
*/
* @namespace
namespace Yandex\Metrica\Analytics;
use Yandex\Metrica\MetricaClient;
class AnalyticsClient extends MetricaClient
{
* API domain
* @var string
protected $serviceDomain = 'api-metrika.yandex.ru/analytics/v3/data';
public function ga()
return new GaClient($this->getAccessToken());
}