Inherits from UIViewController
Declared in GAITrackedViewController.h

Overview

Extends UIViewController to generate Google Analytics view tracking calls whenever the view appears; this is done by overriding the viewDidAppear: method. The view name must be set for any tracking calls to be made.

By default, this will use [GAI defaultTracker] for tracking calls, but one can override this by setting the tracker property.

Tasks

Properties

trackedViewName

The view name, for purposes of Google Analytics view tracking. If this is nil, no tracking calls will be made.

@property (nonatomic, copy) NSString *trackedViewName

Declared In

GAITrackedViewController.h

tracker

The tracker on which view tracking calls are be made, or nil, in which case [GAI defaultTracker] will be used.

@property (nonatomic, assign) id<GAITracker> tracker

Declared In

GAITrackedViewController.h