Trigger - 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:

[ForeSee incrementPageViews];

Not Counting Page Views

On the other hand, you may have your own container controllers that should not be counted. In that case, you should adopt the SRViewChangeDefinition protocol and implement the following method:

- (BOOL)shouldCountPageViews {
  return NO;

Other articles in this section:

  1. Trigger Overview
  2. Invite Modes
  3. Repeat Days
  4. Sampling
  5. Multiple Measures
  6. CPP's
  7. Localization
  8. SDK Events
  9. Page views (current article)
  10. Custom Invites