Hidden Form Field to Capture Landing Page URL

Jeremy_Bosch2
Level 2

Hidden Form Field to Capture Landing Page URL

Hi Community, 

I am looking to build a hidden field in a form that will autopopulate the Landing Page URL upon being submitted. Multiple pages use the same form, so I'm hoping I can create a hidden field and have a token to create this.  Is this possible - or are there any other ways to do something similar to capture this data?
Tags (1)
1 REPLY 1
Dan_Stevens_
Level 10 - Champion Alumni

Re: Hidden Form Field to Capture Landing Page URL

Aside from using javascript to capture the value and populate the hidden field, you can create a "change data value" flow step within the smart campaign to insert the URL - which you can either define as a token within the program or hard-code the value in the attribute value field - upon form submission.