Expand my Community achievements bar.

SOLVED

create html offer recommendations & Location & Personalization Scope in WEB SDK

Avatar

Level 8

Is it possible to implement recommendations using create html offer? 

I would like to write script to access specific node in the DOM and replace it with the recommendations. 

I see that using recommendations in the form-based activity you are not able to use script and you can use Location as a workaround:

Michael_Soprano_0-1726829787219.png

My implementation is using WEB SDK so maybe I need to use personalization scope and in that specific scope on a given url put recommendations 

Topics

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

1 Accepted Solution

Avatar

Correct answer by
Level 7

Hi @Michael_Soprano ,

While using location as a workaround is one option, another approach would be to utilize a custom design for the recommendations.

You can update the design code within recommendations to target a specific node in the DOM and replace it with the recommendations directly in the custom design.

I hope this helps.

Thanks and regards,
Vaibhav Mathur

View solution in original post

1 Reply

Avatar

Correct answer by
Level 7

Hi @Michael_Soprano ,

While using location as a workaround is one option, another approach would be to utilize a custom design for the recommendations.

You can update the design code within recommendations to target a specific node in the DOM and replace it with the recommendations directly in the custom design.

I hope this helps.

Thanks and regards,
Vaibhav Mathur