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.
- Have one or more fragments inside an activity, and you need to tag fragment name instead of an activity.
- Want to define which views or activities should be considered screens or want to define different names.
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.
UXCam.tagScreenName(String screenName);
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:
UXCam.setAutomaticScreenNameTagging(boolean enable);
The API parameters are:
enable: Set to TRUE to enable automatic screen name tagging (the default) or FALSE to disable it.