identify users email

Hello, I’m trying to integrate (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 can get access to the user’s email and automatically put that in to the 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! :slight_smile:

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!

Step 1
Install the plugin Tool Box
Screenshot 2023-02-23 at 18.55.50

Step 2

  1. Create a workflow
  2. When page is loadedRun Java Script(Can be found under plugins → Run Java Script)
  3. Paste $crisp.push(["set", "user:email", ["Current User's email"]]);
    Screenshot 2023-02-23 at 18.58.43

Step 3
Check that 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.
Screenshot 2023-02-23 at 19.01.09