Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

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

Avatar

Avatar
Validate 1
Level 1
AtulChavan
Level 1

Like

1 like

Total Posts

15 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Give Back
View profile

Avatar
Validate 1
Level 1
AtulChavan
Level 1

Like

1 like

Total Posts

15 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Give Back
View profile
AtulChavan
Level 1

17-03-2021

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.

 



  

Accepted Solutions (0)

Answers (0)