How can we fetch the product details info in template for popup/ slider?

Question: Shivkumar Dusad (Comsense Technologies Private Limited) 

We are trying to create a template, where on the second visit user receives a popup with info of last product viewed with CTA.

What would be the approach to get this done. How can we add product attributes in a run method in server side code .

Please can anyone update me server-side on this?



Saurabh Singh (Revolve Softech LLC)


In the marketing cloud, we can do that with Marketing Cloud Personalization. With this Popup web campaign, we can prevent cart or browse abandonment or capture email addresses. 

https://help.salesforce.com/s/articleView?id=sf.mc_pers_web_campaign_popup.htm&type=5

https://www.salesforce.com/resources/articles/create-effective-popup-message/

 

Hope this helps 

Thankyou

Saurabh


Mateusz Dąbrowski (PwC | mateuszdabrowski.pl)


I would approach it in @Interaction Studio SFMC Personalization by adding the lastViewedProduct custom user attribute and populating it on each view with the product ID with Sitemap. Then you could leverage it with Recipe (Include on product from user attribute) or using context.services.catalog.findItem() to pull full product details depending on what details you need and which approach you prefer.



Comments

Popular posts from this blog

What are the different Content Blocks in SFMC ?

What is the different email-sending options in SFMC with examples?

What are Profile Center and Subscription Center in SFMC