Answered

Username and email info in Intercom widget not changing after Intercom('update'). React web implementation.

  • 20 May 2021
  • 2 replies
  • 176 views

We are implementing the Intercom widget on our website using react app.

 

Everything is kinda working fine, but we are facing with this weird state on the application:

We have a page for the user to change their name and email, and we want to show that new information on the widget.

We have a message that greet the user with "Hi {username}" and when the user change its name on our app, the message is still using the old name.

We are doing a `window.Intercom('update', { name: newName, email: newEmail })` and it reply with 200 OK and if I check the Intercom panel it has the "newName", but for some reason, it is still showing the old name on the widget.

 

Is there anything we can do?

icon

Best answer by Eric Fitz 25 June 2021, 13:26

View original

2 replies

Userlevel 1

Hey @user1186​, when you say "it is still showing the old name on the widget", can you share a screenshot of where this is apparent, please?

Userlevel 1

Hey @user1186​, just to let you know that we now have an official React Native SDK, which may help to solve your issue. You can find a guide to it here.

Reply