How it works
When you connect Intercom, Cometly creates two attributes in your Intercom account: Cometly tracking token and Cometly Space ID. When a new lead that has an email address is created, it is sent to Cometly automatically. Cometly uses the tracking token to tie the lead back to the visitor’s original journey.Before you start
- Install the Cometly pixel (the tracking script for your website) on every page where the Intercom widget loads. The snippet in step 2 reads the visitor’s tracking token from the pixel. See Install the Cometly pixel.
Step 1: Connect your Intercom account
- In Cometly, click Integrations in the sidebar.
- Find the Intercom card (category Chat) and click Connect.
- Click Sign in with Intercom and approve the connection.
Step 2: Add the tracking snippet to your website
The snippet updates the Cometly tracking token and Cometly Space ID attributes in Intercom when a new lead chats in through the widget.- On the Intercom integration page in Cometly, click Copy snippet to clipboard.
- Paste the snippet right before the closing
</body>tag on every page where the Intercom widget loads.
Step 3: Map Intercom leads to a Cometly event
On the Intercom integration page, under Map Intercom events to Cometly, choose the Cometly event that new Intercom leads should be recorded as, then click Save.Choosing the event to map to
When you send Lead events to Cometly from Intercom and from other platforms, consider the following:- If Intercom leads are already in your CRM
- If your CRM (for example, HubSpot) already sends Intercom leads as part of its Lead events, create a separate event in Cometly, such as Chat Lead, for Intercom.
- This way you see both Lead (from your CRM) and Chat Lead (from Intercom) on the contact’s timeline, without duplicates.
- If leads are sent from several sources
- If you send Lead events from different sources (for example forms, Intercom and your CRM), you can include Intercom leads in the general Lead event.
Check it worked
The Intercom integration page shows Intercom connected, and the event you chose is saved under Map Intercom events to Cometly. From now on, each new Intercom lead that has an email address is recorded in Cometly as that event and appears on the contact’s timeline.Frequently asked questions
Why is an Intercom lead not showing up in Cometly?
Cometly only receives a lead from Intercom when a new lead gets an email address. Leads without an email address are not sent. Also check that the connection still shows Intercom connected and that an event is saved in the mapping.Which Cometly event do Intercom leads map to by default?
New Intercom leads are mapped to the Lead event until you choose a different one. You can change it at any time under Map Intercom events to Cometly, then click Save.What happens if I skip the Intercom tracking snippet?
Intercom still sends new leads with an email address to Cometly. Without the snippet, though, the lead arrives without the Cometly tracking token, which is what Cometly uses to tie the lead back to the visitor’s original journey. Add the snippet on every page where the Intercom widget loads.Next steps
- Learn how events work in Cometly
- Create a custom event, such as Chat Lead
- Check your tracking health
- Browse all integrations