Tagalys collects and analyzes all visitor actions on products (views/add to carts/ purchases) at your online store and the source of each action. Using this data, we have a very good understanding of why visitors click on products or what products are most likely going to sell.
We rank all products on a normalized scale for every search query or product listing page. When you call the Tagalys API, we sort the results by the highest probability of sale. This is how products are sorted by trending.