Disabling automatic Interaction tracking
Disable automatic Interaction tracking by calling the mxoAutomaticInteractionTrackingConfiguration
Kotlin top-level function or the MedalliaMXO.setAutomaticInteractionTrackingConfiguration
Java method with the appropriate configuration, as shown below:
import com.medallia.mxo.automatic.MXOAutomaticInteractionTrackingConfiguration.Companion.copy
import com.medallia.mxo.mxoAutomaticInteractionTrackingConfiguration
// Disabling the automatic Interaction tracking.
mxoAutomaticInteractionTrackingConfiguration = mxoAutomaticInteractionTrackingConfiguration.copy {
disableInteractionTracking = true
}
// Updating the automatic Interaction tracking configuration.
mxoAutomaticInteractionTrackingConfiguration = mxoAutomaticInteractionTrackingConfiguration.copy {
disableInteractionTracking = false
}
import com.medallia.mxo.MedalliaMXO;
import com.medallia.mxo.automatic.MXOAutomaticInteractionTrackingConfiguration;
// Disabling the automatic Interaction tracking.
final MXOAutomaticInteractionTrackingConfiguration interactionTrackingConfiguration= new MXOAutomaticInteractionTrackingConfiguration.Builder()
.disableInteractionTracking(true)
.build();
MedalliaMXO.setAutomaticInteractionTrackingConfiguration(interactionTrackingConfiguration);
// Updating the automatic Interaction tracking configuration.
MXOAutomaticInteractionTrackingConfiguration currentConfiguration = MedalliaMXO.getAutomaticInteractionTrackingConfiguration();
MXOAutomaticInteractionTrackingConfiguration.Builder builder = currentConfiguration != null ?currentConfiguration.builder() : new MXOAutomaticInteractionTrackingConfiguration.Builder();
MXOAutomaticInteractionTrackingConfiguration updatedConfiguration = builder
.disableInteractionTracking(false)
.build();
MedalliaMXO.setAutomaticInteractionTrackingConfiguration(updatedConfiguration);