Configuring Opt-outs

By default, SDK tracks certain device identifiers like GAID, Android-id, activity names, etc. If required you can choose to opt-out of this tracking by using the TrackingOptOutConfig.
Refer to the API reference of TrackingOptOutConfig for more details on the available opt-outs. Use the configureTrackingOptOut() to pass on the configuration to the SDK.

Kotlin Java
val trackingOptOut = mutableSetOf<Class<*>>()
val trackingOptOutConfig = TrackingOptOutConfig(
    isCarrierTrackingEnabled = true,
    isDeviceAttributeTrackingEnabled = true,

val moengage = MoEngage.Builder(application, appId)
Was this article helpful?
0 out of 0 found this helpful

How can we improve this article?