Loading
Salesforce now sends email only from verified domains. Read More
Get Started with B2C Commerce
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Validator Responses in B2C Commerce Einstein

          Validator Responses in B2C Commerce Einstein

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

          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.

          Note
          Note If you use Einstein with Page Designer, make sure your code is up to date. See this GitHub Repository.

          Tip: Visit Salesforce B2C Commerce GitHub Repositories and Access for information about how to get access to the B2C Commerce repositories.

          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
          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}"/>

           
          Loading
          Salesforce Help | Article