Hello Team,
I'm using the latest version of at.js 2.1.1 but facing issues with remote offers?
I've set up the test experience using forms-based composer and injecting the image content in the mbox location. mbox is hardcoded in the page like below.
<script>
if (typeof adobe === 'object' && typeof adobe.target === 'object')
{
adobe.target.getOffer({
"mbox": "mbox_name",
"success": function(offer) {
console.log("mbox_name_offer_name", offer);
adobe.target.applyOffer({
"mbox": "mbox_name",
"offer": offer
});
},
"error": function(status, error) {
console.log('Error - status', status);
console.log('Error - error', error);
}
});
}
</script>
Using Activity QA, I'm using the URL generated by Target for viewing the variations like
for Experience A
?at_preview_token=xxxxxxxxxxxxxxx8%xxx%xx%xx&at_preview_index=1_2&at_preview_listed_activities_only=true
for Experience B
?at_preview_token=xxxxxxxxxxxxxxx8%xxx%xx%xx&at_preview_index=1_1&at_preview_listed_activities_only=true
and checking in a browser like
https://xxxxxx.xxxx.co.uk/?at_preview_token=xxxxxxxxxxxxxxx8%xxx%xx%xx&at_preview_index=1_1&at_previ...
but not able to see any experience in the browser whereas, in the browser's network tab, I can see the correct JSON payload request for this mbox with content which of html type.
Any help really appreciated