Passing user’s email as query string to a form
-
Hello, I am trying to pass WordPress User’s email to a HubSpot form I created. I am new WordPress. I tried: “https://share.hsforms.com/myNewForm?email={user.user_email}”, however this does not pass user’s email, it passes “{user.user_email}” as a string. Is there any way to pass WordPress user’s email with this URL?
The blog I need help with is: (visible only to logged in users)
-
Your site https://share.hsforms.com/ is not hosted with WordPress.com but with an open-source WordPress.org. You can seek help from the WordPress.org forum here: https://wordpress.org/support/forums/.
You can learn about the difference between WordPress.com and WordPress.org here: https://wordpress.com/support/com-vs-org/.
Let me know if you have any further questions!
-
I have the site in WordPress.com and form is hosted in HubSpot. Trying to submit the form in my WordPress.com website.
-
Hello there,
Many thanks for reaching out.
Are you able to confirm the URL of the website that you need assistance with please?
- The topic ‘Passing user’s email as query string to a form’ is closed to new replies.