UXCam captures the Screen (view controller/activity) name automatically. However, there are some cases where you will need to manually tag your screens to ensure you have them separately in your recordings and heatmaps.
Use our API to tag screens if you:
- Use OpenGL or have a game where the screens are dynamically shown.
- Use Flutter and NativeScript, since in these platforms everything runs on a single controller or activity. (MainController / MainActivity).
- Want to define which views or activities should be considered screens or want to define different names.
Note: Cross-platform frameworks often have inconsistent view controller/activity naming; it is recommended to manually tag your screens if you're using such frameworks.
Tag Screen Name
Please notice that if you Tag your screens manually you need to setAutomaticScreenNameTagging as false to avoid any collision with auto-tag functionality.
NSUXCam.tagScreenName: (screenName: string) => void
The API parameters are:
screenName: A String with name of the screen as required.
Control Automatic Tagging
To Enable or Disable the automatic screen tagging you should use:
NSUXCam.setAutomaticScreenNameTagging: (enable: boolean) => void
The API parameters are:
enable: Set to TRUE to enable automatic screen name tagging (the default) or FALSE to disable it.