I’m working with Intercom tooltips and want to show or hide them conditionally from my web UI.
I have a toggle button in my frontend that allows users to manually turn tooltips on or off. Based on this toggle, I want to control the visibility of Intercom tooltips.
What I’ve done so far:
-
In Intercom, I configured the tooltip rule as:
learn_mode == true -
On the frontend, when the toggle button is clicked, I call:
Intercom('update', { learn_mode: true }); // or false -
The goal is:
-
learn_mode = true→ show tooltips -
learn_mode = false→ hide tooltips
-
Issue:
The Intercom('update') call does not seem to trigger the tooltip. The tooltip does not appear or disappear as expected when toggling the button.
Question:
What could be the possible reasons why the Intercom('update') call is not triggering the tooltip, and what should I check to ensure the tooltip renders correctly based on the custom attribute?