On my current web project, we want to point the product tour to a button that is invisible by default. | Community
Skip to main content
Answered

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

  • October 19, 2022
  • 1 reply
  • 164 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?

Best answer by Daniel M15

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 😁

1 reply

Daniel M15
Employee
  • Employee
  • Answer
  • October 21, 2022

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 😁