Collect visitors' names and emails
Ask website visitors for their name and email before they chat, or let the chatbot ask for an email when it has no answer.
On this page
Website visitors are anonymous until they tell you who they are. The chat widget has two ways to collect their details, and both save them to the contact.
Ask before the first message
- In the sidebar, under Grow, click Chat widget and open your widget.
- In the Look and wording card, tick Ask visitors for their name and email before the first message.
- Click Save widget.
This is ticked on a new widget.
A new visitor who opens the chat sees a short form with Your name and Email, and a Start chat button. Both fields are required. After that the message box appears. The form is shown once: the visitor's browser remembers them on later visits.
Untick the box to let visitors write straight away. Their contact is then created without a name.
Let the chatbot ask for an email
- On the widget's page, scroll to the Chatbot card.
- Fill in When the bot has no answer.
- Tick Ask for the visitor’s email when the bot has no answer, and save it to the contact.
- Click Save chatbot.
When the bot sends its fallback line to a visitor whose email you do not have, it adds: "If you’d like the answer by email too, type your email address here." If the visitor then sends an email address as a message, it is saved to their contact and the bot confirms it.
This is useful when you do not use the form, or as a second chance to get an email.
Where the details go
- Each visitor becomes a contact on the Contacts page the first time they send a message.
- The name and email are saved on that contact. If a contact already has a name or an email, a later answer from the same browser does not overwrite it.
- Widget contacts have no phone number and are not opted in, so they are not included in WhatsApp broadcasts or sequences.
Chatilo does not email your chat replies to the visitor. Use the saved address to write to them from your own email if they have left your site.
Common problems
Contacts from the widget have no name
The form is switched off, so visitors are not asked. Tick Ask visitors for their name and email before the first message.
A returning visitor was not asked again
That is expected. The widget remembers a visitor in their browser. They are asked again only if they use another browser or device, or clear their browser's saved data.
The bot never asks for an email
The email question only follows the fallback line. Check that When the bot has no answer is filled in and that the chatbot is switched on. It is also skipped when the contact already has an email.