How do I disable Intercom on different parts of my single-page app? | Community
Skip to main content
Answered

How do I disable Intercom on different parts of my single-page app?

  • December 14, 2020
  • 5 replies
  • 1189 views

We use Intercom for our SPA. Can I disable Intercom on pages when navigating through the SPA. Intercom pops up on our signup page on mobile phones and completely blocks the signup flow :-/

Best answer by Alexandra P

Hey @marcus b11​ 

 

You can add a conditional statement for mobile on the signup page and hide the Messenger with

 

Intercom('update', {"

 hide_default_launcher": true

});

 

More information here

5 replies

  • Active User
  • Answer
  • December 14, 2020

Hey @marcus b11​ 

 

You can add a conditional statement for mobile on the signup page and hide the Messenger with

 

Intercom('update', {"

 hide_default_launcher": true

});

 

More information here


  • Author
  • New Participant
  • December 16, 2020

Thank you. It seems to work just fine. The Intercom circle icon is hidden when using this.

 

However, we have a default message popping up at a timed delay. So if that is opened, even if the Intercom circle icon is hidden, the message pops up anyways.

 

Cheers,

Marcus


Roy
Top Expert ✨
Forum|alt.badge.img+5
  • Top Expert ✨
  • December 17, 2020

@marcus b11​ , Hi Marcus, Then you should go to outbound messages -> Find that message and define the display rules.

rules


  • Author
  • New Participant
  • December 17, 2020

Excellent, seems to work. Just me who didn't explore these options well enough. Many thanks to both of you!


Roy
Top Expert ✨
Forum|alt.badge.img+5
  • Top Expert ✨
  • December 17, 2020

@marcus b11​ , Always happy to help 🙌