Using same value on tntId and thirdPartyId to deliver consistent experiences
Hi everyone,
We are using the Adobe Target server-side SDK to fetch experiences and we want to deliver a consistent experience across all devices/platforms for each client using thirdPartyId (if experience A was delivered, the next time it should deliver experience A)
The delivery api [https://developer.adobe.com/target/implement/delivery-api/ ] recommends to reuse the same sessionId for each thirdPartyId to get this behaviour.
const options = {
id: {
thirdPartyId: "VALUE"
},
execute: {
mboxes: [{
name: "cta-poc",
index: 1
}],
}
}
const response = await tClient.getOffers({request: options, sessionId: "2d81866d2d594121ab64fcb9318aa393"});
However, we have found that if we use the same value for the tntId and thirdPartyId. Adobe Target delivers the same consistent experience across all devices.
const options = {
id: {
tntId: "SAMEVALUE",
thirdPartyId: "SAMEVALUE"
},
execute: {
mboxes: [{
name: "cta-poc",
index: 1
}],
}
}
const response = await tClient.getOffers({request: options});
I suppose this is not the best practice but could someone help us about this last approach? are there any downsides?
Thanks,
Ricardo