Enable/Disable Data Tracking
To stop the MoEngage SDK from tracking custom events or user attributes, use the disableDataTracking() API. The SDK continues to collect analytical data even when data tracking is disabled.Once you want to track events or user attributes, call the below API.
Enable/Disable SDK
To stop the MoEngage SDK from tracking any user information or sending any data to the MoEngage system, use the disableSdk() API.Once you have the user’s consent use the below API to enable the SDK.