Getting TID

Retrieving the current tid can be useful if you want to monitor the current user in Medallia Experience Orchestration. The tid can also be used if you need to pass the identity of the current user to another system which sends data to Medallia Experience Orchestration.

To get the current tid used by the SDK, call:

import com.medallia.mxo.mxoGetTid

val tid = mxoGetTid()
import com.medallia.mxo.MedalliaMXO

String tid = MedalliaMXO.getTid();

This will return the tid assigned to the current user as a String.