---
schema_version: "1"
id: 4ce3e5f31f67d433e789be3d910972206604420e86362ef060a0b0c97fcb02ab
title: Preview and Insert Einstein Web Recommendations
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/mktg/264-0-0/mc_pb_preview_insert_einstein_web_recommendations.md
canonical_url: https://help.salesforce.com/s/articleView?id=mktg.mc_pb_preview_insert_einstein_web_recommendations.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 295db8d5553fd94aa2520027e70d4da2e46af95191cc3e4263c6376491f2cd96
description: Include the Einstein Web Recommendations code in the selected page’s code. Both the JavaScript code for the recommendation call and the HTML recommendation zone placeholder are provided.
products:
  - Marketing
  - Marketing Cloud Intelligence
release: "264"
---
# Preview and Insert Einstein Web Recommendations

Include the Einstein Web Recommendations code in the selected page’s code. Both the JavaScript code for the recommendation call and the HTML recommendation zone placeholder are provided.

1. Click the **Get Code** tab.
2. Copy the code.
    
    For more information and to learn how to customize the code, review [Get Code Details](https://help.salesforce.com/s/articleView?id=mktg.mc_pb_get_code_details.htm&release=264.0.0&type=5 "Find the JavaScript and HTML code required to render Einstein Recommendations on your page. Copy the code and embed it in your page source for each piece of code.") and [Customize the Calls](https://help.salesforce.com/s/articleView?id=mktg.mc_pb_customize_the_calls.htm&release=264.0.0&type=5 "Einstein Recommendations code accepts several different parameters. To initiate an API call, use HTTP or HTTPS to match the address prefix of the page on your site where the call is made.").
3. Place the code in the `<head>` or `<body>` section of your site.

- **[Get Code Procedures](https://help.salesforce.com/s/articleView?id=mktg.mc_pb_get_code_procedures.htm&release=264.0.0&type=5)**  
    Learn how to add the Einstein Web Recommendations code you create in Einstein Recommendations to your website.