Solved! Go to Solution.
is there a way to capture the entire referring url, not just a parameter?
Sure, you can write the whole document.referrer (same place Marketo gets the data) into a hidden field.
form.addHiddenFields{ referrerURL: document.referrer }