Skip to main content
How to set up a custom form

How to set up a custom form to transfer contacts from your website to Ecomail.

Kateřina Irová avatar
Written by Kateřina Irová
Updated over a week ago

Custom form linking using HTML/POST method

You can use this option if you have an HTML form on your website from which you want to forward data directly to your e-mailing service.

Follow these steps:

Open Contacts → (select the list where the contacts should be saved) → Signup forms. At the bottom of the section, you will find a unique address. This is the address where the data from your form can be sent:

The highlighted URL is placed in the HTML form, in the "action" parameter.

Example:

<form method="post" action="insert URL from Ecomail here">

...

form content

...

</form>

a. Setting basic fields

For the data from your form to transfer correctly, the field names must match the name of the merge tag in Ecomail. For a complete list of basic fields in the application, see the article.

In the form where you are collecting email and name, the field names must be "email" and "name".

For example, the field settings might look like this:

<input type="email" name="email">
<input type="text" name="name">

c. Custom source for contacts added via a custom form

You can add information about the actual source of the contact, which will be displayed in the contact detail, to the end of the URL in the "action" parameter following the query:

?source=customsource

For example:

If you have any further questions regarding merge tags in Ecomail, you can contact us at support@ecomail.app

Did this answer your question?