Offer Decisioning : Post Decision received how one can display the content ? | Community
Skip to main content
AtulChavan
Community Advisor
Community Advisor
March 17, 2021
Question

Offer Decisioning : Post Decision received how one can display the content ?

  • March 17, 2021
  • 1 reply
  • 1218 views

Hi Experts,
I got a website & I simply want to show an offer content [basically just a simple text msg] on it.
AEP side I got offer & activity in well shape which I can execute via postman api call for certain profile. Everything just works fine.

Challenge is on Launch side when event is getting sent while offer evaluation on home page, my decision received event gets trigger but I have no clue how can I retrieve offer contents via custom code. ?

I found one , but its for web image & for web image it doesn't work unfortunately.

event.decisions.forEach(function(payload) {
payload.items.forEach(function(item) {
console.log(">>>>> Offer Decisioning Web SDK Response", item);
document.getElementById("brandhero").src=item.data.deliveryURL;
});
});

I have no clue if my offer extraction is working well. NO way to verify/debug.

 



  

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

brekrut
Adobe Employee
Adobe Employee
January 10, 2024

Hello

 

Have you created an offer which is json (text only based)?  Have you attempted to use the assurance module of Data Collections to see what is being rendered in the decision scope?

Level 3
November 21, 2024

@brekrut  "Decisions Received" is deprecated now, which event type i should select now ?