recommandations | Community
Skip to main content
Level 2
October 25, 2024
Question

recommandations

  • October 25, 2024
  • 2 replies
  • 1974 views

if visitor comes back to home page show recently viewed tour/package in a card and two promotion tour offers in footer slot using recommendation.

Conversion – click on recommendation cards.  

2 replies

kandersen-1
Community Advisor
Community Advisor
October 25, 2024

@manasako1  Can you elaborate on what your question is?

ManasaKo1Author
Level 2
October 25, 2024

Actually

if visitors are from HYD show 40 % on home page hero banner, if visitor is from BLR show 50% discount on hero banner.

Conversion is click on the promo banner

Once visitor search and land on search details page - if visitor source is HYD then show promo banner with 40% off, if source is BLR show 50% promo banner in head section

Conversion – Clicks on Promo banner

if visitor comes back to home page show recently viewed tour/package in a card and two promotion tour offers in footer slot using recommendation.

Conversion – click on recommendation cards.  
this is my task I completed previous two After that I created one recommandation Activity and choose home page after I had bus_tour collection I only created this one design,  feed, created but I did not get products recently viewed products in the new tab

 

ManasaKo1Author
Level 2
October 27, 2024

To have Target show product recommendations you need to use the getoffer and applyoffer functions instead of the trackEvent: https://experienceleague.adobe.com/en/docs/target-dev/developer/client-side/at-js-implementation/functions-overview/adobe-target-getoffer 


 adobe.target.getOffer({
                                    "mbox": "target-global-mbox",
                                    "params": {
                                       "entity.id": viewedProduct.id,  
                                        "entity.name": viewedProduct.description
                                       "entity.categoryId": viewedProduct.destination,  
                                         "entity.eventType": "view"
                                      },
                                    "success": function(offer) {
                                       adobe.target.applyOffer( {
                                       "mbox": "target-global-mbox",
                                        "offer": offer
                                       } );
                                    },
                                     "error": function(status, error) {
                                    console.log('Error', status, error);
                               }
                            });
I changed  my code as you said eventhough I didnot get my products
Vaibhav_Mathur
Community Advisor
Community Advisor
October 28, 2024

Hi @manasako1 , 

 

We have prepared a blog and a detailed documentation on how to configure Adobe Target recommendations. It also includes the detailed configuration steps of Recently viewed Recommendations which might help you in configuring it correctly. 

 

https://dexata.co/driving-business-growth-by-leveraging-power-of-recommendations/

 

Please have a look and let me know if it helps.

 

Thanks and Regards, 

Vaibhav Mathur

ManasaKo1Author
Level 2
October 28, 2024

as of now I used adobetarget trackevent now I changed to targetPagepParams because I was working on Recently viewed algorithm I added pageUrl in csv so it will take time to update csv so I will wait for tomorrow morning and then also If  I didnot get  I will ping you again

Thank you