Hello, I’m trying to integrate crisp.chat (most people have recommended it) but i have now made it so only users who are logged in can view the chat pop up. However, how to i make it so crisp.chat can get access to the user’s email and automatically put that in to the crisp.chat user profile? i have been trying to follow a few tutorials on the forum but no luck… im a beginner when it comes to HTML code/APIs
Thankful for any help!
After 4 hours i found a simple solution and i will try to document it as good as i can for my self in the future and for my follow bubble users that will run it to this!
Install the plugin
- Create a workflow
When page is loaded →
Run Java Script(Can be found under plugins → Run Java Script)
$crisp.push(["set", "user:email", ["Current User's email"]]);
Check that crisp.chat is receiving the data by creating an account and open the chat window, if crisp does not ask for an email when you send your first message you know it’s all set up correctly. You can also check that the emaill will be updated automatically on the crisp dashboard.