Category listings

To get access to this functionality you need to contact support.

With Hello Retail you can personalize the listings of the categories for a customer. The benefit is to promote categories which a customer as an affinity to.

Below you can see an example of a customer using the API to show the top 6 categories using the user bias:

When using the user bias you can get the personalized hierarchies (categories) out and use it to decide what to show. Below is a short example of the code that can be used to get the hierarchy. The list of hierarchies returned in the get_bias is ordered by weight, which describes what is most popular.

ADDWISH_PARTNER_NS.api.tracking.get_bias(function(result){
result.user.hierarchy.forEach(function(hierarchy){
// Format of data:
/*
{
value: "Shoes", // name of hierarchy
weight: 99 // Affinity towards the hierarchy
}
*/
});
});