tracksPageViews property

bool get tracksPageViews

Returns true if current platform is Web and PageViewEvent tracking is enabled in trackerConfig.webActivityTracking configuration.

Indicates whether page view events will be tracked in any initialized observers. If false, screen view events will be tracked.

Implementation

bool get tracksPageViews {
  return kIsWeb &&
      (configuration
              .trackerConfig?.webActivityTracking?.trackPageViewsInObserver ??
          false);
}