Full Referrer URL from Website Page to Marketo LP Form Submit
Hello,
I am looking at a way to capture the full referrer URL from the website page a person was on before they landed on our Marketo landing page and submitted the form. Most of the use cases I've been reading on the community have been for form embed on the website page, but that isn't our use case. We have a few product pages on our website that link to a Marketo LP, where we want to capture which product page they were on before submitting the form on a Marketo LP. Would like to include that full URL in an alert email to sales to help better understand which product pages they came from.
I am looking to understand if this is something we can do on the Marketo side or if it would be on the website side.
Looking to get a step-by-step on what would be necessary to achieve this behavior. Hidden fields? Updates to the LP templates? JS?
Thanks!