Added switch to turn on/off UIViewController viewDidAppear event tracking.