Skip to main content
cjdst273
Level 4
December 13, 2016
Question

How do I track the URL for a Web form submission?

  • December 13, 2016
  • 2 replies
  • 3932 views

We have a "Request Information" Marketo form on all product pages on our website. I'd like to know when a user submits the form what product page he/she submitted the form on. How do I track that?

I thought it was by using a hidden Lead Source field on the form and getting the value from the URL parameter, but what would the Parameter Name be? The website URLs do not have parameters defined.

Thanks for the help!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Devraj_Grewal
Level 10
December 13, 2016

You can use the filter or trigger "Filled/Fills out form" and there is an available constraint of "Web Page:". The drop down list will include all web pages where that form is embedded.

SanfordWhiteman
Level 10
December 13, 2016

Better to use the constraint of Referrer, since it will allow for matching on the entire URI.

SanfordWhiteman
Level 10
December 13, 2016

You are correct, the hostname and pathname of the URL aren't directly mappable to hidden fields in Form Editor. But it's very easy to do the same using the tiny bit of code I posted here: https://nation.marketo.com/message/79664#comment-79664