com.medallia.mxo.identitytransfer

All of APIs listed on this page are in the com.medallia.mxo.identitytransfer package.

MXOIdentityTransferConfiguration

The configuration object for MXO SDK Identity Transfer.

import com.medallia.mxo.identitytransfer.MXOIdentityTransferUriMatcher;

public class MXOIdentityTransferConfiguration {
    	private Boolean disableIdentityTransfer;
    	private Set<MXOIdentityTransferUriMatcher> includeList;
    	private Set<MXOIdentityTransferUriMatcher> excludeList;

    	private MXOIdentityTransferConfiguration(boolean disableIdentityTransfer, Set<MXOIdentityTransferUriMatcher> includeList, Set<MXOIdentityTransferUriMatcher> excludeList) {
        	this.disableIdentityTransfer = disableIdentityTransfer;
        	this.includeList = includeList;
        	this.excludeList = excludeList;
    	}
}
PropertyTypeDescription
disableIdentityTransferBooleanSet to true to disable transfer of identity to outbound locations.
includeListSet<MXOIdentityTransferUriMatcher>The list of allowed URIs for identity transfer.
excludeListSet<MXOIdentityTransferUriMatcher>The list of denied URIs for identity transfer.

Create an instance using the Builder as shown below:

final MXOIdentityTransferConfiguration configuration = new MXOIdentityTransferConfiguration.Builder()
	.disableIdentityTransfer(false)
	.includeList(includeList)
	.excludeList (excludeList)
	.build()
Note: For more information, see how to disable/enable automatic identity transfer, or include or exclude an Interaction from tracking.

MXOIdentityTransferUriMatcher

Represents the different ways the MXO SDK will attempt to include or exclude URIs from having a tid query parameter and value appended, IE identity transfer.

If used in either excludeList or includeList, then exact or regex URI values will be compared.

import java.net.URI;
import kotlin.text.Regex;

public abstract class MXOIdentityTransferUriMatcher {

	public static final class ExactMatch extends MXOIdentityTransferUriMatcher {
        	private final URI value;

        	public ExactMatch(URI value) {
            		this.value = value;
        	}

        	public URI getValue() {
            		return value;
        	}
    	}

    	public static final class RegexMatch extends MXOIdentityTransferUriMatcher {
        	private final Regex value;

        	public RegexMatch(Regex value) {
            	this.value = value;
        	}

        	public Regex getValue() {
            		return value;
        	}
    	}
}
PropertyTypeDescription
valueURIThe exact/regex URI to match against the string representation of the URI by calling URI.toString.
Note: For more information, see how to use the exact/regex Uri matcher when including or excluding links from tracking.