Star us on GitHub
Star
Menu

Intercom Integration

Highlight makes it easy to send events to Intercom. If you have both Highlight and Intercom already configured, then you're all set. We've already set things up for you in the background.

If you want to disable this integration, you can set enabled: false for the integration in your client config:

H.init('<YOUR_PROJECT_ID>', { integrations: { intercom: { enabled: false, }, }, })
Copy
Messaging

Whenever a user sends you a message on Intercom, Highlight will add a custom user attribute called highlightSessionUrl to the user. This is the URL for the latest session created by that user. This is helpful to see what the user was doing that led up to the user sending a message.

API
trackEvent

Calling H.track will forward the data to Intercom's Intercom('trackEvent').

H.track('signup_button_clicked', { firstTime: true, impressions: 10, }) // The Highlight track call is equivalent to this Intercom call Intercom('trackEvent', 'signup_button_clicked', { firstTime: true, impressions: 10, })
Copy