How to install Intercom messenger on your website
Installing Intercom's messenger on your website requires copying the installation code from your Intercom dashboard and pasting it into your website's HTML before the closing body tag. The messenger will appear automatically once the code is properly installed and verified.
Prerequisites
- Active Intercom account
- Website admin access
- Basic HTML knowledge
- Ability to edit website code
Step-by-Step Instructions
Access your Intercom workspace
Generate installation code
<script>
window.intercomSettings = {
api_base: "https://widget.intercom.io",
app_id: "your_app_id"
};
</script>Access your website's HTML
Paste the installation code
</body> tag in your HTML and paste the Intercom installation code just before it. The placement should look like:<script>
window.intercomSettings = {
api_base: "https://widget.intercom.io",
app_id: "your_app_id"
};
</script>
</body>Save and publish changes
Verify installation
Test the messenger
Configure messenger settings
Common Issues & Troubleshooting
Messenger not appearing on website
Check that the installation code is placed correctly before the </body> tag and that there are no JavaScript errors in the browser console. Clear your cache and try again.
Installation verification fails
Ensure your website is publicly accessible and not password-protected. The verification tool needs to access your site to detect the Intercom code. Wait a few minutes and try verification again.
Messenger appears but doesn't function
Check for JavaScript conflicts with other scripts on your website. Ensure your app_id in the installation code matches exactly with the one shown in your Intercom dashboard.
Multiple messenger widgets appearing
Remove any duplicate installation codes from your website. Search your HTML for multiple instances of 'intercom' and ensure the code only appears once before the closing </body> tag.