Context: In this step, we set up the hidden fields one by one to receive the lead source data captured by Leadsources.
To set up a field, select it.
On the Field Settings – Textbox panel on the left, make the following modifications for each of ther 7 fields, as follow:
Hidden field #1
Label = Channel
Default Value = [channel]
Show This Field –> Select Never
Hidden field #2
Label = Source
Default Value = [source]
Show This Field –> Select Never
Hidden field #3
Label = Campaign
Default Value = [campaign]
Show This Field –> Select Never
Hidden field #4
Label = Term
Default Value = [term]
Show This Field –> Select Never
Hidden field #5
Label = Content
Default Value = [content]
Show This Field –> Select Never
Hidden field #6
Label = Landing page
Default Value = [landingpage]
Show This Field –> Select Never
Hidden field #7
Label = Landing page subfolder
Default Value = [landingpagesubfolder]
Show This Field –> Select Never
Click Save.
You are all set!
Leadsources will capture and store the leads data in these 7 hidden fields. This data will be visible from the Cognito Forms submissions page, alongside the form’s responses (name, email, etc.).