Answered

On my current web project, we want to point the product tour to a button that is invisible by default.

  • 19 October 2022
  • 1 reply
  • 67 views

So the goal is to show the button, show the product tour, and after the Product Tour is over, we want to reset the button to the default state. What's the best way to archive this? Currently, we have an event that triggers the Product Tour. Is it possible to check, using the API, if the user received that event, so we can back the button to the default state, or should I control this internally?

icon

Best answer by Daniel M15 21 October 2022, 18:06

View original

1 reply

Userlevel 2

Hey @jeann​! Daniel from Customer Support Engineering here 🔧 

 

I think the best way to do this would be to edit the HTML of the button to make it visible to the tour. You can do this by adding the special attribute "data-intercom-target="..."", and then reselecting the element while building the tour (it should be highlighted now!). You can read more about how to do this here.

 

Hope this helps 😁

Reply