Přejít k obsahu  Přejít k hlavnímu menu

Blog / Knowledge base

Updated: 9. October 2020

Transfer of data from Mailocator to ESP

Sometimes it is useful to provide additional information from Mailocator, usually state, gender, favorite categories, discount code or name and surname. How to do it?

Field names

In order for data other than email to be transmitted correctly, you need to know the field names in your email marketing tool (Maileon etc.)

You can usually find the fields in the contact list, where there are default system fields (surname, first name...) and then also fields that you can create yourself (custom fields).

Log in to your tool.
Open the contact list and view the list of fields.
If you want to add custom fields, add them and name them.




Go to Mailocator and open your pop-up in Designer

In the object selection, select the form elements and drag the object to the desired location.
Now all you have to do is assign an exact name to the object from the ESP's contact list, either in Designer or directly by editing HTML.


   

System fields - assignment

Insert in Designer

Open the form tab.
Select the required field.
In the field settings, select the default field labeled SYS.





Insert directly into the HTML source

System fields always have a mandatory prefix sys_
If the system field is named FIRST_NAME, enter it as the name sys_FIRST_NAME

<input type="text" name="sys_FIRST_NAME" value="" />



User-created fields - assignment

Insert in Designer

Open the form tab.
Select the required field.
In the field settings, select a custom field with annotation OPT.




Insert directly into the HTML source

User-created fields always have a mandatory prefix opt_
If the custom field is named promocode, enter it as the name opt_promocode

<input type="hidden" name="opt_promocode" value="123" />

RELATED

Switching between integrations within the same project

If you need to route some campaigns to the CRM, others to an email tool, and store the results from surveys in an independent database, this solution is also easy to set up.

Automated values, adding values to hidden inputs

Merging of arbitrary fields and automatic filling of selected fields with a series of system values

Launch a campaign when you hover or touch a specific location on the page

Mark a location that triggers a campaign when the user hovers over it or touches it on a touch device

Mailocator Events

With events, you can intelligently manage the sequence of campaigns across the entire workflow scenario and display much more relevant and precisely targeted content in real time.

Notification

Set up the display of notifications on your site using Mailocator