Kurt\Google\Analytics\Traits\Filters\GoogleCommonFilters::getAllTrafficSources_Goals PHP Метод

getAllTrafficSources_Goals() публичный Метод

This query returns data for the first and all goals defined, sorted by total goal completions in descending order.
public getAllTrafficSources_Goals ( array $parameters = [], $parseResult = true ) : array
$parameters array Parameters you may want to overwrite.
Результат array
    public function getAllTrafficSources_Goals($parameters = [], $parseResult = true)
    {
        $this->setParams(['metrics' => 'ga:sessions,ga:goal1Starts,ga:goal1Completions,ga:goal1Value,ga:goalStartsAll,ga:goalCompletionsAll,ga:goalValueAll', 'dimensions' => 'ga:source,ga:medium', 'sort' => '-ga:goalCompletionsAll']);
        return $this->execute($parameters, $parseResult);
    }