Product tour only showing after page refresh | Community
Skip to main content
Answered

Product tour only showing after page refresh

  • September 6, 2023
  • 2 replies
  • 319 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!

2 replies

Racheal
Intercom Team
Forum|alt.badge.img+5
  • Customer Support Engineer
  • 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
  • Author
  • Active User
  • September 12, 2023

Thank you very much Racheal!