Loading
Feature Disruption - Service Cloud VoiceRead More
Feature degradation | Gmail Email delivery failureRead More
Service
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
          Apply the Channel Menu Code Snippet

          Apply the Channel Menu Code Snippet

          Copy and paste the channel menu code snippet to add the button and menu to your website.

          Required Editions

          Important
          Important

          Channel Menu code snippets created before August 8, 2025 use legacy infrastructure that’s in maintenance mode and scheduled for retirement on July 1, 2026. If you’re using a code snippet generated before August 8, 2025, we recommend updating it to avoid future disruptions. Generate a new snippet from the Get Code section under the deployment settings for your existing Channel Menu deployment and update your webpage.

          View supported editions.
          User Permissions Needed
          To set up a channel menu: Customize Application AND Modify Metadata
          1. From Setup, enter Channel Menu in the Quick Find box and select Channel Menu.
          2. Click the name of the channel menu you want to edit.
          3. In the Channel Menu Code Snippet section, click Get Code. If you’re replacing a snippet generated before August 8, 2025, paste the new code over the existing Channel Menu snippet on your website.
          4. To activate the channel menu code snippet, copy and paste the snippet from the window to the HTML code for each web page you want the menu to appear on. Paste this code immediately before the closing body tag (</body>).
          5. Optionally, update the meta tag (<meta>) code snippet if it’s not already added to your web pages from Embedded Chat Setup. For mobile customers, the meta tag code snippet provides better usability.
          6. Click Done.
            Screenshot of code snippet to copy and paste in your website HTML code.
          7. If your channel menu includes Enhanced Web Chat, republish your deployment.
            1. From Setup, in the Quick Find box, enter Embedded Service and select Embedded Service Deployments.
            2. Click the down arrow to the right of your deployment, and select View.
            3. Click Publish.
          8. Verify that your code snippet is in your web page markup, refresh your web page, and confirm that the Channel Menu button appears. If you change your channel menu setup, the results can take up to 10 minutes to appear on your website due to caching.
          9. Test each channel in your menu to confirm that customers can successfully initiate conversations.
          Important
          Important If you’ve applied code settings to a website deployment, follow the last steps in Channel Menu Code Settings to add names to your code snippet. For Experience Cloud sites, add code setting names in the property editor and load on a specific page.
           
          Loading
          Salesforce Help | Article