Variables by placement

In recommendation, the placement configuration determines the variables that are available to the recommendation algorithms. These variables allow the platform to deliver contextually relevant recommendations based on the user's behaviour and the page they are visiting.

Below is a list of the variables accessible for each type of placement:

Home Page

  • Last viewed products: Items the user has recently viewed.
  • Products in cart: Items currently in the user's cart.

Category Page

  • Last viewed products: Recently viewed items.
  • Products in cart: Items in the user's cart.
  • Category ID: The unique identifier of the category being viewed.

Product Page

  • Last viewed products: Recently viewed items.
  • Viewing product: The product currently being viewed.
  • Products in cart: Items in the user's cart.

Add to Cart Event

  • Last viewed products: Recently viewed items.
  • Products in cart: Items in the user's cart.
  • Product added to cart: The specific product added to the cart.

Cart Page

  • Last viewed products: Recently viewed items.
  • Products in cart: Items in the user's cart.

Was this article helpful?

/