Mbox param not loading with WebSDK implementation
Hi,
I am trying to access mbox parameter in profile script, for WebSDK implementation. Below is the code-
For triggering mbox in Target activity-
alloy("sendEvent", {
xdm: {
eventType: "decisioning.propositionDisplay",
_experience: {
decisioning: {
propositions: [{
scope: "test"
}]
}
}
},
data: {
action: "testing",
data: "recipe1"
}
});
In profile script-
if(mbox.name === 'test'){
return mbox.param('action') + mbox.param('data');
}
But I am not getting any value. I have enabled the response token as well. If anyone knows how to send adobe target mbox params in WebSDK, please let me know.
Thanks in advance!