Find the embedded widget code

To find the widget code on your website:

  • Step 1: Copy the script
  • Step 2: View the website's source
  • Step 3: Search for the script
  • Step 4: Verify if the script matches

Step 1: Copy the script

Copy a piece of the script to your clipboard.

  • If you use messaging, find the script under Admin Center > Channels > Messaging > select your widget name > Installation. Click the Copy to clipboard icon.
    Web Widget messaging installation script
  • If you use the Web Widget (Classic), find the script under Admin Center > Channels > Web Widget > select your widget name > Installation. Click the Copy to clipboard icon.
    Web Widget (Classic) installation script

Step 2: View the website's source

To view the source of a website varies by browser, but generally, add view-source: to the front of your URL.
View source URL sample

For detailed instructions from different browsers, see the guides for Google Chrome, Firefox, and Microsoft Edge.

Step 3: Search for the script

Search the source code for the piece of script you copied earlier. If you can't locate it, put a different snippet of the code on the clipboard and try again.

Step 4: Verify if the script matches

For optimal results, verify that the code in the website matches the code in your Zendesk interface from step one. To ensure the scripts match, remove the entirety of the widget code and add it again to the website.

If you can't find the script, it's possible that someone on your team removed it or implemented the widget through a custom process that Zendesk doesn't support.

See:

  • Add Web Widget (Classic) to your website or help center
  • Add the Zendesk Chat widget to your website
Powered by Zendesk