# Screen events

User.com SDK allows to tracks user activity across the app by gathering data on what screens did the user visit.

To implement page visiting UIViewControllers should call trackScreen on viewDidLoad or simmilar lifecycle method, like in the code below:

  • Swift
  • Objective C
override func viewDidLoad() {

    UserSDK.default?.trackScreen(with:Home Screen)

To enable screen tracking you have to enable it in SDK configuration, see Installation section.