Skip to main content
The Intercom Cometly integration sends new lead contacts (with email addresses) from Intercom to Cometly and maps them to the event of your choice. An event is an action Cometly records for a contact, such as a lead or a purchase. This matters because chat leads often start with an ad click. Once the lead is in Cometly, you can see which ad or channel brought that person to your site, next to the leads from your forms and CRM.

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

  1. In Cometly, click Integrations in the sidebar.
  2. Find the Intercom card (category Chat) and click Connect.
  3. Click Sign in with Intercom and approve the connection.
When the connection succeeds, the page shows Intercom connected. You can click Re-sync Intercom at any time if you need to connect again.

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.
  1. On the Intercom integration page in Cometly, click Copy snippet to clipboard.
  2. 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:
  1. 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.
  2. 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.
Choose the setup that fits your workflow best to keep your tracking clear and accurate.

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

Still have questions or need a hand? We’re happy to help. Reach our team at support@cometly.com.