Skip to main content
Answered

How can I launch Intercom from a React application depending on some conditions being met?

  • January 25, 2021
  • 1 reply
  • 11 views

The specific problem I am trying to solve is as follows:

 

I have an application log in page where I do not want the intercom widget to be present for any user. Then after that user has logged in, depending on their predefined role permissions, intercom should either presented or hidden.

 

Admin users should be able to see the intercom widget.

Customer users should not be able to see the intercom widget.

 

Any assistance to help resolve this would be greatly appreciated!

Best answer by Kevin Bendixen

@michael l11​ For the first. question, you could either try this option: https://www.intercom.com/help/en/articles/168-install-intercom-on-your-web-app-to-support-and-onboard-logged-in-users

or use the URL after logging in as a filter if it's different from the login pageBildschirmfoto 2021-01-26 um 14.45.53 

This here could also do the trick, I think you might be able to solve both problems with that:

Bildschirmfoto 2021-01-26 um 14.51.17

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

1 reply

Kevin Bendixen
Top Expert ✨
Forum|alt.badge.img+5
  • Top Expert
  • 269 replies
  • Answer
  • January 26, 2021

@michael l11​ For the first. question, you could either try this option: https://www.intercom.com/help/en/articles/168-install-intercom-on-your-web-app-to-support-and-onboard-logged-in-users

or use the URL after logging in as a filter if it's different from the login pageBildschirmfoto 2021-01-26 um 14.45.53 

This here could also do the trick, I think you might be able to solve both problems with that:

Bildschirmfoto 2021-01-26 um 14.51.17


Reply


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