optOutDataTracking

open fun optOutDataTracking(context: Context, shouldOptOutDataTracking: Boolean)

Optionally opt-out of data tracking. When data tracking is opted out no event or user attribute is tracked on MoEngage Platform.

Parameters

context

Application context.

shouldOptOutDataTracking

true if you don't want to track user data, else false.