Use our Depict Performance Client SDKs to track and monitor user behavior on your store.
recommendation_id
included in all recommendations in the DOM. They are returned in real-time with each Depict Recommendations request, enabling Depict to track impressions and clicks on producs to create real-time personalised results for each customer.
DPC continuously watches the DOM for elements with a data-recommendation-id
attribute and registers each element found. DPC then monitors changes to the position of elements with this custom attribute and sends an event to Depict when they become visible on the viewport. In addition, DPC also tracks click interactions on these elements and sends this information to Depict. This information allows Depict to monitor the performance of products on each page and to improve the product’s performance.
Similarly, DPC searches for elements with the depict-add-to-cart
class and tracks click interactions on these elements. This let Depict track whenever a product is added to the cart.