We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using Intercom, you're able to set user data when registering the chat loader. For example:
window.Intercom('boot', { app_id: 'app_id_here', ...(user && { name: `${user.name.first} ${user.name.last}`, email: user.email, user_id: user.id, created_at: user.created_at, }),
Is there any way to do this with this loader currently?
The text was updated successfully, but these errors were encountered:
Hey @josiahwiebe 👋
You can achieve this by using window.intercomSettings (See docs here).
window.intercomSettings
Bear in mind that any window.intercomSettings Messenger Attributes won't be applied to react-live-chat-loader.
react-live-chat-loader
Hope that helps! Let me know if that's not quite what you're after.
Sorry, something went wrong.
Yep, I ended up using window.Intercom in a useEffect hook. Thanks for this great library!
window.Intercom
useEffect
Great, glad it worked out.
Tell your friends 👍
No branches or pull requests
Using Intercom, you're able to set user data when registering the chat loader. For example:
Is there any way to do this with this loader currently?
The text was updated successfully, but these errors were encountered: