You are here

public function GoogleAnalyticsCounterFeed::querySegments in Google Analytics Counter 8.3

Query Management API - Segments.

This method is not in use.

File

src/GoogleAnalyticsCounterFeed.php, line 502

Class

GoogleAnalyticsCounterFeed
Authorize access and request data from Google Analytics Core Reporting API.

Namespace

Drupal\google_analytics_counter

Code

public function querySegments($params = array(), $cache_options = array()) {
  $this
    ->setQueryPath('management/segments');
  $this
    ->query($this->queryPath, $params, 'GET', $this
    ->generateAuthHeader(), $cache_options);
  return $this;
}