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(Map(), pageInfo);
  _TrackPlugin.pageview(params);
  RangersApplogLogger.getInstance().debug('track pageview => $params');
}