Skip to main content
Answered

Product tour only showing after page refresh

  • September 6, 2023
  • 2 replies
  • 255 views

Forum|alt.badge.img+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. 

Best answer by Racheal

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!

View original
Did this topic help you find an answer to your question?

2 replies

Racheal
Intercom Team
Forum|alt.badge.img+5
  • Customer Support Engineer
  • 512 replies
  • Answer
  • September 12, 2023

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!


Forum|alt.badge.img+1

Thank you very much Racheal! 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings