OptinMonster Documentation

Documentation, Reference Materials, and Tutorials for OptinMonster

Home

Docs

How to Add Hidden Fields in OptinMonster

How to Add Hidden Fields in OptinMonster

Using OptinMonster’s flexible Custom HTML integration option, you can easily add hidden fields to your optin form.

In this article, you’ll learn how to add hidden fields to your custom HTML form in OptinMonster.

Before You Start

Here are some things to know before you begin:

  • This guide assumes you’re already familiar with the Custom HTML integration option in the campaign builder.
  • The name and value attributes are always required for hidden fields.
  • Hidden input fields are identifiable by the type attribute, and do not appear visible to your visitors but allow you to pass additional details with your form.
    For example:
    <input type="hidden" name="Language" value="English">

Add Hidden Fields

The following is an example of a simple HTML form including two input fields to collect the name and email address and a hidden input field that specifies the language.

<form src="http://www.example.com/form.php" method="post">

    <input type="text" name="name" placeholder="Name" />

    <input type="email" name="email" placeholder="Email Address" />

    <input type="hidden" name="Language" value="English">

    <input type="submit" name="submit" value="Submit" />
	 
</form>

If you’re serious about jumpstarting your website business growth, then get started with OptinMonster today!

Get Started With OptinMonster Today!

BONUS: Done-For-You Campaign Setup ($297 value)

Our conversion experts will design 1 free campaign for you to get maximum results – absolutely FREE!

Click here to get started →

Troubleshooting

What kinds of information can I pass with hidden fields in my Custom HTML form?

This will depend on your specific Email Service Provider. If you’re unsure what data can be collected with your form we recommend contacting your Email Service Provider.


Still stuck?

How can we help?

Last updated on


Start Getting More
Leads & Sales Today
with OptinMonster!

Create and launch smart capture forms today in minutes. What are you waiting for?

Create and launch smart capture forms
today in minutes. What are you waiting for?

OptinMonster has transformed our business. Before integrating their optins, our clients saw a 2% conversion rate from web traffic, which is slightly above the standard for their industry. With the integration of OptinMonster’s lightbox popup, exit-intent technology, split testing, and other tools, our client’s conversion rates soared by an unprecedented 500%. They attracted substantially more customers while spending less on digital advertising. Their success propelled them to the top of their markets, outperforming national chains and other medical spas with much bigger marketing budgets. Our client’s success in their market has distinguished us in our own. We are now one of the most sought-after marketing firms in the industry of aesthetic medicine. We know that the integration of OptinMonster, more than any other tool or marketing strategy, has supported this growth and achievement.

chris zelig medstar media

Chris Zelig

Partner, Medstar Media

OptinMonster has been a game-changer for us. From driving donations to collecting new leads, there is nothing that this simple tool has failed to accomplish. Our lead collection rate has jumped by over 1,000%.

joe lowe american bird conservancy

Joe Lowe

Director of Digital Communications, American Bird Conservancy

Through OptinMonster’s exit-intent popups, we have more than doubled our sales conversion rate. Best of all is the compound effect of using OptinMonster over a long period of time—more conversions mean more customers, which means more word of mouth.

mitch smith, managing director, shockbyte

Mitch Smith

Managing Director, Shockbyte.com