Answered

Product tour only showing after page refresh

  • 6 September 2023
  • 2 replies
  • 106 views

Userlevel 2
Badge +1

Hi, a a product tour I built is only showing after page refresh. I added a “wait 3 seconds” rule to see if there needs to be a delay but that didn’t help. I’ve seen in another question that selecting an element “by text” may be a better option but I’m not seeing that option anywhere. 

icon

Best answer by Racheal 12 September 2023, 02:28

View original

2 replies

Userlevel 4
Badge +5

Hey @Sulamita Ivanov Racheal from the support engineer team here👋 

 

It sounds like your site may be a single page application, and we don’t know the URL page matches until that refresh happens. Websites that are a Single Page Application (SPA) are characterized by very few page refreshes and lots of asynchronous JavaScript require Intercom integration in a slightly altered way. This involves including the Intercom JavaScript library file in your HTML head element and making a few extra JS calls. Essentially you will need to make sure you implement the update call when the user changes URLs.  The linked documentation on integrating Intercom in a SPA will provide complete details.

 

Regarding the “by text” selector, this is actually for Tooltips and not Product Tours!

Userlevel 2
Badge +1

Thank you very much Racheal! 

Reply