One line of code, guides for 7 platforms
Add the chat to your website.
Copy your install code from mlivechat and paste it into your site once. Pick your platform below for the exact clicks.

The install code for your website
Sign in to mlivechat. On your Home page, under Add the chat to your website, click Copy code. Your code already has your organization ID in it, and looks like this.
To send these chats to one group, add window.__mlc.group with the group’s number.
<!-- mlivechat -->
<script>
window.__mlc = window.__mlc || {};
window.__mlc.organizationId = "YOUR_ORG_ID";
(function (d) {
var s = d.createElement("script");
s.async = true;
s.src = "https://cdn.mlive.chat/widget.js";
d.head.appendChild(s);
})(document);
</script>
Install guides for website builders
Check it works- Copy your install code from your mlivechat Home page.
- Open the HTML of every page, or the shared footer template your pages use.
- Paste the code just before
</body>and publish.
- In WordPress admin, go to Plugins › Add New and install a header-and-footer code plugin, such as WPCode.
- Open the plugin’s Footer box and paste the install code.
- Click Save. The chat shows on every page.
- In Shopify admin, go to Online Store › Themes.
- On your live theme, click ⋯ › Edit code and open layout/theme.liquid.
- Paste the install code just before
</body>and click Save.
Needs a paid Wix plan and a connected domain.
- In your Wix dashboard, go to Settings › Custom code and click + Add Custom Code.
- Paste the install code, choose All pages and place it in Body - end.
- Click Apply.
Code injection needs a Core plan or higher.
- Go to Website › Pages › Custom code › Code injection.
- Paste the install code into the Footer box.
- Click Save.
Custom code needs a paid site plan.
- Open Site settings › Custom code.
- Paste the install code into Footer code and click Save.
- Publish the site.
Already run Tag Manager on your site? Add the chat as one tag, with no change to your pages.
- In Tag Manager, open your website’s container and click Add a new tag.
- Under Tag Configuration, choose Custom HTML and paste the install code.
- Under Triggering, choose All Pages, then Save.
- Click Submit, then Publish.
Check that the chat works
Open your website in a new tab. The chat button shows in the bottom-right corner.
Send a message from it. It arrives in your mlivechat inbox, and the install step on your Home page ticks itself.
No button? Check that you published the change, then reload the page. Still nothing? Contact us and we’ll look at it with you.
