Install Intercom for visitors and leads

Install the Intercom Messenger and engage logged-out visitors or leads.

Beth-Ann Sher avatar
Written by Beth-Ann Sher
Updated over a week ago

It only takes a few minutes to install the Messenger on your website. Once installed, you’ll be able to greet, chat with, and convert your visitors and leads to customers.

  • The Messenger is easily customized to suit your brand.

  • You choose who can see the Messenger, and how they can start conversations.

  • The Messenger connects directly to apps you use, like Google Meet, Statuspage, Stripe and 60 others.

You'll need an Intercom trial or subscription to install the Messenger.

Visitors/Leads vs. Users

Website visitors become leads when they communicate via the Messenger, whereas users are logged in to your website or app. The main difference is the amount of information you know about them. If you're installing Intercom for logged-in users, use this guide.


Install the JavaScript code

First, go to the the web settings and ensure that the web integration is enabled:

When this is disabled, all requests to Intercom will fail.

Next, copy the code snippet under Install chat for visitors on the same page. This snippet is pre-populated with your unique workspace ID, so it's ready to go:

How to use the code

Paste the code right before the closing body tag of every page where you want the Intercom Messenger to appear.

After adding the code, open your website and the Messenger will appear.

If you're using the zoom CSS on your webpage, make sure that Intercom's widgets are not receiving it.


Installing Intercom for a client

If you don't have access to the Intercom workspace, you can grab the JavaScript code here 👇 You will need to manually replace WORKSPACE_ID with the unique workspace ID for your Intercom account.

<script>
var APP_ID = "WORKSPACE_ID"; // Replace this with your workspace ID

window.intercomSettings = {
app_id: APP_ID
};
</script>
<script>(function(){var w=window;var ic=w.Intercom;if(typeof ic==="function"){ic('reattach_activator');ic('update',w.intercomSettings);}else{var d=document;var i=function(){i.c(arguments);};i.q=[];i.c=function(args){i.q.push(args);};w.Intercom=i;var l=function(){var s=d.createElement('script');s.type='text/javascript';s.async=true;s.src='https://widget.intercom.io/widget/' + APP_ID;var x=d.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x);};if(w.attachEvent){w.attachEvent('onload',l);}else{w.addEventListener('load',l,false);}}})();</script>

What’s next?


💡Tip

Need more help? Get support from our Community Forum
Find answers and get help from Intercom Support and Community Experts


Did this answer your question?