Launching Intercom guides from Candu content
Launch Intercom guides using Candu content and link users directly to the guide that they want.
There are two methods to integrate Intercom with Candu:
Using Open URL (no-code)
Using JavaScript Callbacks (requires code)
Open URL: How to connect Candu and Intercom guides
Within Intercom, select the “Use Tour Everywhere” option and copy the sharing URL. Learn more about how to do this with Intercom’s documentation.
In the Candu Editor, open the content to which you want to add the Intercom guide link.
Add a button or a card to the content by dragging one from the elements or containers section of the palette on the left side of the page.
Select the button or card. Click the dialog button in the lower right corner of the button or card, or select “Integrations” at the top of the toolbox on the right.
Select the Open URL option and choose whether you want it to open in a new tab or not.
Paste the sharing URL you copied from Intercom.
Test your integration by opening the content in "Preview" and clicking the button you just created. The Intercom guide should open as expected. If the guide does not open correctly, see troubleshooting tips below.
If the link is configured correctly, click Publish.
Callbacks: Launching an Intercom Chat or Tour with JavaScript
To launch a chat, you'll need to add Javascript to your Candu button. To learn more about setting this up, see our Callbacks documentation.
With this method, you’ll be able to access your node
and action
object within a callback, as well as the original event.
Within the Candu init
function, add the following:
callbacks: {
openIntercom: (e, node, action) => window.Intercom && window.Intercom('startTour', action && action.eventName),
},
Then, within Candu's Editor, you'll be able to assign an action and pass a parameter to components such as a button or card.
Troubleshooting Intercom Guides:
Double-check that you have retrieved the correct sharing link for the guide.
Make sure you’ve published the tour within Intercom.
As with all buttons in Candu, you can configure event tracking. This allows you to identify all users who have clicked the button and launched the guide. For more information about how to set up or use event tracking, see Analytics.