The Chatim widget allows you to integrate live chat and chatbot features directly into your website. Installing it takes just one step: copy a small JavaScript snippet and paste it into your site's HTML. The widget loads asynchronously and won't slow down your pages.
The Install page displays a ready-to-use code snippet with your project ID pre-filled. Click Copy Code to copy it to your clipboard.
The code looks like this:
<script>
window.chatim = window.chatim || {};
window.chatim.cmd = window.chatim.cmd || [];
window.chatim.settings = { projectId: "YOUR_PROJECT_ID" };
</script>
<script src="https://widget.chatim.app/widget.js" async></script>Add this code to every page where you want the chat widget to appear. For best results, place it just before the closing </body> tag:
<!-- Your page content -->
<!-- Chatim Widget -->
<script>
window.chatim = window.chatim || {};
window.chatim.cmd = window.chatim.cmd || [];
window.chatim.settings = { projectId: "YOUR_PROJECT_ID" };
</script>
<script src="https://widget.chatim.app/widget.js" async></script>
</body>
</html><script> block initializes Chatim settings with your project ID<script> loads the widget asynchronously (won't block page loading)theme.liquid filenext/script component with lazyOnload strategy</body>, not inside <head>If you see duplicate widgets, the code may be added more than once. Check theme files for duplicate entries, tag manager for duplicate tags, and plugin settings that may also inject the widget.
If you run into any issues, contact Chatim support team.
Get started