Hello,
I am using the following algorithm to display the most viewed products ro teh customer as recommendations. However, I could not get any recommendations, so I am wondring what went wrong. For the contex, I am using the following JS code to push every viewed product to the mbox, but when I want to fetch recommendations, I got nothing. Any thought? Does the algo requires more time before generating the recommendations.
### JS Code ###
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
If you checked shortly after making the change, then that's the reason why it is empty. It takes a while for the criteria to populate. You can see timings here: https://experienceleague.adobe.com/en/docs/target/using/recommendations/recommendations-faq/recommen...
And on the Activity overview page it will also say 'results ready' under the criteria. See my screendump in this reply: https://experienceleaguecommunities.adobe.com/t5/adobe-target-questions/adobe-target-recommendation-...
Hi @SoufianeLa
Heres the things i would look into when validating things are correct configured:
1. confirm products are collected correctly, if you search for the products in the product catalogue are they then showing up as expected?
2. has the criteria feed generated, on the overview page for the activity look for the status below the criteria. Does it say results ready? If needed you can also click the 3 dot menu and download the data. This is a CSV file showing what products to recommend within each environment. Does it have products listed under the correct environment?
3. debug using mboxtrace, last but not least confirm what is being returned by Target on the page: https://experienceleaguecommunities.adobe.com/t5/adobe-target-questions/using-mboxtrace-to-debug-rec...
I hope this helps!
Hi @kandersen
The catalogue contains the correct products. Moreover, I downloaded the data as you showed me, and it seems there are some recommendations were generated.
What would be wrong?
@SoufianeLa next step would be to run TargetTrace and see what Target is doing on the page where you're expecting to see the recommendations. There's a video guide here: https://experienceleague.adobe.com/en/docs/target-learn/tutorials/troubleshooting/troubleshoot-with-... In the video he is walking through the old chrome debugger, but concept is the same in the new one.
Here's a step by step guide and details for use with Recommendation: https://experienceleague.adobe.com/en/docs/target/using/activities/troubleshoot-activities/content-t...
"Using mboxTrace on recommendations pages: Adding mboxTrace as a query parameter on pages with recommendations replaces the Recommendations design on the page with an mboxTrace details window, which displays in-depth information about your recommendations, including:
You do not need to include =console
, =json
, or =window
in the query parameter. When you are done with the mboxTrace details, add =disable
and press Enter to return to the normal display mode.
The normal functioning and appearance of your site is not affected by mboxTrace. Visitors see your regular Recommendations design."
Let me know how it goes and if you run into any problems.
Hey @SoufianeLa
Are you making any progress with the TargetTrace debugging?
I tried to download the data but there it showing
Hi @sriharshanaladala98 ,
You can only download it for Criterias that a not based on the individual user. So for the criteria, 'Recommended for you' you won't be able to download anything.
yeah i removed the user based i got download option and the csv files shows nothing if possible can you please find the image attached and help regarding this
If you checked shortly after making the change, then that's the reason why it is empty. It takes a while for the criteria to populate. You can see timings here: https://experienceleague.adobe.com/en/docs/target/using/recommendations/recommendations-faq/recommen...
And on the Activity overview page it will also say 'results ready' under the criteria. See my screendump in this reply: https://experienceleaguecommunities.adobe.com/t5/adobe-target-questions/adobe-target-recommendation-...
yeah i got results ready thing in activity
And you're still not seeing any data in the file?
I see you're running on localhost. Have you generated product views, so that Recommendation has behaviour it can base the criteria on? Otherwise it will stay empty.
no i dint know that can you please help in creating that actually iam newbie iam strugguling with recommendations. I even gone through documentation even now iam going through them to get understand what are the thing to needed to be in line to genarate recommendations
Can you create a new question thread, so we don't hijack this one. Create a new thread and tag me in it and I'll try and guide you.
Good call @kandersen!
i have 43 products in my feed and i have created a collection with them almost 2 to 3 weeks back
Views
Like
Replies
Views
Likes
Replies