Hide the email field creating random emails in the backend

The email address field is mandatory in order to record the customer’s details.

If for some reason you don’t want to show this field, you can use the following code which will create random emails in the backend and still record the customer’s info:

  1. Add a form element to your checkout page

  2. Make sure the field has the data type as Email Address.

2024-12-05 at 17.16

  1. Hide the email address field by deactivating ALL the responsive properties:

  1. Open Custom Codes

  1. Paste the following code under BODY HTML and save the changes:
<script>
document.querySelector('input[name="email"]').value = Math.random()+'.'+(new Date().getTime())+'@mydomain.com'
</script>

By doing this it will create random emails and you will be able to tell your customers apart.

:bulb: In order for the code to load properly you will need to assign your custom domain to your funnel, if using the testing subdomain (for example demo.myfunnelish.com) it won’t work.

1 Like