Product lists

Aikey contain a lot of different lists that is not only based on our recommendation algorithms. The lists we will go through are as follows.


This page also contains information on.


Aikey.products.list({
  type: "popular",
  amount: 5
}, function(data){
  //callback function
});

Latest

Gets the latest products added to the Aikey product catalog. This can also be filtered further with properties to for example get the latest sneaker drops.

Aikey.products.list({
  type: "latest",
  amount: 5
}, function(data){
  //callback function
});

Recommendations

The recommendations list is a list compiled of products from our machine learning algorithms, it learns patterns in customer behaviours and gives recommendations based on that. Even with wery little data we can provide recommendations, but they will get more and more accurate the more data that is collected. You can also set a useAllSessions attribute in the object that will tell Aikey if it should base the recommendations on all previous and current session or only the current one.

Aikey.products.list({
  type: "recommendations",
  amount: 5,
  useAllSessions: false
}, function(data){
  //callback function
});

Similar Products

The similar products list takes similarities in the provided products through properties. This means you can place it on a product page where the user are looking at a black pair of jeans and this list will show other pairs of black jeans.

Aikey.products.list({  
  type: "similarProducts",   
  amount: 5,
  sku: "abc-123"
}, function(data){  
  //callback function
});

Shown by user

This can be used for a "Recently shown products" list visible on all your shopping pages so your user can keep a track of their browsing history. The products are added via the show event.

Aikey.products.list({
  type: "shownByUser",
  amount: 5
}, function(data){
  //callback function
});

Others also viewed

With this list takes a sku and then shows other products that users have visited. This can help users in their browsing through products to faster find alternatives.

Aikey.products.list({
  type: "othersAlsoViewed",
  sku: "abc-123",
  amount: 5
}, function(data){
  //callback function
});

Others also bought

With this list you can show products that other users bought together with this product. Making it great to display on a product page to provide good accessories or matching products.

Aikey.products.list({
  type: "othersAlsoBought",
  sku: "abc-123",
  amount: 5
}, function(data){
  //callback function
});

Cart

This list contains the products the user have added to their cart using the Aikey event Add to cart.

Aikey.products.list({
  type: "cart",
  amount: 5
}, function(data){
  //callback function
});

Response

the response from these lists will be avaible in the callback and will contain an object with all the products.

{  
  products: [    
    {      
      sku: "abc-123"      
      title: "Example Product",      
      price: {        
        currency: "EUR",         
        value: 80      
      },      
      properties: [        
        {          
          name: "Color",           
          value: "White"        
        }, {          
          name: "Gender",           
          value: "Men"        
        }],      
        link: "https://example.io/men/sneakers/product/",      
        imageLink: "https://example.io/media/product-image.jpg",      
        description: "Lorem ipsum dolor sit amet."    
    }  
  ]  
}

Property filtering

You can also filter down these lists using dynamic properties added to your properties, this way you can for example show the most popular sneakers in the color blue.

Aikey.products.list({
  type: "popular",
  amount: 5,
  properties: [
    {
      name: "Category",
      value: "Sneakers"
    },
    {
      name: "Color",
      value: "Blue"
    },
  ]
}, function(data){
  //callback function
});