This guide applies to all types of websites including HTML, PHP, static sites, and custom-built websites. Follow the steps below to add the LiveChat widget to your website.
https://www.poplivechat.com for production deploymentFind the HTML file(s) you want to add the chat widget to. Common files include:
Tip: If your website uses templates, add the code to the footer template so it appears on all pages automatically.
Open the HTML file in a text editor and scroll to the bottom. Look for the </body> tag - this is usually near the very end of the file.
The code should be placed just before the </body> tag.
The code below is sample code for demonstration purposes. The YOUR_COMPANY_ID shown is a placeholder.
To get your actual installation code with your Account ID, please log in to your LiveChat Dashboard
and navigate to the "Installation Code" section.
Copy the code below and paste it just before the </body> tag in your HTML file:
<!-- PopLiveChat Widget -->
<script>
window.LiveChatWidgetConfig = { companyId: 'YOUR_COMPANY_ID' };
</script>
<link rel="stylesheet" href="https://www.poplivechat.com/css/chat-widget.css">
<script src="https://www.poplivechat.com/js/chat-widget.js"></script>
<!-- End PopLiveChat Widget -->
⚠️ Important: This is sample code. Replace YOUR_COMPANY_ID with your actual Account ID.
Get your personalized installation code from your Dashboard → Installation Code page.
Save your HTML file and upload it to your web server (if using FTP or file manager).
Visit your website in a browser and look for the chat button in the bottom-right corner. Click it to test if the chat window opens correctly.
</body> tag, not after itChat widget not appearing?
</body> tagWidget appears but won't connect?
If you encounter any issues during installation, please contact our support team:
📧 Email: contact@items7.com
🏠 Access Dashboard |
All Installation Guides