Forum Academy Marketplace Showcase Pricing Features

Current User's Email in script/meta tags in header

Hi,

I am trying to integrate UserEngage by adding a script into the Script/Meta Tags in Header in bubble settings:

<script data-cfasync="false">window.civchat = {
apiKey: "My_API-Key",
name: "David T. Black",
email: "[email protected]"
};</script>
<script data-cfasync="false" src="https://widget.userengage.io/widget.js"></script>

It is working fine with this script. The only problem is that I am not able to capture the user’s name and email.

How do I get the Current User’s email in the script?

Please help!