Expand my Community achievements bar.

AJO Offer Personalization using Web SDK

Avatar

Level 1

Hi Team, 

 

I am currently trying to provide user based offer on the webpage using AJO. 
When I try to implement this using Custom Code to retrieve the scope details and replace the HTML in the webpage it's working as expected. 

However when I try to eliminate the use of Custom Code and implement it using the Web SDK Extension Events and Actions it's not working expected. 

  • I have created a Rule which will send Event to Web SDK with the Scope Details.
  • A follow up Rule with Send Event Complete as Rule Event and Apply Propositions as Rule Action.

When I follow these steps I see a warning in the console where it says that it requires Scope Details for Propositions Display.

Srihari_N_0-1733235148825.png

Any help with this would be great! 

 

Thanks,

Srihari

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

3 Replies

Avatar

Level 8

@Srihari_N considering error, the reason should be, missing scope where proposition would be evaluated, for example segment 

 

Avatar

Community Advisor

Hi @Srihari_N  - Can you check for the payload in the network tab and see if all the required details, especially the scope is present there?

Avatar

Level 1

Hi @arpan-garg, Yes the scope details has been added to Send Event Request and the required Decisions are being retrieved but the personalization is not rendered on the page. The error screenshot that I have shared above is from the Apply Propositions where it says it is expecting Scope Details in the retrieved Response Body.