Expand my Community achievements bar.

Applications for the 2024 Adobe Target Community Mentorship Program are open! Click to the right to learn more about participating as either an Aspirant, to professionally level up with a new Certification, or as a Mentor, to share your Adobe Target expertise and inspire through your leadership! Submit your application today.
SOLVED

Recommendations not showing content

Avatar

Level 2

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 Accepted Solution

Avatar

Correct answer by
Level 1

Hi sabahatu1546489 and Frank Breen!

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

Delivery:

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.

Ingestion:

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!

Chris

View solution in original post

7 Replies

Avatar

Level 5

Hi,

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...

/Løjmann

Avatar

Level 3

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

Avatar

Level 2

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.

Avatar

Community Advisor

Hi @Løjmann @frank-breen if I used Top Purchased criteria do I still need to implement entity mbox on the pages ?
Currently on my test website entity.id is not implemented. So for my recommendation activity , I have used top purchased criteria  still I get NO_CONTENT in the response.

Avatar

Level 3

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

  }

  }

}

Avatar

Correct answer by
Level 1

Hi sabahatu1546489 and Frank Breen!

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

Delivery:

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.

Ingestion:

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!

Chris

Avatar

Level 3

I am very new to Adobe target tool and facing the same issue.

Could you please explain in more details with an example or steps to resolve the issue as I am not able to understand the terms ingestion and etc.