Store Referrer URL in Custom Field


Store Referrer URL in Custom Field

We'd like an easy way to pass URL to a form hosted on WordPress and then the form stores the URL in a custom field. 


1) User clicks on a product page (or any web page), then clicks the "request info" button that takes them to a Marketo form  embedded on a WordPress page. 

2) Web/product page URL is dynamically stored in the form. 

3) User submits the form and the URL from the product page gets passed to our unique custom field (Form URL or URL of most Recent Form Fill) we created to capture the URL. 

4) Email alert uses the custom field so sales can see the referring url.