Validator Responses

When you navigate to a site that's using Commerce Cloud Einstein features, Validator instantly validates recommendation activities and sorting rules. The tool then provides particular responses, based on the activity it registers.

We recommend that you test your storefront with the Recommendation Validator to ensure expected operation. When Validator recognizes an event, an icon appears with the number of events it detected.

This table shows different events and when they typically occur.

Event When the event is expected to occur
viewProduct A shopper accesses a product detail page. This event enables recently viewed recommenders and recommenders that use the real-time personalization strategy.
Note: Make sure to add the isactivedatahead tag to the head tag.
viewReco A shopper views a page containing a recommendation.
clickReco A shopper clicks recommendation.
addToCart A shopper adds a product to a cart.
finishCheckout A shopper places an order.
viewCategory A shopper views a category grid page.
viewSearch A shopper views the search results page with results.
clickCategory A shopper clicks through from a category grid page to a product detail page.
clickSearch A shopper clicks through from a search results page to a product detail page.

You must ensure that anchors are properly populated with the context-object attribute.

Page Description Example
Product Details (PDP) Ensure that the product ID appears in the Integration Validator beside anchors on the Recommendations tab.

Example PDP slot tag:

<isslot id="pdp-you-may-like" description="PDP You May Like" context="global" context-object="${pdict.Product}"/>

Category Ensure that the category ID appears in the Integration Validator beside anchors on the Recommendations tab.

Example category slot tag:

<isslot id="recomm-category-anchor" description="Product page slot" context="global" context-object="${pdict.ProductSearchResult.category}"/>

X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.