Show answerHide answer
Correct answer: A, C Collect CodeConversion/Cart Code
Explanation
Explanation:To enable Einstein to generate product recommendations on an external website (like a checkout page) and have those recommendations be intelligent (i.e., based on past behavior and current cart contents), two fundamental types of code snippets must be implemented. The Collect Tracking Code gathers behavioral data, and the Conversion/Cart Code specifically passes the critical information about what items the customer is currently considering or buying.
Correct Options:
A. Collect Code (or Collect Tracking Code):
This JavaScript code snippet is placed on every page of the website. Its primary function is to collect crucial user behavioral data, such as page views, searches, and clicks. This historical data feeds the Einstein algorithms, allowing them to learn user preferences and make relevant, personalized recommendations.
C. Conversion/Cart Code (or Conversion Tracking Code):
This specific code must be added to the shopping cart and checkout pages. It captures the critical events of adding items to the cart, removing them, and completing a purchase. Crucially, it passes the current Cart ID and Item IDs to Einstein, which is essential for the system to generate contextually relevant recommendations (like "similar items") while the customer is checking out.
Incorrect Options:
B. Recommendation Code:
While the "Recommendation Code" is necessary to display the recommendation (the dynamic content block), it is not one of the two tracking codes needed on the website to feed the data to the Einstein engine. It is the output component, not the input data collection component.
D. Email Conversion Code:
This code is typically used to track conversions that originated specifically from a Marketing Cloud email link. It is focused on post-click email attribution, not the real-time collection of general website behavioral data or current cart contents necessary for generating recommendations on the checkout page itself
Reference:
Salesforce Help Documentation on Einstein Recommendations Implementation (Collect and Conversion Tracking Codes)