Including identity transfer links
one-tid
URL query parameter to all links opened from a mobile app. To limit this behavior, and only append a one-tid
to a specific set of links to which the SDK should append a one-tid
, call the method shown below:const identityTransferConfig = {
includeList: [
{
value: new URL('https://medallia.com')
},
{
value: 'https://anothercompetitor.com'
}
]
}
MedalliaMXO.setIdentityTransferConfiguration(identityTransferConfig).then(() => {
// do something after the identity transfer configuration has been set
})
.catch((error) => {
// do something with the error
console.error(error)
})
When a link is included, a one-tid
URL query parameter will be appended to the included link only, superseding any excluded identity transfer links
empty list
or null
clears the existing list.