How to Use Random (0-100) Cookie Hidden Fields (Ultimate account)

Hidden fields are not displayed on the published form and they are never filled in by your respondents. These are powerful marketing instruments that help you tune and customize the workflow of your form. One form can have multiple hidden fields of different types.

See all types of AidaForm Hidden field here

A Random (0-100) Cookie hidden field allows you to:

Set a cookie to the visitors of AidaForm forms and landing pages. This makes it possible to conduct simple A/B tests to compare the performance of different pages of the same multi-page form in order to find out which page works better for your business. See Example.

The cookie’s value is a random integer number between 0 and 100. Set cookies expire in 30 days. The cookies are specific to the form’s subdomain and path. If you change either of them, the user cookie will be renewed.

To set the Random (0-100) Cookie hidden field:

  1. Add the Hidden form element to any part of your created form.
    Tip: it’s more convenient to deal with it when it’s located at the very beginning or very end of the form.
  2. By default, the field displays the Query Parameter type. Click the field’s type area and choose Random (0-100) Cookie.
  3. Enter your cookie name. The name must consist of Latin alphanumeric characters. The name is case sensitive.
  4. Your Random (0-100) Cookie field is set!

Example: You would like to find out which order form will work better for you: with or without an advance payment. The best way to find an answer to the question is to conduct an A/B test when 50% of your customers see an order form with an advance payment option, and another 50% will see the same order cart, but without the necessity to pay in advance.

With the help of AidaForm Random (0-100) Cookie hidden fields you may conduct such A/B tests without using any additional tools.

  1. Create a 3-page order form using Page Break fields.
    Page 1 contains your product image and description.
    Page 2 contains an order cart with an advance payment option.
    Page 3 contains an order cart without an advance payment option.

  2. Set the Random (0-100) Cookie hidden field using the instructions above. Set your Random (0-100) Cookie name to be TestCarts (any other name will also work, for example, test or TestPayment, just keep it meaningful).

  3. Set the following Logic Jumps conditions for the Page Break on the Page1:
    When TestCarts is less than 50
    Then Go to Page 2
    Else Go to Page 3

  4. Make your form public. Copy and use the form’s URL to collect orders. Compare results.

When your customer opens your order form, he or she automatically gets a cookie installed. Upon clicking the Continue button on Page 1, the customer next sees the page that meets Logic Jump’s requirements depending on his or her cookie value.

As the cookie value is a random integer, the numbers from 1 to 100 are evenly distributed among visitors and this guarantees that the number of customers with cookies less or equal to 50 is approximately the same as the number of customers with cookies higher than 50.

Request a Form for Free