Before your visitors can start chatting with you, you’ll need to add the Chat widget to your site by embedding the Chat widget script in the HTML source code of one or more pages.
To add the Chat widget to a web page
- From the dashboard, select Settings > Widget, then click the Getting Started tab.
- Copy the embed script, as shown in the example below:
- In the source code of the web page, paste the embed script between the page's head
tags.
You can paste it either right after the opening <head> tag or right before the closing </head>.
If you are concerned about page load performance, we recommend placing the snippet at the end of the <body> rather than the <head>. Even though the snippet script is very lightweight, it’s best to avoid inserting scripts that will block the browser from continuing to render a web page until that script has loaded. Just keep in mind that any scripts that use the Web Widget zE JavaScript API must be placed after the snippet script.
- Save and publish the page.
The widget should be visible after reloading the page in a browser.