How I can achieve Form Submission URL on Notification Alert Email

Ibrahim_Burhani
Level 3

How I can achieve Form Submission URL on Notification Alert Email

Hi there,

I am trying to achieve form submission URL on my notification alert email, I have tried adding code on my Marketo form embed code, but still, I am unable to achieve this. can anyone help?

Here is snippet code I have added to achieve it, created the custom field as LastFormURL and type choose as String, also tried with creating FormURL as type URL, and added the field in the form as hidden field, and adding the token on my form notification email, but still I don't see the URL from which page a user submitted the form, please help me resolve this issue.

function(form)
{
form.addHiddenFields({ LastFormURL : document.location.href })
});

Here is the snippet code I added in my Marketo embed form.

Regards,

Ibrahim

1 REPLY 1
Ibrahim_Burhani
Level 3

Re: How I can achieve Form Submission URL on Notification Alert Email

I found the solution by adding a webpage trigger, thanks anyway