Loading

Troubleshooting Einstein Recommendations Reporting in B2C Commerce

Publiseringsdato: Dec 4, 2025
Beskrivelse

B2C Commerce Einstein reporting depends on activity tracking to generate data. Two key reporting events, viewReco & clickReco, depend on customer scripting and template syntax. When either of these have been implemented improperly, no one in the email distribution list will receive reports because none have been generated.

 

Løsning

1. Use the Commerce Cloud Recommendation Validator Chrome extension to check for the following issues:

  • viewProduct is not firing
    • How to fix: Ensure you are using <isobject object="${product}" view="detail"> to your global Product Detail Page templates
  • viewReco is not firing
    • How to fix: Ensure you are using <isobject object="${product}" view="recommendation"> in your content slots
  • clickReco is not firing
    • Use Recommendation Validator to check for clickReco. If missing, go check the page with the recommendations that you clicked for viewReco
    • If viewReco is there, then make sure the product id matches the product id in the viewProduct activity on the page after you click. If this is not the case, that is the problem and you'll need to submit a support case for further diagnosis.
    • If there is no viewReco, that is the problem and you'll need to ensure the isobject tag is configured correctly 
  •  Incorrect price displaying because of master product price definitions
    • Fix template API so that it calls variation price definitions instead of master ids.
  •  viewCategory or viewSearch not firing
    • The tracking of viewSearch/viewCategory happens automatically if code follows the SiteGenesis examples to place an isobject tag when rendering each product tile.


2. Ensure anchors are properly populated to the context-object attribute.

  • On a Product Detail Page, the Product ID should display in the Recommendations tab of the Recommendation Validator in the anchors field.
    • Example PDP slot tag:

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

  • On a Category Page, the Category id should display in the Recommendations tab of the Recommendation Validator in the anchors field.
    • Example Category slot tag:

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

Knowledge-artikkelnummer

000391627

 
Laster
Salesforce Help | Article