trackPageView method
Implementation
void trackPageView(SAPageInfo pageInfo) {
if (!SAAutoTrackManager.instance.pageViewEnabled) {
return;
}
Map<String, dynamic> properties = _getPropertiesFromPageInfo(pageInfo);
properties.addAll(pageInfo.properties ?? {});
properties[r'$lib_method'] = 'autoTrack';
SensorsAnalyticsFlutterPlugin.track(kIsWeb ? r'$pageview' : r'$AppViewScreen', properties);
}