1. How it works
If you are using Tight’s embeddable user interface, you can easily leverage Tight’s Intercom integration to enhance the data showing in your user’s Intercom profile. Actions that your users take inside Tight’s embeddable user interface will be tracked using Intercom events. You can leverage those events to send your users meaningful lifecycle messages. For example, if your user has tracked self-employed income, you might automate a reminder that they owe quarterly tax estimates. Additionally, if you provide chat support, then chat icons in the embeddable user interface will route to your Intercom support instance.2. Getting started
First, be sure to have created your own Intercom app. In your Intercom dashboard, click on your avatar -> Settings -> Installation -> Web -> Install chat for logged-in users -> With code. You will see some sample JavaScript, from which you will want to copy theapp_id value.
Next, you will want to implement Tight’s embeddable user interface.
Finally, when making the Hurdlr.init({...}) call described in the above link, you will want to amend the data parameters to include an object:
YOUR_INTERCOM_APP_ID with the value of the app_id attribute that you copied in the first step.
3. Identifying users (optional)
If you are identifying your user with Intercom using something different than the userId that you use to register your users with the Tight API, then you will need to amend theintercom object passed into your call of Hurdlr.init({...}) to set the userId property to said identifier.
4. Adding metadata (optional)
You can use the Tight SDK to set user properties beyond Intercom’s defaults, which will then be included in each subsequent event. Set themetadata field in the intercom object to whatever properties you’d like to track. For example: