Skip to main content
Use these methods to send product and category views, searches, cart changes, wishlist additions, and purchases to Kameleoon.
This module is available when subscribed to the Product Recommendation module or Product Targeting add-on.

trackAddToCart

The trackAddToCart() method triggers when a visitor adds a product to the shopping cart.
Arguments

Parameters for the recommendation platform

trackAddToWishList

The trackAddToWishList() method executes when a visitor adds or removes a product from the wish list or favorites.

trackCategoryView

The trackCategoryView() method executes for each category page view during a session.
Arguments

trackProductView

The trackProductView() method executes for each product view during a session. This method allows Kameleoon to build an automated product catalog without an XML feed integration, which simplifies the setup of product recommendation projects.
Arguments

trackSearchQuery

The trackSearchQuery() method records user search queries.
Arguments

trackTransaction

The trackTransaction() method executes when a transaction or purchase occurs.
Arguments

Additional parameters for trackTransaction