# I need to get current user email and pass to URL

**URL:** <https://sygnal-attr.discourse.group/t/i-need-to-get-current-user-email-and-pass-to-url/79>\
**Category:** Support\
**Created:** [June 26, 2023, 1:52pm UTC](https://sygnal-attr.discourse.group/t/i-need-to-get-current-user-email-and-pass-to-url/79 "2023-06-26T13:52:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lynda](https://avatars.discourse-cdn.com/v4/letter/l/c6cbf5/32.png) [@Lynda](https://sygnal-attr.discourse.group/u/Lynda)\
**Post date:** [June 26, 2023, 1:52pm UTC](https://sygnal-attr.discourse.group/t/i-need-to-get-current-user-email-and-pass-to-url/79/1 "2023-06-26T13:52:43Z")

</div>

I need HELP. I am supposed to go live in 4 days.  
LET me preface this entire posting: I am NOT an experienced JS programmer.

Situation: I have a membership Webflow app. When a user log’s in they are directed to a WP page that contains an HTML embedded element (JS). This script loads a URL that needs the email address of the current loggin user.

What I have Done:

1. I installed the Getting Started (LoCode) to the Site Settings - Footer Code of my app because it said that it would be applied before the tag
2. I added a text element to the WF page and configured it using the wfu-bind = $user.email just so I could make sure the user email was the same as being logged in. **This worked.**
3. I then configured my HTML embedded element several ways, but it currently stands as follows:

Results:  
Nothing! No Alerts, and a blank NewEmail being passed to the URL.

What am I doing wrong?  
Shared Link: [Webflow - My Diet Made Real](https://preview.webflow.com/preview/mydietmadereal?utm_medium=preview_link&utm_source=designer&utm_content=mydietmadereal&preview=c3b62bf3db6bc6baa8191e5e26f130c5&pageId=6479e8446a645a94400eaf2a&workflow=preview)  
Published Project: [https://mydietmadereal.webflow.io/](https://mydietmadereal.webflow.io/)  
Page: MDMRAccess/MDMR Auth

Please HELP.

Lynda

* * *

IMPORTANT  
If you want support, please make certain to include-

1. Your project’s read-only link.  
[https://university.webflow.com/article/sharing-your-sites-read-only-link](https://university.webflow.com/article/sharing-your-sites-read-only-link)
2. A link to your published project ( [webflow.io](http://webflow.io) is fine )
3. Details on exactly where to look on your site for the problem you’re describing

---

<div class="post-metadata">

**Author:** ![memetican](https://yyz2.discourse-cdn.com/free1/user_avatar/sygnal-attr.discourse.group/memetican/32/9_2.png) [@memetican](https://sygnal-attr.discourse.group/u/memetican)\
**Post date:** [June 28, 2023, 5:11am UTC](https://sygnal-attr.discourse.group/t/i-need-to-get-current-user-email-and-pass-to-url/79/2 "2023-06-28T05:11:04Z")

</div>

Hi Lynda,

You have an HTML embed in the middle of the page which has entirely invalid script in it.  
I can see it contains excerpts of the User Info setup scripts, but the script tags are broken and it’s in the wrong place. The User Info init code _must_ go in the before-/body section settings.

![image](https://global.discourse-cdn.com/free1/uploads/sygnal_attr/original/1X/fe670ec4d93e88cd77501cf64568e35b932651d3.png)

I can also see you are trying to create some kind of URL here, but it’s not clear what you want the URL to do.

`src="https://c1hcr495.caspio.com/dp/66ceb0007ffef5f9beff412fb14f/emb?Email=" + NewEmail>`
