Page Views
Counting Page Views
The ForeSee® SDK automatically tracks "page views" for use with the pageViews
configuration criteria. In general, a "page view" is counted when a view controller is loaded (ignoring some hierarchical controllers, e.g. UINavigationController
). In some cases, you may want to manually count your own page views (e.g., when loading a custom view). This can be done using:
[ForeSeeCxMeasure incrementPageViews];
Not Counting Page Views
Conversely, you may have your own container controllers that should not be counted. In this case, you can adopt the SRViewChangeDefinition
protocol and implement the following method:
- (BOOL)shouldCountPageViews {
return NO;
}
Updated over 2 years ago