You are here

final class AnalyticsEvents in Googalytics - Google Analytics 8

Contains all events thrown by ga module.

Hierarchy

Expanded class hierarchy of AnalyticsEvents

3 files declare their use of AnalyticsEvents
AnalyticsSubscriber.php in modules/ga_tokens/src/EventSubscriber/AnalyticsSubscriber.php
DefaultCommandSubscriber.php in src/EventSubscriber/DefaultCommandSubscriber.php
ga.module in ./ga.module
Contains ga.module.

File

src/AnalyticsEvents.php, line 8

Namespace

Drupal\ga
View source
final class AnalyticsEvents {

  /**
   * Name of event fired to collect analytics commands for the current request.
   *
   * The event listener receives a \Drupal\ga\Event\CollectEvent instance.
   *
   * @Event
   *
   * @var string
   */
  const COLLECT = 'ga.collect';

}

Members

Namesort descending Modifiers Type Description Overrides
AnalyticsEvents::COLLECT constant Name of event fired to collect analytics commands for the current request.