How it works
DPC finds product cards through their tracking data attributes. It sends click events with the result ID from each card. Search cards usedata-search-result-id. Listing cards use data-product-listing-result-id.
Recommendation cards use data-recommendation-id.
For cards you render yourself, check impression tracking separately. A click
attribute alone does not confirm that visibility events are sent. Follow
Product card impressions
to send and verify these events.
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.
Implementation path
- Follow the tracking guide to install the DPC library on your store.
- Verify card impressions and clicks in the tracking guide.
- View recommendations performance on the Depict Portal.

