Skip to main content
All CollectionsForms
Passing Query Parameter and Cookie Values With Hidden Fields In List Builder
Passing Query Parameter and Cookie Values With Hidden Fields In List Builder
Cassandra Campbell avatar
Written by Cassandra Campbell
Updated over a week ago

Hidden Fields in Sumo

In addition to the built-in, visible fields within List Builder, Sumo allows you to create hidden fields. Hidden fields are simply fields that are not visible on your form. You can use these to pass either static values that you choose, or pre-defined hidden value variables that Sumo provides.

You can find more information about our pre-defined hidden value variables within List Builder here.

You can create hidden fields by following the steps below:

    • Navigate to the List Builder app within your Sumo dashboard and Edit your desired form.

1.png

    • Make sure you are in the Design tab of your form.

2.png

    • Click the Add New option, then select Hidden Field.

3.png

    • Enter the Variable Name and Variable Value of your choice (don't forget to click Save).

4.png

Passing Query Parameter and Cookie Values With Hidden Fields

In addition to the pre-defined hidden value variables within the dropdown menu in the Hidden Fields section of List Builder, you can also use our cookie and query parameter variables in order to dynamically pass query parameter and cookie values.

In order to pass the value of a query parameter, simply create a variable value starting with the word, query, followed by an underscore then the name of the query parameter.

For example, if you wanted to pass the utm_campaign value, sumo, within the url, http://www.mysite.com?utm_campaign=sumo, you would create the variable value below:

query.png

In order to pass the value of a cookie, simply create a variable value starting with the word, cookie, followed by an underscore then the name of the cookie.

For example, if you wanted to pass the value of a cookie named existingSubscriber, you would create the variable value below:

cookie.png

Did this answer your question?

Last updated on April 22, 2022

Toggle Search

CATEGORIES

© AppSumo 2024. Powered by Help Scout - Log Out

Did this answer your question?