You are here

public function Pageview::__construct in Googalytics - Google Analytics 8

Create constructor.

Parameters

array $fields_object: A map of values for the command's fieldsObject parameter.

string $tracker_name: The tracker name (optional).

int $priority: The command priority.

Overrides Send::__construct

File

src/AnalyticsCommand/Pageview.php, line 26

Class

Pageview
Class Pageview.

Namespace

Drupal\ga\AnalyticsCommand

Code

public function __construct(array $fields_object = [], $tracker_name = NULL, $priority = self::DEFAULT_PRIORITY) {
  parent::__construct('pageview', $fields_object, $tracker_name, $priority);
}