pageView method

void pageView(
  1. PageInfo pageInfo
)

Implementation

void pageView(PageInfo pageInfo) {
  if (!AutoTrackConfigManager.instance.autoTrackEnable) {
    return;
  }
  if (!AutoTrackConfigManager.instance.pageViewEnabled) {
    return;
  }

  Map<String, dynamic> params = _appendPageInfo({}, pageInfo);
  _TrackPlugin.pageView(params);
  AutoTrackLogger.getInstance().debug('track page_view => $params');
}