Skip to main content

Tracking settings

Understand the different tracking states offered by Apptics.

Manage tracking states

Usage tracking generally refers to tracking the Events, Page views, and Sessions. You can enable or disable tracking for your web apps using the apptics.setTrackingStatus().

Copiedapptics.setTrackingStatus(status);
  • status: Use apptics.AP_TRACKING_STATUS enum values to specify the tracking status (e.g., ENABLED or DISABLED).

Get current tracking state

Using this method, you can ensure that the application behaves in the intended manner based on user preference or other criteria.

The current state enum can be fetched using the below snippet.

Copiedapptics.getTrackingStatus();