How can I add current URL to "Email on Form Submission?"

The \URL: on the form is now just returning the word “path”. Is there additional code I need to add under the sendFormData function to get the actual URL?