5 Replies Latest reply on Oct 31, 2017 4:46 PM by Chris Gantz

    Recommendations not showing content

    Frank Breen Level 1

      I created a CSV feed and have a entity.id, entity.name, entity.message  for each item along with adding my entity.pageUrl (setting this to the absolute URL of my pages), I created a Design and set my Criteria. I then created a Recommendation activity and set it up with a Design, Criteria and Collection, all is displaying as expected in Edit mode, but when I launch it, no recommendations show and if I use mboxTrace, I get the following message at the bottom of the output:

        "response" : {
          "node" : "re1.prod26",
          "status" : {
            "code" : "NO_CONTENT",
            "details" : ""

      It seems like my URL's in my CSV file are not matching the URL's being stored by Adobe, my questions are:

      How do I check what URL Adobe is storing via my mbox (I'm using at.js v0.9.3)?
      Do I need some type of customisation to record my URL for each page via my mbox?

        • 1. Re: Recommendations not showing content
          Løjmann Level 3


          Recommendation need some data, before it can show any recommendations. If you just have setup a test-site where there has been no transactions and no data sent to recommendation, then you won't get anything back from it...


          • 2. Re: Recommendations not showing content
            sabahatu1546489 Level 1

            Hey frank, were you able to find solution? did it start working on its own after some time as suggested by Lojmann or you implemented any change

            • 3. Re: Recommendations not showing content
              Frank Breen Level 1

              I didn't have a entityID on my page, once I added that everything started working. The documentation I read didn’t clearly highlight this, it was my assumption that providing a Feed was enough, on this page under Attributes, it says:


              Attributes can be provided in the mbox or through a feed.


              I thought that I didn’t need the mbox part as I’m providing it via feed, I realise now as a minimum I need the mboxCreate and set a unique entityID for each page, then I can use my Feed to add additional Attributes for use in the Recommendation engine.

              • 4. Re: Recommendations not showing content
                sabahatu1546489 Level 1

                Thanks for your response.


                Is the entityID same as the productID which we need to fetch from DOM and pass in the following function? Also does it mean the productID needs to be available on all those pages where we intent to display recommendation.



                function targetPageParams() {

                  return {

                  "entity": {

                  "id": "32323",

                  "categoryId": "My Category",

                  "value": 105.56,

                  "inventory": 329




                • 5. Re: Recommendations not showing content
                  Chris Gantz Level 1

                  Hi sabahatu1546489 and Frank Breen!


                  It's helpful to think about this in terms of 'recommendation delivery' and 'entity ingestion':




                  Many types of recommendation criteria require a "key" off which to base the items to be recommended. For example in a "people who viewed this viewed these" criterion, 'this' is the key. Your page needs to tell us, in the mbox request, the key. In this example, the key is the item being viewed, specifically it is the unique identifier for that item, the entity.id. Once Target knows what the visitor is viewing, we can return the items to recommend.


                  Please note that not all criteria are key-based. For example "Recently Viewed" and "Top Sellers" do not require a key, and thus will work fine without passing entity.id.




                  Entities (we use this term instead of 'products' because we can recommend other things like articles, videos, etc.) can be ingested into Target via feeds, mbox calls, api calls, or any combination of these. The "entity.id" is an identifier that uniquely identifies the entity, so in your case sabahatu1546489 it is likely your productID. Mbox calls are primarily used for delivery, however a lot of customers find it convenient to piggyback off mboxes and pass in the full set of entity attributes on their mbox calls. However, if you pass in your full product catalog via feeds, you only need to pass a key in your mbox request and then only if you are using a key-based criterion.


                  I hope this helps!



                  1 person found this helpful